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