4-163
4-4 Communication Function
4
Functions
ï‚¢BCC (Block Check Code) Calculation Method
(Example) To set "5 Hz" using command 01 (frequency reference setting) (When the target station
No. is "01")
To determine BCC, the Inverter performs ASCII conversion from the station No. to data, and calcu-
lates a result of the exclusive OR (Xor) per byte.
For the above transmission frame, BCC is calculated as follows:
(Appendix) ASCII Code Conversion Table
Text data ASCII code Text data ASCII code
STX 2 A 41
ACK 6 B 42
CR 0D C 43
NAK 15 D 44
030 E45
131 F46
232 H48
333 P50
434 b62
535
636
737
8 38
939
Transmission Frame Structure
STX Station No. Command Data BCC CR
ASCII code
(0x 02)
01 (0x 30 31)
01 (0x 30 31)
000500 (0x 30 30 30 35 30 30)
05 (0x 30 35)
(0x 00)
30 31 30 31 30 30 30 35 30 30
Xor
Xor
Xor
Xor
Xor
Xor
Xor
Xor
Xor
01
31
00
30
00
30
05
35
05 ......This value is BCC.