Command $AA4
Description Read synchronized digital input/output status
Syntax $AA4[CHK](cr)
$ a delimiter character
AA address of reading module (00 to FF)
4 command for reading synchronized digital input/output status
[CHK] 2 characters of Checksum
(cr) Character Return(0x0D) for denote the end of command
Response
Valid Command !S(Data)[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 status of synchronized data
1 = first read
0 = the data has been readed
(Data) synchronized digital input/output status
[CHK] 2 characters of Checksum
(cr) Character Return(0x0D) for denote the end of response
Example
Command $014
Response !10F0000
Description Read synchronized digital input/output status of address 01 channel status, response first read and synchronized data 0F00.
Reference #**



Back to Previous Page