7 Communication Using MC Protocol
72
FX3U-ENET-ADP User's Manual
7.5 Device Memory Read/Write
7.5.5 Batch read in word units (command: 01)
The examples shown in this section explain the command/response format when batch reading word device
memory or bit device memory (16 point units).
For more details on the order and content of data items of the areas marked by " * " shown in the control
procedure diagram, refer to Subsection 7.3.2.
[Control procedure]
Reading the on/off status of Y100 to Y137 (32 points) of the PLC on which the Ethernet adapter is loaded.
1) Communication in binary code
H
0A
H 00H 00H40H 00H 00H 20H 59H 02H 00H
LL H
0
1
1
1
0
1
0
0
0
0
0
1
0
0
1
1
1
1
0
1
1
0
1
0
1
0
1
0
Y130
Y137
Y120
Y127
Y110
Y117
Y100
00
H 9DH 82H 3EH
55H
LHLH
1
0
1
0
01
H
FFH
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
*
*