(3) How to calculate the block check code (BCC)
(Example) When using the 01 command (frequency-setting command) to set the inverter output
frequency to 5 Hz (the station No. of the inverter is 01):
Transmission fr
ame configuration
S
tation No.
The contents of "Station No." to "Data" are converted into ASCII data, and the ASCII data is XORed bit by
bit. The final XOR result is set as the block check code (BCC). In the above example of transmission
frame, BCC is calculated as follows:
(Refere
nc
e) ASCII code conversion ta e
Character data
ASCII code
S
TX
ACK
CR
NAK
0
1
2
3
4
5
6
7
8
9
Comman
d
Dat
a
bl
2
6
0D
15
30
31
32
33
34
35
36
37
38
39
Chapter 4 Explanation of Functions
Character data
ASCII code
A
41
B
42
C
43
D
44
E
45
F
46
H
48
P
50
b
62
4 - 131
ASCII code
05 (This result is used as BCC.)