9 - 11 9 - 11
MELSEC-F
9 WHEN COMMUNICATING DATA USING THE MC PROTOCOL
9.1.4 Character area transmission data
This section explains how to transmit the bit device data and word device data handled
in the character areas, as well as the order of transmission when communicating data
between an external device and the PLC by each command.
The transmission data shown in the examples is contained in character area B in case
of reading and monitoring, and in character area C in case of writing, testing, and
monitor data registration.
(1) Data communication using ASCII code
(a) When reading to or writing from a bit device memory
The bit device memory can be read and written in bit units (one device
point) or word units (16 device points).
How data is transmitted in each case is explained below.
1) Bit units (one point)
In case of bit units, the bit device memory is handled from the
designated head device for the number of designated device points
sequentially from the left. They are expressed as "1" (31
H
) if the device
is on or "0" (30
H
) if the device is off.
(Example)
Indicating the ON/OFF status of five points from M10
Indicates that M14 is ON
Indicates that M13 is OFF
Indicates that M12 is ON
Indicates that M11 is OFF
Indicates that M10 is ON
0
30
H
0
30
H
A
41
H
0
30
H
5
35
H
1
31
H
0
30
H
1
31
H
0
30
H
1
31
H
0
30
H
0
30
H
0
30
H
0
30
H
44
H
D
34
H
4
L
L
H
H
2
32
H
0
30
H
0
30
H
Head device
Device
point
Data
2) Word units (16 points)
When the bit device memory is handled as word units, each word is
expressed in hexadecimal values in 4-bit units sequentially from the
higher bit.
(Example)
Indicating the ON/OFF status of 32 points from M16
0
30
H
0
30
H
A
41
H
B
42
H
1
31
H
2
32
H
3
33
H
4
34
H
C
43
H
D
44
H
1
31
H
0
30
H
0
30
H
2
32
H
B15
1 0 1 0 1 0 1 1 0 0 0 1 0 0 1 0 0 0 1 1
B14B13B12 B11B10B9 B8 B7 B6 B5 B4 B3 B2 B1 B0
0 1 0 0 1 1 0 0 1 1 0 1
B15B14B13B12 B11B10B9 B8 B7 B6 B5 B4 B3 B2 B1 B0
A
B
1
2
3
4
C
D
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32
30
H
0
30
H
0
32
H
2
44
H
D
34
H
4
L
H
0
30
H
0
30
H
0
30
H
Head device
Device
point
Data
Data
The device point is "02" in 16-point units.
1: Indicates ON
0: Indicates OFF
M M M M M M M M M M M M M M M M M M M M M M M M M M M M M M M M
Содержание 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: ......