Command |
@AA(Data) |
Description |
Set digital outputs |
Syntax |
@AA(Data)[CHK](cr)
@ |
a delimiter character |
AA |
address of setting module (00 to FF) |
(Data) |
digital output value |
Total Output Channels of Module |
(Data) |
less than 4 channels |
0 to F |
5 to 8 channels |
00 to FF |
9 to 16 channels |
0000 to FFFF |
17 to 32 channels |
00000000 to
FFFFFFFF |
|
[CHK] |
2 characters of Checksum |
(cr) |
Character Return(0x0D) for denote the end of command |
|
Response |
Valid Command |
>[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 |
@010000 |
Response |
> |
Description |
Set digital output to 0000 of address 01, response success. |
|
Reference |
@AA
#AABBDD
$AA6
|
|