9 - 33 9 - 33
MELSEC-F
9 WHEN COMMUNICATING DATA USING THE MC PROTOCOL
9.3.7 Test in word units (random write) (command: 05)
The examples shown in this section explain the command/response format when
writing data by designating word device memories and bit device memories (16 point
units) 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.
[Control procedure]
Specifying Y20 to 37 to on/off, R26 to "1234
H
," and the current value of C18 to "50
H
" at
the PLC on which the Ethernet module is loaded.
(1) Communication in binary code
ON/OFF
designation
Current value of CN18
50
H
1234
H
Y30
Y37
Y20
Y27
0
0
1
0
1
0
0
1
0
1
1
1
1
0
1
1
Y20
R26
1....ON
0....OFF
05
H
FF
H
0A
H
03
H
00
H
80
H
00
H
00
H
00
H
20
H
59
H
29
H
7B
H
1A
H
00
H
00
H
00
H
20
H
52
H
34
H
12
H
12
H
00
H
00
H
00
H
4E
H
43
H
50
H
00
H
00
H
85
H
00
H
L
L
-
H
L
H
-
-
-
H
L
-
H
L
-
-
-
H
L
-
H
L
-
-
-
H
(Data name)
External device
side
(Example)
(Data name)
PLC side
(Example)
Subheader
PC No
.
Number of de
vice points
Monitor
ing
timer
Data for the number
of designed device
points
Characters for the
number of device
points
Data for the number
of designed device
points
Characters for the
number of device
points
Data for the number
of designed device
points
Characters for the
number of device
points
ON/OFF
designation
ON/OFF
designation
Subheader
Complete code
to
to
Содержание FX3U-ENET
Страница 1: ...USER S MANUAL FX3U ENET ...
Страница 2: ......
Страница 159: ...8 6 8 6 MELSEC F 8 COMMUNICATION USING MC PROTOCOL MEMO ...
Страница 295: ...App 25 App 25 MELSEC F APPENDIX MEMO ...
Страница 297: ......