User's Manual

5-3 Command-Response Format
5-3
5-27
5-3-8 Example BCC Calculation
BCC is the result of the horizontal parity calculation of the data right after STX up to ETX inclusive.
Refer to JIS5001 Transmission Path Character Configuration and Using Horizontal Parity for details.
Node No.
Command
code Text
BCC
STX 0 0 R D S T A
0
0 0 0 1 ETX 62
Command
data
ASCII code data
0 0011 0000
EOR
0 0011 0000
EOR
R 0101 0010
EOR
D 0100 0100
EOR
S 0101 0011
EOR
T 0101 0100
EOR
A 0100 0001
EOR
0 0011 0000
EOR
0 0011 0000
EOR
0 0011 0000
EOR
0 0011 0000
EOR
1 0011 0001
EOR
ETX 0000 0011
Calculation
results
0110 0010
Precautions on the communication-control software programming:
The BCC is a character representing the result of the horizontal parity check performed for data and ETX. The
BCC could be any code from 00h to FFh. (From 00h to 7Fh for 7-bit data). The communication control program
that runs on the host must be designed assuming the case where BCC is not defined as STX/ETX control
character or other characters.
* Some characters may not be available, depending on the program development environment or coding
method. Check the restrictions of the development environment of your choice.