6. Protocol
Command symbols definitions are as below:
STX 02H
CR 0DH
ACK 41H
NACK 4EH
m 1 byte parameter
n 1 byte parameter
<Data…> contents of data
6-A. Get device firmware version
DEVICE to HOST (11 bytes)
You can get device information and status by this command.
XXXX: Firmware Number
V: Version
Y: Revision
For example: STX-“ROM0722A7”-CR
6-B. Get service code
DEVICE to HOST (12 bytes)
You can get the unique service code by this command.
XXXX: service code
For example: STX-“0000000000”-CR
6-C. Get input status
You can get the 2 input data with this command.
X: INPUT1 status (0: Low/1:High)
Y: INPUT2 status (0: Low/1:High)
For example: STX-“11”-CR. that means input 1&2 all high.