D-52
FX Series PLC User's Manual - Data Communication Edition
Computer Link
6 Control Procedures and Setting Methods
6.4 Basic Formats of Dedicated Protocol
6. Sum check code
The sum check code indicates a two-digit ASCII code converted from the least significant byte (8-bit) of the
sum check target data added as hexadecimal data.
Using the FX PLC parameters, set whether or not the sum check code is added in the message.
- When "sum check code provided" is selected, the sum check code is added in the message during
sending. During receiving, the sum check code is compared with the value calculated from the received
data to check the received data.
- When "sum check code not provided" is selected, the sum check code is not added, so the received
data is not checked either. A calculation example of the sum check code is shown below.
Example: When the station number "0", PLC number "FF", command "BR (device memory batch read)",
message waiting time "30 ms" and data "ABCD" are transferred in format 1, the sum check code
value is as shown below:
Computer side
PLC side
05
H
46
H
46
H
30
H
30
H
33
H
E
N
Q
44
H
42
H
43
H
41
H
52
H
42
H
Station
No.
0 0
PLC
No.
F F
Com-
mand
B R
Mes-
sage
wait
time
3
Character area
A B C D
44
H
42
H
Sum
check
code
B D
02
H
46
H
46
H
30
H
30
H
S
T
X
0 0
F F
30 ms
(Message waiting time)
30
H
+30
H
+46
H
+46
H
+42
H
+52
H
+33
H
+41
H
+42
H
+43
H
+44
H
=2BD
H
. . .
Last two
digits
Total from "station number" to "character area"
Summary of Contents for FX-485ADP
Page 2: ......
Page 120: ...B 2 FX Series PLC User s Manual Data Communication Edition N N Network ...
Page 188: ...C 2 FX Series PLC User s Manual Data Communication Edition Parallel Link ...
Page 244: ...D 2 FX Series PLC User s Manual Data Communication Edition Computer Link ...
Page 344: ...E 2 FX Series PLC User s Manual Data Communication Edition Inverter Communication ...
Page 700: ...H 2 FX Series PLC User s Manual Data Communication Edition Programming Communication ...
Page 752: ...I 2 FX Series PLC User s Manual Data Communication Edition Remote Maintenance ...
Page 817: ......