EasyManua.ls Logo

Mitsubishi Electric FX3U-ENET-ADP - Batch Write in Word Units (Command 03)

Mitsubishi Electric FX3U-ENET-ADP
162 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
7 Communication Using MC Protocol
68
FX3U-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
HLL
4D
H
01
H
11
H
01
H
00
H
00
H
01
H
HLHLHLH
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.
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
*
*

Table of Contents

Related product manuals