Download Print this page

Mitsubishi MELSEC Q Series Reference Manual page 366

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

Advertisement

(3) Control procedure
External device side
(Data name)
(Example)
Programmable controller CPU side
(At normal completion)
External device side
(Data name)
(Example)
Programmable controller CPU side
(At normal completion)
4 - 3
(a) Communication in format 1
1) When the external device reads data from the Q/LCPU
(Example)
Using command 1, the external device reads five points of data
from X40 to X44 in the Q/LCPU.
Programmable controller CPU side (Command message)
E
N
Q
H
L
H L
H L
H –
F
B
0
0
0
0
1 X
0
05
46
42
30
30
30
30
31
58
2A
30
30
H
H
H
H
H
H
H
H
H
H
H
Sum check is performed within this range.
External device side (Response message)
Character area B
S
E
T
T
X
X
H
L
H L
H L
H
– L
H
F
B
0
0
0
0
0
1
1
0
1
3
02
46
42
30
30
30
30
30
31
31
30
31
03
33
H
H
H
H
H
H
H
H
H
H
H
H
H
Sum check is performed
within this range.
2) When the external device writes data to the Q/LCPU
(Example)
Using command 3, the external device writes five points of data to
M903 to M907 in the Q/LCPU.
Programmable controller CPU side (Command message)
E
N
Q
H
L
H L
H L
H –
F
B
0
0
0
0
3 M
0
05
46
42
30
30
30
30
33
4D
2A
30
H
H
H
H
H
H
H
H
H
H
H
Sum check is performed within this range.
External device side (Response message)
A
C
K
H
L H L
H L
F
B
0
0
0
0
06
46
42
30
30
30
30
H
H
H
H
H
H
H
4 WHEN COMMUNICATING USING THE QnA COMPATIBLE 2C FRAMES
Character area A
– L
H
– L
H
L
0
0
0
4
0
0
0
0
5
E
4
30
30
34
30
30
30
30
35
45
34
H
H
H
H
H
H
H
H
H
H
H
(At abnormal completion)
When error code
7151
L
E
45
H
H
Character area C
– L
H
– L
H
0
0
0 L
0
0
9
0
3
0
0
0
5
0
1
1
0
30
30
39
30
33
30
30
30
35
30
31
31
30
31
H
H
H
H
H
H
H
H
H
H
H
H
H
(At abnormal completion)
When error code
7151
N
A
K
is returned
H
H
L H L
H L
F
B
0
0
0
15
46
42
30
30
30
H
H
H
H
H
H
L
1
D
6
44
36
H
H
H
N
A
K
is returned
H
H
L H L
H L
F
B
0
0
0
15
46
42
30
30
30
H
H
H
H
H
H
H –
– L
0
7
1
5
1
30
37
31
35
31
H
H
H
H
H
H
H –
– L
0
7
1
5
1
30
37
31
35
31
H
H
H
H
H
4 - 3

Hide quick links:

Advertisement

loading