Справочник Пользователя для Mitsubishi Electronics fx3u

Скачать
Страница из 284
9 - 25
MELSEC-F
WHEN COMMUNICATING DATA USING THE MC PROTOCOL
9
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
0A
H
00
H
00
H
40
H
00
H
00
H
20
H
59
H
02
H
00
H
L
L
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
9D
H
82
H
3E
H
55
H
L
H
L
H
1
0
1
0
01
H
FF
H
81
H
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
to
to
to
to
Y100 (Octadecimal) = 40 (Hexadecimal)
32/16 = 2 points