7 Communication Using MC Protocol
59
FX3U-ENET-ADP User's Manual
1
Introduction
2
Specification
3
System
Configuration
4
Installation
5
Wiring
6
Introduction of
Functions
7
Communication
Using
MC Protocol
8
The Operation
of GX Works2
9
Troubleshooting
A
List of Special
Devices
7.3 Message Formats and Control Procedures
b) When reading from or writing to a word device memory
Each word of the word device memory is expressed in hexadecimal values in 4-bit units sequentially
from the higher bit.
(Example)
Indicating the storage contents of data registers D350 and D351
<Point>
- When designating alphabet letters in the character area, use upper case.
- When data other than an integer value (real number, character string) is stored in a word device
memory to be read, the stored value is read as an integer value.
(Example 1)
When the real number (0.75) is stored in D0 and D1, it is read as the following integer values:
D0 = 0000H, D1 = 3F40H
(Example 2)
When the character string ("12AB") is stored in D2 and D3, it is read as the following integer values:
D2 = 3231H, D3 = 4241H
30H
00
30
H
0
30
H
0
30
H
1
31
H
5
35
H
6
36
H
A
41
H
B
42
H
1
31
H
7
37
H
0
30
H
F
46
H
5
35
H
E
45
H
0
30
H
2
32
H32H
2
L
HL
H
L
HL
34
H
4
34
H
4
H
30
H 30H
00
B15
01010110101010110001
B14 B13 B12 B11B10
B9B8B7B6B5B4B3 B2 B1B0
011100001111
B15 B14 B13 B12 B11B10
B9B8B7B6B5B4B3 B2 B1B0
56AB170F
Head device
Device
point
Data Data
1: Indicates ON
0: Indicates OFF
The content of D350 indicates 56AB
H
(22187 in decimal)
The content of D351 indicates 170F
H
(5903 in decimal)