Command #AABBDD
Description Digital output for Bit value or port value
Syntax #AABBDD[CHK](cr)
# a delimiter character
AA address of output module (00 to FF)
BBDD output command and parameter
BB Description
00 or OA Output DD(00 to FF) to channel 0 to 7
0B Output DD(00 to FF) to channel 8 to 15
0C Output DD(00 to FF) to channel 16 to 23
0D Output DD(00 to FF) to channel 24 to 31
10 or A0 Set(DD=01) or Reset(DD=00) to channel 0
11 or A1 Set(DD=01) or Reset(DD=00) to channel 1
12 or A2 Set(DD=01) or Reset(DD=00) to channel 2
13 or A3 Set(DD=01) or Reset(DD=00) to channel 3
14 or A4 Set(DD=01) or Reset(DD=00) to channel 4
15 or A5 Set(DD=01) or Reset(DD=00) to channel 5
16 or A6 Set(DD=01) or Reset(DD=00) to channel 6
17 or A7 Set(DD=01) or Reset(DD=00) to channel 7
B0 Set(DD=01) or Reset(DD=00) to channel 8
B1 Set(DD=01) or Reset(DD=00) to channel 9
B2 Set(DD=01) or Reset(DD=00) to channel 10
B3 Set(DD=01) or Reset(DD=00) to channel 11
B4 Set(DD=01) or Reset(DD=00) to channel 12
B5 Set(DD=01) or Reset(DD=00) to channel 13
B6 Set(DD=01) or Reset(DD=00) to channel 14
B7 Set(DD=01) or Reset(DD=00) to channel 15
C0 Set(DD=01) or Reset(DD=00) to channel 16
C1 Set(DD=01) or Reset(DD=00) to channel 17
C2 Set(DD=01) or Reset(DD=00) to channel 18
C3 Set(DD=01) or Reset(DD=00) to channel 19
C4 Set(DD=01) or Reset(DD=00) to channel 20
C5 Set(DD=01) or Reset(DD=00) to channel 21
C6 Set(DD=01) or Reset(DD=00) to channel 22
C7 Set(DD=01) or Reset(DD=00) to channel 23
D0 Set(DD=01) or Reset(DD=00) to channel 24
D1 Set(DD=01) or Reset(DD=00) to channel 25
D2 Set(DD=01) or Reset(DD=00) to channel 26
D3 Set(DD=01) or Reset(DD=00) to channel 27
D4 Set(DD=01) or Reset(DD=00) to channel 28
D5 Set(DD=01) or Reset(DD=00) to channel 29
D6 Set(DD=01) or Reset(DD=00) to channel 30
D7 Set(DD=01) or Reset(DD=00) to channel 31
[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)
Ignored Command ![CHK](cr)
Syntax error or communication error may get no response.
> delimiter for valid command
? delimiter for invalid command.
! delimiter for ignore the output command. The module's host watchdog timeout flag is set, and the output is set to SafeValue.
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 #0100FF or #010AFF
Response >
Description Output port 0 (bit 0 ~ bit 7)value to FF, return success.
Command #01A701
Response >
Description Output port 0 bit 7 value to 1, return success
Command #01C400
Response >
Description Output port 2 bit 4 value to 0, return success
Reference ???



Back to Previous Page