9 WHEN COMMUNICATING DATA USING THE MC PROTOCOL
9.3.4 Test in bit units (random write) (command: 04)
[Control procedure]
(Data name)
External device
side
(Example)
04
FF
0A
H
H
(Data name)
PLC side
(Example)
9 - 23
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 contents of data items of the areas marked by " "
shown in the control procedure diagram, see Section 9.1.2.
Specifying Y45 to ON, M60 to OFF, and S38 to ON at the PLC on which the Ethernet
module is loaded.
(1) Communication in binary code
Designated device
L
H
L
-
-
-
-
00
03
00
25
00
00
20
H
H
H
H
H
H
H
H
H
Y45
(Octadecimal)
45 (Octadecimal) = 25 (Hexadecimal)
Designates to turn Y45 ON.
Designates to turn M60 OFF.
Designates to turn S38 ON.
Designated device
H
L
-
-
-
-
H
59
01
3C
00
00
00
20
4D
00
H
H
H
H
H
H
H
H
M60
Designated device
L
-
-
-
-
H
26
00
00
00
20
53
01
H
H
H
H
H
H
H
H
S38
MELSEC-F
84
00
H
H
9 - 23