7 Communication Using MC Protocol
60
FX
3U
-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
De
vic
e poi
nt
02
H
12
H
AB
H
CD
H
34
H
B7
0 0 0 1 0 0 1 0 1 0 1 0 1 0 1 1 1 1 0 0
B6 B5 B4 B3 B2 B1 B0 B15 B14 B13 B12B11B10B9 B8
1 1 0 1 0 0 1 1 0 1 0 0
B7 B6 B5 B4 B3 B2 B1 B0B15B14B13B12B11B10B9 B8
1
2
A
B
C
D
3
4
2322212019181716313029282726252439383736353433324746454443424140
L
H
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
34CD
H
L
H
Data
AB12
H
De
vic
e poi
nt
Head
End
Содержание FX3U-ENET-ADP
Страница 1: ...FX3U ENET ADP USER S MANUAL ...
Страница 2: ......
Страница 6: ... 4 Safety Precautions Read these precautions before use MEMO ...
Страница 160: ...154 FX3U ENET ADP User s Manual Revised History Revised History Date Revision Description 2 2012 A First Edition ...
Страница 161: ......