Test In Bit Units (Random Write) (Command: 04) - Mitsubishi Electric FX3U-ENET-ADP User Manual

Table of Contents

Advertisement

FX
-ENET-ADP User's Manual
3U
7.5.4

Test in bit units (random write) (command: 04)

The examples shown in this section explain the command/response format when writing data by designating
bit device memories arbitrarily.
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]
Specifying Y45 to ON, M60 to OFF, and S38 to ON at 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)
70
Designated device
*
L
H
L
-
04
FF
0A
00
03
00
25
00
H
H
H
H
H
H
H
(Octadecimal)
45 (Octadecimal) = 25 (Hexadecimal)
Designates to turn M60 OFF.
Designates to turn S38 ON.
Designated device
-
-
-
H
L
-
-
-
-
00
20
59
01
3C
00
00
00
20
H
H
H
H
H
H
H
H
H
Y45
M60
Designates to turn Y45 ON.
7 Communication Using MC Protocol
7.5 Device Memory Read/Write
Designated device
H
L
-
-
-
-
H
4D
00
26
00
00
00
20
53
01
H
H
H
H
H
H
H
H
H
H
S38
*
84
00
H
H

Advertisement

Table of Contents
loading

Table of Contents