9 - 25

MELSEC-F
WHEN COMMUNICATING DATA USING THE MC PROTOCOL9

9 - 25

9.3.5 Batch read in word units (command: 01)

The examples shown in this section explain the command/response format when

batch reading the word device memory and the bit device memory (16 point units).

For more details on the order and contents of data items of the areas marked by " "

shown in the control procedure diagram, see Subsection 9.1.2.
[Control procedure]

Reading the on/off status of Y100 to Y137 (32 points) of the PLC on which the

Ethernet module is loaded.

(1) Communication in binary code
H
0AH00H00H
40H00H00H20H59H02H00H
LL H
0
11
10
10
00
00
10
01
11
10
11
01
01
01
0
Y130
Y137
Y120
Y127
Y110
Y117
Y100
00H9DH82H3EH55H
LHLH
1
01
0
01HFFH
81H
Y107
----
(Data name)
External device
side
(Example)
(Data name)
PLC side
(Example)
Subheader
PC No.
Number of device points
Head device
Monitoring
timer
Subheader
Complete code
Data for the
number of designed
device points
Characters for the
number of device
points
totototo
Y100 (Octadecimal) = 40 (Hexadecimal)
32/16 = 2 points