7 Communication Using MC Protocol
68
FX
3U
-ENET-ADP User's Manual
7.5 Device Memory Read/Write
7.5.3
Batch write in bit units (command: 02)
The examples shown in this section explain the command/response format when batch writing to bit device
memory.
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]
Writing the on/off status of M50 to M61 of the PLC on which the Ethernet adapter is loaded.
1) Communication in binary code
Caution
If the number of device points to be set is an odd number, add 4 bits of dummy data (0H) at the end of data
written. For example, when writing three points, add the dummy data (0H) at the end.
0A
H
32
H
00
H
(Data name)
External device
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)
M51
(ON)
M52
(ON)
M53
(ON)
M54
(OFF)
M56
(OFF)
M55
(ON)
M58
(OFF)
M59
(OFF)
M60
(OFF)
M61
(ON)
M57
(OFF)
-
-
-
-
Subheader
PC No.
N
um
be
r of
d
ev
ice
po
in
ts
Head device
Monitoring
timer
Data for the number
of designed device
points
Characters for the
number of device
points
Subheader
Complete code
*
*
Содержание FX3U-ENET-ADP
Страница 1: ...FX3U ENET ADP USER S MANUAL ...
Страница 2: ......
Страница 6: ... 4 Safety Precautions Read these precautions before use MEMO ...
Страница 160: ...154 FX3U ENET ADP User s Manual Revised History Revised History Date Revision Description 2 2012 A First Edition ...
Страница 161: ......