Chapter 8 Communication Function
8-55
(2) SUM 1 , XOR 1 or MUL 1 setting.
a) SUM 1
The last transmitting frame
BCC Type setting
The kinds of
segment input
The value of sum check
ASCII Type Hex Type
ASCII Input 05 + 31 + 32 +33 +34 +04 = D3 05 31 32 33 34 04 44 33 05 31 32 33 34 04 D3
Hex Input 05 + 12 + 34 +04 = 4F 05 12 34 04 34 46 05 12 34 04 4F
b) XOR 1
The last transmitting frame
BCC Type setting
The kinds of
segment input
The value of sum check
ASCII Type Hex Type
ASCII Input 05 ^ 31 ^ 32 ^ 33 ^ 34 ^ 04 = 05 05 31 32 33 34 04 30 35 05 31 32 33 34 04 05
Hex Input 05 ^ 12 ^ 34 ^ 04 = 27 05 12 34 04 32 37 05 12 34 04 27
c) MUL 1
The last transmitting frame
BCC Type setting
The kinds of
segment input
The value of sum check
ASCII Type Hex Type
ASCII Input 05 x 31 x 32 x 33 x 34 x 04 = 60 05 31 32 33 34 04 36 30 05 31 32 33 34 04 60
Hex Input 05 x 12 x 34 x 04 = 20 05 12 34 04 32 30 05 12 34 04 20
d) Complement setting
Complement calculation as below
bit 7 bit 0
11010011
bit 7 bit 0
00101100
bit 7 bit 0
00101101
= h D3(sum check value)
1’ complement = h 2C(the last sum check value)
2’ complement = 1’ complement + 1 = h 2D(the last sum check value)