Mitsubishi Electric MELSEC IQ-R series Reference Manual page 359

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

Advertisement

Communication example (Reading bit device memory)
Read bit devices in 16-point units under the following conditions.
• Message wait: 0 ms
• Head device: X040
• Number of device points: 32 points (2 words)
(Request data)
■When using WR (ACPU common command)
Message wait
Head device
W
R
0
X
0
0
4
57
52
30
58
30
30
34
H
H
H
H
H
H
H
■When using QR (AnA/AnUCPU common command)
Message wait
Head device
Q
R
0
X
0
0
0
51
52
30
58
30
30
30
H
H
H
H
H
H
H
(Response data)
Data read
0001
0010
(Hexadecimal : 1)
(Hexadecimal : 2)
31
32
H
H
(X4F) to (X4C)
(X4B) to (X48)
Communication example (Reading word device memory)
Read word devices in 1-point units under the following conditions.
• Message wait: 0 ms
• Head device: Current value of T123
• Number of device points: 2 points (2 words)
(Request data)
■When using WR (ACPU common command)
Message wait
Head device
W
R
0
T
N
1
2
57
52
30
54
4E
31
32
H
H
H
H
H
H
H
■When using QR (AnA/AnUCPU common command)
Message wait
Head device
Q
R
0
T
N
0
0
51
52
30
54
4E
30
30
H
H
H
H
H
H
H
(Response data)
Data read
7
B
C
9
1
2
3
4
37
42
43
39
31
32
33
34
H
H
H
H
H
H
H
H
(T123)
(T124)
Number of device points
(Number of words)
0
0
2
30
30
32
H
H
H
Number of device points
(Number of words)
0
4
0
0
2
30
34
30
30
32
H
H
H
H
H
0011
0100
(Hexadecimal : 3)
(Hexadecimal : 4)
33
34
H
H
(X47) to (X44)
(X43) to (X40)
Number of device points
(Number of words)
3
0
2
33
30
32
H
H
H
Number of device points
(Number of words)
1
2
3
0
2
31
32
33
30
32
H
H
H
H
H
1010
1011
(Hexadecimal : A)
(Hexadecimal : B)
41
42
H
H
(X5F) to (X5C)
(X5B) to (X58)
(X57) to (X54)
17 COMMUNICATING USING 1C FRAMES
17.4 Device Memory Read and Write
1100
1101
(Hexadecimal : C)
(Hexadecimal : D)
43
44
H
H
(X53) to (X50)
17
357

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents