A SERVICE OF

logo

RS232C Control Spec Page: 5 / 16
SR9300/8300 Document Version [2.00]
3-2. Transmission data format
3-2-1. Transmission data format from Host to Slave
There are two kinds of transmission data form from Host shown below.
3-2-1-1. Form1: Command
Command is a data that requests some status change.
Start character : ’@’
ID : ‘0’ ~ ‘9’ (A Slave has own ID, A Host has to set the ID.)
COMMAND : see “Command list”
End character : 0Dh
End
0Dh
COMMANDStart
@
ID
3-2-1-2. Form2: Status request
Status request is a data that requests a answer of some status.
Start character : ’@’
ID : ‘0’ ~ ‘9’ (A Slave has own ID, A Host has to set the ID.)
Request character : ‘?’
Request status : see “Status request list”
End character : 0Dh
End
0Dh
Request status
Start
@
?
ID
3-2-2. Transmission data format from Slave to Host
There are two kinds of transmission data form from Slave shown below.
3-2-2-1. Form1: ACK/NAK
ACK is a reply data from Slave when Slave got an acceptable command data from Host.
ACK : 06h
NAK is a reply data from Slave when Slave got an incorrect Command data, Status request data or
some other data from Host.
NAK : 15h
3-2-2-2. Form2: Status answer
Status answers are reply data when Slave got an acceptable Request status data from Host.
Start character : ’@’
ID : ‘0’ ~ ‘9’ (A Slave will set own ID.)
Answer character : see “Status answer list”
End character : 0Dh
End
0Dh
Status answerStart
@
ID
ACK
06h
NAK
15h