3-4.
Command and Response Transfer Formats
Command Transfer Formats
STX
Commands
Response Transfer Formats
STX
Commands
Data string must be within 1024 bytes.
BCC is an exclusive logic sum from the command to ETX.
3-5.
Transfer Control Characters
The following shows the transmission control character codes and functions.
Character
STX
ETX
ACK
NAK
DLE
LF
ESC
BCC
BCC is an exclusive logic sum from the command to ETX.
Data String
ETX
Status
Data String
Code
02h
Text start symbol
03h
Text end symbol
06h
Normal response
15h
Resent request
10h
Reject response
0Ah
Line feed of printed line
1Bh
Start escape sequence
-
Block check character
6
BCC
ETX
BCC
Function