Batch Write In Bit Units (Command: 02) - Mitsubishi Electric FX3U-ENET-ADP User Manual

Table of Contents

Advertisement

FX
-ENET-ADP User's Manual
3U
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
(Data name)
External device
side
(Example)
(Data name)
PLC side
(Example)
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.
68
Head device
*
L
H
L
-
-
02
FF
0A
00
32
00
00
00
H
H
H
H
H
H
H
0
1
1
M51
(ON)
M50
M52
(OFF)
(ON)
Data for the number
of designed device
points
Characters for the
number of device
points
-
-
H
L H L H L H
20
4D
0C
00
01
11
01
00
00
H
H
H
H
H
H
H
H
H
1
0
1
0
0
0
0
0
1
M53
M55
M57
M59
M61
(ON)
(ON)
(OFF)
(OFF)
(ON)
M54
M56
M58
M60
(OFF)
(OFF)
(OFF)
(OFF)
7 Communication Using MC Protocol
7.5 Device Memory Read/Write
01
H
H
*
82
00
H
H

Advertisement

Table of Contents
loading

Table of Contents