Mitsubishi Electric MELSEC IQ-R series Reference Manual page 125

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

Advertisement

Communication example
Read the following devices registered by the 'register monitor data' (command: 0801).
• Word access: D0, T0, M100 to M115, X20 to X2F
• Double word access: D1500 to D1501, Y160 to Y17F, M1111 to M1142
D0 = 6549 (1995H), T0 = 4610 (1202H), D1500 = 20302 (4F4EH), D1501 = 19540 (4C54H) are stored.
■Data communication in ASCII code
(Request data)
0
8
0
2
0
0
0
30
38
30
32
30
30
30
H
H
H
H
H
H
H
(Response data)
Read data 1
Read data 2
in word units
in word units
1
9
9
5
1
31
39
39
35
31
32
H
H
H
H
H
D0
Read data 1
in double word units
4
C
5
4
34
43
35
34
H
H
H
H
D1501
Read data 3 in word units
2
0
3
0
0 1 0 0 0 0 0 0 0 1 1 0 0 0 0
to
M115
Read data 4 in word units
4
8
4
0
1 0 0 1 0 0 0 0 1 0 0 1 0 0 1
to
X2F
0
30
H
Read data 3
in word units
2
0
2
2
0
3
0
4
30
32
32
30
33
30
34
H
H
H
H
H
H
H
H
to
T0
M115
M100
X2F
Read data 2
in double word units
4
F
4
E
C
3
D
E
34
46
34
45
43
33
44
45
H
H
H
H
H
H
H
D1500
Y17F
0
0 OFF
1 ON
M100
9
0 OFF
1 ON
X20
Read data 4
in word units
8
4
9
38
34
39
H
H
H
to
X20
Read data 3
in double word units
B
9
A
F
B
A
D
42
39
41
46
42
41
44
44
H
H
H
H
H
H
H
H
to
Y160
M1142
Read data 2 in double word units
C
1 1 0 0 0 0
1 0 1 1 1 1
to
Y17F
Read data 3 in double word units
B
1 0 1 1 1 0 1
0 1 0 1 1 0 1 1 1
to
M1142
D
B
C
B
7
42
43
42
37
H
H
H
H
H
to
M1111
F
0 OFF
1 ON
Y160
B
7
0 OFF
1 ON
M1111
8 DEVICE ACCESS
8.5 Device Memory Monitor
8
123

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents