Command @AADO(Data)
Description Set Digital Output
Syntax @AADO(Data)[CHK](cr)
@ a delimiter character
AA address of setting module (00 to FF)
DO command for setting digital output.
(Data) digital output value
00 = DO1 off, DO0 off
01 = DO1 off, DO0 on
02 = DO1 on, DO0 off
03 = DO1 on, DO0 on
[CHK] 2 characters of Checksum
(cr) Character Return(0x0D) for denote the end of command
Response
Valid Command !AA[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)
[CHK] 2 characters of Checksum
(cr) Character Return(0x0D) for denote the end of response
Example
Command @01DO00
Response !01
Description Set address 01 digital output 00, return success.
Reference



Back to Previous Page