iol-hat:sw:3_binary-protocol:3.6_cmd-status
3.6 CMD_STATUS
The status command returns the status of the corresponding port.
Command:
| Octet # | Usage |
|---|---|
| 0 | Command ID = 0x06 |
| 1 | Port index 0x00 or 0x01 |
Return Success:
| Octet # | Usage | Comment |
|---|---|---|
| 0 | Command ID = 0x06 | |
| 1 | Port index 0x00 or 0x01 | |
| 2 | Process data IN valid | 0x00 = Not valid 0x01 = Valid |
| 3 | Process data OUT valid | |
| 4 | Transmission rate | 0x00 = Detection Failure 0x01 = COM1 (4.8 kbps) 0x02 = COM2 (38.4 kbps) 0x03 = COM3 (230.4 kbps) |
| 5 | Process data IN length | |
| 6 | Cycle time | |
| 7 | Process data OUT length | |
| 8..9 | Vendor ID | 16-bit value |
| 10..13 | Device ID | 32-bit value |
| 14 | Power | 0x00 = Power OFF 0x01 = Power ON |
iol-hat/sw/3_binary-protocol/3.6_cmd-status.txt · Last modified: by anla
