Sets the logic state of an output connector, turning it ON or OFF.
Request
0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 |
---|
ID | 20 | O | L | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Request Structure
Byte | Value | Size | Type | Description |
---|
0 | ID | 1 | BIN | MBx24 address (ID) |
1 | 20 | 1 | BIN | Set Output instruction code |
2 | O | 1 | BIN | Output number (1-32) |
3 | L | 1 | BIN | Logic state (1-0) |
Response
0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 |
---|
ID | 20 | V | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Response Structure
Byte | Value | Size | Type | Description |
---|
0 | ID | 1 | BIN | MBx24 address (ID) |
1 | 20 | 1 | BIN | Set Output instruction code |
2 | V | 1 | BIN | 1 for successful, 0 otherwise |