Справочник Пользователя для Mitsubishi Electronics fx3u
9 - 21
MELSEC-F
WHEN COMMUNICATING DATA USING THE MC PROTOCOL
9
9 - 21
9.3.3 Batch write in bit units (command: 02)
The examples shown in this section explain the command/response format when
batch writing to the bit device memory.
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.
batch writing to the bit device memory.
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]
Writing the on/off status of M50 to M61 of the PLC on which the Ethernet module is
loaded.
loaded.
(1) Communication in binary code
0A
H
32H 00
H
(Data name)
External device
side
side
(Example)
(Data name)
PLC side
(Example)
02
H
FF
H
00
H
00
H
00
H
20
H
0C
H
00
H
82
H
00
H
H
L
L
4D
H
01
H
11
H
01
H
00
H
00
H
01
H
H
L
H
L
H
L
H
1
0
1
1
1
0
0
0
0
0
1
0
M50
(OFF)
(OFF)
M51
(ON)
M52
M53
(ON)
M54
(OFF)
(OFF)
M56
(OFF)
(OFF)
M55
(ON)
M58
(OFF)
(OFF)
M59
(OFF)
(OFF)
M60
(OFF)
(OFF)
M61
(ON)
(ON)
M57
(OFF)
(OFF)
-
-
-
-
Subheader
PC No.
Number of device points
Head device
Monitoring
timer
Data for the number
of designed device
points
Characters for the
number of device
points
Subheader
Complete code