Mitsubishi Electronics MELSEC-F Universal Remote User Manual


 
9 - 14
MELSEC-F
WHEN COMMUNICATING DATA USING THE MC PROTOCOL9
9 - 14
(b) Reading from or writing to a word device memory
Each word of a word device memory is designated by 16 bits and the
designated number of points from the designated head device are
sequentially expressed in one-point units in the order, low byte (L: bits 0 to 7)
to high byte (H: bits 8 to 15).
(Example)
Indicating the storage contents of data registers D350 and D351
POINT
(1) When data other than an integer value (real number, character string, etc.)
was stored in a word device memory to be read, the module reads the stored
value 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 = 0000
H, D1 = 3F40H
(Example 2)
When the character string ("12AB") is stored in D2 and D3, it is read as the
following integer values:
D2 = 3231
H, D3 = 4241H
02
H
AB
H
56
H
0F
H
17
H
B7
10101011010101100000
B6 B5 B4 B3 B2 B1 B0
B15
B14
B13
B12
B11B10B9B8
111100110111
B7 B6 B5 B4 B3 B2 B1 B0
B15
B14
B13
B12
B11B10B9B8
AB560F17
LH
B15
01010110101010110001
B14 B13 B12
B11B10B9B8
B7
B6
B5
B4 B3 B2 B1 B0
011100001111
B15 B14 B13 B12
B11B10 B9 B8
B7
B6
B5
B4 B3 B2 B1 B0
56AB170F
Data
1: Indicates ON
0: Indicates OFF
170F
H
LH
Data
56AB
H
Device point
The content of D350 indicates 56ABH
(22187 in decimal)
The content of D351 indicates 170F
H
(5903 in decimal)
(L)
(H)
(L)
(H)