SW3.6 – CMD_STATUS

The status command returns the status of the addressed port.

Command:

Octet #Usage
0Command ID = 0x06
1Port ID 0x01 or 0x02

Return Success:

Octet #UsageComment
0Command ID = 0x06 
1Port ID 0x00 or 0x01 
2Process data IN valid0x00 = Not valid 0x01 = Valid
3Process data OUT valid
4Transmission rate0x00 = Detection Failure 0x01 = COM1 (4.8 kbps) 0x02 = COM2 (38.4 kbps) 0x03 = COM3 (230.4 kpbs)
5Process data IN length 
6Cycle time 
7Process data OUT length 
8..9Vendor ID16-bit value
10..13Device ID32-bit value
14Power0x00 = Power OFF 0x01 = Power ON