I-7021/22/24, M-7022/24/28 User Manual, Rev: B2.3
147
2.48 @AADI
Description:
Reads the digital input and digital output status of a
module.
Syntax:
@AADI[CHKSUM](CR)
@
Delimiter character
AA
Address of the module to be read (00 to FF)
DI
Command to read the digital input and digital
output status
Response:
Valid command :
!AA0OOII [CHKSUM](CR)
Invalid command:
?AA[CHKSUM](CR)
!
Delimiter character for a valid command
?
Delimiter character for an invalid command
AA
Address of the responding module (00 to FF)
OO
A two-digit hexadecimal value, where bit 0
corresponds to DO0, bit 1 corresponds to DO1,
etc. When the bit is 1, it denotes that the digital
output port is on, and 0 denotes that the digital
output port is off. It is 00 for I-7024R/M-7024R.
II
A two-digit hexadecimal value, where bit 0
corresponds to DI0, bit 1 corresponds to DI1, etc.
When the bit is 1, it denotes that the digital input
port is on, and 0 denotes that the digital input
port is off
I-7024R
M-7024R, M-7024U
Summary of Contents for M-7024
Page 9: ...I 7021 22 24 M 7022 24 28 User Manual Rev B2 3 9 1 2 Terminal Assignment 7021 7021P 7022 ...
Page 10: ...I 7021 22 24 M 7022 24 28 User Manual Rev B2 3 10 7024 7024L 7024R ...
Page 11: ...I 7021 22 24 M 7022 24 28 User Manual Rev B2 3 11 7024U 7028 ...
Page 46: ...I 7021 22 24 M 7022 24 28 User Manual Rev B2 3 46 1 13 3 Wall Mounting ...