Mitsubishi Electric MELSEC IQ-R series Reference Manual page 104

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

Advertisement

Communication example (Monitor condition is not specified)
Read values of D0, T0, M100 to M115, X20 to X2F with word access. Read values of D1500 to D1501, Y160 to Y17F, M1111
to M1142 with 4 double word access. (Subcommand: for MELSEC-Q/L series)
D0 = 6549 (1995H), T0 = 4610 (1202H), D1500 = 20302 (4F4EH), D1501 = 19540 (4C54H) are stored.
■Data communication in ASCII code
(Request data)
Subcommand
0
4
0
3
0
30
34
30
33
30
H
H
H
H
Device for word access
Device
code
Device number
D
*
0
0
0
44
2A
30
30
30
H
H
H
H
H
Device for double word access
Device
Device number
code
D
*
0
0
1
44
2A
30
30
31
H
H
H
H
H
(Response data)
Read data 1
in word units
1
9
9
31
39
39
H
H
H
D0
4
C
34
43
H
H
D1501
Read data 3 in word units
2
0
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
0
1 0 0 1 0 0 0 0 1 0 0 1 0 0 1
X2F
to
8 DEVICE ACCESS
102
8.3 Random Read and Write
Number of
Number of
word
double word
access points
access points
0
0
0
0
4
0
30
30
30
30
34
30
H
H
H
H
H
H
H
Device
code
Device number
0
0
0
T
N
0
0
30
30
30
54
4E
30
30
H
H
H
H
H
H
H
Device
Device number
code
5
0
0
Y
*
0
0
35
30
30
59
2A
30
30
H
H
H
H
H
H
H
Read data 2
Read data 3
in word units
in word units
5
1
2
0
2
2
0
35
31
32
30
32
32
30
33
H
H
H
H
H
H
H
to
T0
M115
M100
Read data 1
in double word units
5
4
4
F
4
E
C
35
34
34
46
34
45
43
H
H
H
H
H
H
H
D1500
3
0
0 OFF
1 ON
M100
4
9
0 OFF
1 ON
X20
3
33
H
Device
code
0
0
0
0
M
*
0
30
30
30
30
4D
2A
30
H
H
H
H
H
H
H
Device
code
0
1
6
0
M
*
0
30
31
36
30
4D
2A
30
H
H
H
H
H
H
H
Read data 4
in word units
3
0
4
8
4
9
30
34
38
34
39
H
H
H
H
H
H
to
X2F
X20
Read data 2
in double word units
3
D
E
B
9
A
F
33
44
45
42
39
41
46
H
H
H
H
H
H
H
to
Y17F
Y160
Read data 2 in double word units
C
1 1 0 0 0 0
Y17F
Read data 3 in double word units
B
1 0 1 1 1 0 1
M1142
Device
code
Device number
0
0
1
0
0
X
*
30
30
31
30
30
58
2A
30
H
H
H
H
H
H
H
Device number
0
1
1
1
1
30
31
31
31
31
H
H
H
H
H
Read data 3
in double word units
B
A
D
D
B
C
B
42
41
44
44
42
43
42
H
H
H
H
H
H
H
to
M1142
M1111
F
0 OFF
1 ON
1 0 1 1 1 1
Y160
to
B
0 1 0 1 1 0 1 1 1
M1111
to
Device number
0
0
0
0
2
0
30
30
30
32
30
H
H
H
H
H
H
7
37
H
7
0 OFF
1 ON

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents