Command |
@AADI |
Description |
Read Digital Output Status and Alarm 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 |
!AASOO00[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 |
00 |
2 '0' characters
|
[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 output and alarm status, return alarm disabled, digital output all off. |
|
Reference |
|
|