Download Print this page

Mitsubishi MELSEC Q Series Reference Manual page 177

With melsec communication protocol
Hide thumbs Also See for MELSEC Q Series:

Advertisement

[Control procedure]
(Data name)
External device
side
(Example)
30
W
57
2A
H
M
4D
2A
H
(Data name)
Programmable controller CPU side
(Example)
3 - 117
3 WHEN COMMUNICATING USING THE QnA COMPATIBLE 3E/3C/4C FRAMES OR 4E FRAME
(3) Random read in word units (when monitor condition is designated)
The examples shown in this section explain the control procedure of reading data
by randomly designating bit device memories (16-bit units) and word device
memories (word units) with a monitor condition designated.
The order and content of data items of the areas marked by " " shown in the
control procedure diagram differ depending on the module used as well as the
frame and format used for communication.
Refer to the detailed information described in Section 3.1.
(a) Reading randomly while communicating in ASCII code under the following
conditions
1)
Monitor condition
When the value of link register W100 reaches "7B
number 1000 of the program file CONB1.QPG is executed.
2) Device memories to be read
• Word access
• Double word access : D1500 to D1501, Y160 to Y17F, M1111 to M1142
Word units
Monitor condition not designated
File and step No. designated
Word device value designated
H
-
-
L
H
-
-
L
H
L
H
L
H
-
-
L
0
4
0
3
0
0
4
0
0
3
0
F
0
0
0
1
34
30
33
30
30
34
30
30
33
30
46
30
30
30
31
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
(Refer to Section (1) (c).)
H
-
-
L
H
-
-
L
H
-
-
-
-
L
0
0
0
1
0
0
F
F
F
F
0
0
7
B
30
30
30
31
30
30
46
46
46
46
30
30
37
42
4D
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
(Refer to Section 3.3.1.)
H
-
-
-
-
L
H
-
-
-
-
L
0
0
0
1
0
0
X
0
0
0
0
2
0
30
30
30
31
30
30
58
2A
30
30
30
30
32
30
44
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
D0 value
H
-
-
L
1
9
9
5
31
39
39
35
H
H
H
H
For the number of word access points
: D0, T0, M100 to M115, X20 to X2F
(Refer to Section (1) (C).)
H
-
-
-
-
-
-
L
H
-
L
H
-
C
O
N
B
1
_
_
_
Q
P
G
0
0
43
4F
4E
42
31
20
20
20
51
50
47
20
30
30
30
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
Number of points to be read
H
-
-
-
-
L
H
L
H
L
M
D
0
0
0
0
0
0
0
0
0
4
0
3
2A
30
30
30
30
30
30
30
30
30
34
30
33
44
2A
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
Designates devices for the number of word access points
Dummy because word
device value is designated
H
-
-
-
-
L
H
-
-
-
-
D
0
0
1
5
0
0
Y
0
0
0
1
6
2A
30
30
31
35
30
30
59
2A
30
30
30
31
36
30
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
Designates devices for the number of double-word access points
(Refer to Section 3.1.7.)
Data read
Status of M100
Status of X20
Current value
D1501 value
of T0
to M115
to X2F
H
-
-
L
H
-
-
L
H
-
-
L
H
-
-
1
2
0
2
2
0
3
0
4
8
4
9
4
C
5
31
32
30
32
32
30
33
30
34
38
34
39
34
43
35
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
-
L
H
-
-
L
H
-
-
L
H
-
-
-
-
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
30
30
30
30
30
30
30
30
30
30
30
30
30
30
33
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
(Refer to Section 3.3.1.)
H
-
-
-
-
L
H
-
-
-
-
L
0
0
0
0
0
0
T
N
0
0
0
0
0
0
30
30
30
30
30
30
54
4E
30
30
30
30
30
30
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
L
H
-
-
-
-
L
0
M
0
0
1
1
1
1
4D
2A
30
30
31
31
31
31
H
H
H
H
H
H
H
H
H
D1500 value
Status of Y160 to Y17F
Status of M111 to M1142
-
-
-
-
L
H
-
-
-
-
-
-
L
H
-
4
4
F
4
E
C
3
D
E
B
9
A
F
B
A
34
34
46
34
45
43
33
44
45
42
39
41
46
42
41
H
H
H
H
H
H
H
H
H
H
H
H
H
H
For the number of double word access points
" (123) during step
H
-
-
L
3
E
8
45
38
H
H
H
-
-
-
-
-
L
D
D
B
C
B
7
44
44
42
43
42
37
H
H
H
H
H
H
H
3 - 117

Hide quick links:

Advertisement

loading