7 Communication Using MC Protocol
60
FX3U-ENET-ADP User's Manual
7.3 Message Formats and Control Procedures
2) Data communication using binary code
a) When reading from or writing to 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.
• Bit units (one point)
In case of bit units, four bits designate one point and 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" if the device is ON or "0" if the device is OFF.
(Example)
Indicating the ON/OFF status of five points from M10
• Word units (16 points)
In case of word units, one bit designates one point and 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 in 16-point units in the order, low byte (L: bits 0 to 7) to high byte (H: bits 8 to 15).
(Example)
Indicating the ON/OFF status of 32 points from M16
0A
H
L
00
H
00
H
H
20
H
00
H
40
H
05
H
10
H
10
H
10
H
Head device
Data
Expressed by dummy when the point is
an odd number
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
Device point
02
H
12
H
AB
H
CD
H
34
H
B7
00010010101010111100
B6 B5B4 B3 B2 B1 B0
B15
B14
B13
B12 B11 B10
B9 B8
110100110100
B7 B6B5 B4 B3 B2 B1 B0
B15
B14
B13
B12 B11 B10
B9 B8
12ABCD34
2322 21201918 171631 302928 27 262524 393837 363534 33 324746 454443 424140
LH
Data
The device point is "02" in 16-point units.
1: Indicates ON
0: Indicates OFF
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
34CD
H
LH
Data
AB12H
Device point
Head End