Command @AADI
Description Read Alarm Status and Digital Output/Input Status
Syntax @AADI[CHK](cr)
@ a delimiter character
AA address of reading module (00 to FF)
DI command for reading digital output status and alarm status.
[CHK] 2 characters of Checksum
(cr) Character Return(0x0D) for denote the end of command
Response
Valid Command !AASOOII[CHK](cr)
Invalid Command ?AA[CHK](cr)
Syntax error or communication error may get no response.
! delimiter for valid command
? delimiter for invalid command.
AA address of response module (00 to FF)
S alarm enable status
0 = alarm disabled
1 = momentary alarm enabled
2 = latch alarm enabled
OO digital output status
00 = DO1 off, DO0 off
01 = DO1 off, DO0 on
02 = DO1 on, DO0 off
03 = DO1 on, DO0 on
II digital input status
00 = DI1 off, DI0 off
01 = DI1 off, DI0 on
02 = DI1 on, DI0 off
03 = DI1 on, DI0 on
[CHK] 2 characters of Checksum
(cr) Character Return(0x0D) for denote the end of response
Example
Command @01DI
Response !0100000
Description Read address 01 digital input/output and alarm status, return alarm disabled, digital input/output all off
Reference



Back to Previous Page