Mitsubishi Electric MELSEC IQ-R series Reference Manual page 77

Programmable controller
Hide thumbs Also See for MELSEC IQ-R series:
Table of Contents

Advertisement

For word units (16-point unit for bit device)
The following shows the data to be read and written in word units.
When handling data other than bit data, refer to the following section.
Page 79 Considerations for handling real number data and character string data
■Data communication in ASCII code
Convert the 1-word(16 points of bit device) numerical value to 4-digit ASCII code (hexadecimal), and send it from the upper
digits.
Use capitalized code for alphabetical letter.
The ON/OFF status of bit device is a value of hexadecimal 1-digit in 4-point units.
Ex.
When indicating ON/OFF status of 32 points from M16
Device
code
Head device
M
0
0
0
0
*
4D
2A
30
30
30
30
H
H
H
H
H
A
B
1
b14 b13 b12 b11b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
b15
1 0 1 0 1 0 1 1 0 0 0 1 0 0 1 0 0 0 1 1
M31
to
Ex.
When indicating the stored data of D350 and D351
Device
code
Head device
D
0
0
0
3
5
*
44
2A
30
30
30
33
35
H
H
H
H
H
H
The device point value becomes "0002" in 16-points units.
Number of
device points
Data
B
1
6
0
0
0
2
A
1
31
36
30
30
30
32
41
42
31
H
H
H
H
H
H
H
H
H
H
2
3
4
C
b15 b14 b13 b12 b11b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
0 1 0 0 1 1 0 0 1 1 0 1
M16
M47
to
Number of
device points
Data
0
0
0
0
2
5
6
A
B
30
30
30
30
32
35
36
41
42
H
H
H
H
H
H
H
H
H
The content of
D350 indicates
56ABH (22187 in
decimal)
Data
D
2
3
4
C
32
33
34
43
44
H
H
H
H
H
D
0
OFF
1
ON
M32
Data
1
7
0
F
31
37
30
46
H
H
H
H
H
The content of
D351 indicates
170FH (5903 in
decimal)
8.1 Data to be Specified in Commands
8 DEVICE ACCESS
75
8

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents