9 - 27
MELSEC-F
WHEN COMMUNICATING DATA USING THE MC PROTOCOL9
9 - 27
NOTE
C200 to C255 (Current Values) Batch Read
Since C200 to C255 are 32 bit devices, the device points should be specified as
twice as much as the points actually read.
Also, make sure that the device points are specified by an even number.
If they are specified by an odd number, the batch read cannot be performed. (Error
code 57
H will be stored)
Example) When 32 devices are read at one access from C220 to C251 in the PLC
on which the Ethernet module is mounted.
(1) When communicating in binary code
*
01
H
FF
H
L
0A
H
H
00
H
*
81
H
00
H
43
H
4E
H
DC
H
00
H
00
H
00
H
40
H
00
H
4E
H
61
H
BC
H
00
H
40
H
01
H
B9
H
02
H
12345678=00BC614E
H
45678912=02B90140
H
CN220
Low
16bit
High
16bit
Low
16bit
High
16bit
L - H L - H L - H L - H
L - - - - H
(Data name)
External
device side
(Example)
(Data name)
PLC side
(Example)
PC No.
Subheader
4 bytes x 32=128 bytes
Monitoring
timer
Head device
Number of
device points
Head data
Subheader
Last data
Complete code
32 points x 2 = 64 word