![Page: 5 / 16](/images/new-backgrounds/18045/180459x1.webp)
RS232C Control Spec | Page: 5 / 16 |
SR9300/8300 | Document Version [2.00] |
|
|
3-2. Transmission data format
There are two kinds of transmission data form from Host shown below.
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 |
S tart
‘@ ’
ID
C O M M A N D
E n d
0 D h
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 |
Start
‘@ ’
ID
R equest status | E n d | |
‘?’ |
| |
|
| 0 D h |
|
| |
|
|
|
There are two kinds of transmission data form from Slave shown below.
ACK is a reply data from Slave when Slave got an acceptable command data from Host.
ACK: 06h
A C K
0 6 h
NAK is a reply data from Slave when Slave got an incorrect Command data, Status request data or some other data from Host.
NAK
N A K 15h
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 |
Start
‘@’
ID
Status answer
End
0Dh