Explanation of Function
Seite 162 / 180
(5) About the calculation method of BCC (the Block Check Cord)
(Example) 5Hz is set up by using 01 commands (the setting of the frequency command). (when the
code of the inverter of the object is ‘01' )
BCC is the result that transforms the Code
^
Data into ASCII Code and took an EXCUSIVE OR (Xor)
every 1byte. In the case of the above transmission frame, BCC calculates it as follows.
3 0
3 1
3 0
3 1
3 0
3 0
3 0
3 5 3 0 3 0
Appendix
ASCII code transformation table
STX
Code Command
Data
BCC
CR
0x 02
0 1
0 1
0x 30 30 30 35 30 30
0
0 1
3 1
0 0
3 0
0 0
3 0
0 5 ------ BCC number
ASCII Code
0x 30 31
0 0 0 5 0 0
0x 30 31
0x 30 35
0x 0D
Xo
Xo
Xo
Xo
Xo
Xo
Xo
0 5
Xo
3 5
Xo
Constitution of the transmission
Character data
ASCII code
STX 0
2
CR 0
D
0 3
0
1 3
1
2 3
2
3 3
3
4 3
4
5 3
5
6 3
6
7 3
7
Character data
ASCII code
A 4
1
B 4
2
C 4
3
D 4
4
E 4
5
F 4
6