12-3.3 Compiling method of BCC (Block Check Character)
In order to improve reliability of data transmission, horizontal parity is used for error inspection.
BCC is code applicable to horizontal parity check.
BCC sums up the exclusive-OR logic from header (%) to text final character. Compiling is carried
out after this 8 bits data is transformed to 2 characters of ASCII code.
In respect of exclusive-OR logic sum from header (%) of the received message to text final character,
verify the consistence of the data after transmission. If the conditions before and after the
transmission are different, it indicates some errors occur in communication.
[Example]
%
01
# RC
S
X 0000
Station No.
"1"
Read
contact
Single
contact
processing
Contact X
(input)
Contact
No.0
BCC
2 characters
%
1
1
#
R
C
S
X
0
0
0
0
H25
H30
H31
H23
H52
H43
H53
H58
H30
H30
H30
H30
HID
① Sum up exclusive-OR logic sum
②
Transformed to ASSCII
BCC (H) = 1(H31)
BCC (L) = D(H44)
157
1D cr