Mitsubishi Electric Melsec Q Series User Manual page 207

Profibus-dp master module
Hide thumbs Also See for Melsec Q Series:
Table of Contents

Advertisement

7
PROGRAMMING
(2) Response format
Offset Address
+ 0 (+ 0
)
H
+ 1 (+ 1
)
H
+ 2 (+ 2
)
H
+ 3 (+ 3
)
H
+ 4 (+ 4
)
H
+ 5 (+ 5
) to +124 (+7C
)
H
H
+125 (+7D
) to
H
+127 (+7F
)
H
(a) When normally completed
Table7.16 Response Format (When Normally Completed)
A response code is stored.
(1) In READ service (Class1_SERVICE)
Stored value: A400
H
(2) In READ service (Class2_SERVICE)
Stored value: A410
H
(1) In READ service (Class1_SERVICE)
b15
0
1) The FDL address of the DP-Slave is stored.
Stored value : 00
to 7D
H
(2) In READ service (Class2_SERVICE)
b15
2)
1) The FDL address of the DP-Slave is stored.
Stored value : 00
to 7D
H
2) The CommRef No. is stored.
Stored value : 00
to 7E
H
The length of the read data is stored. (Unit: byte)
Stored value: 1 to 240
The read slot No. is stored.
Stored value: 0 to 254
The read index is stored.
Stored value: 0 to 255
The read data are stored.
When the read data length is shorter than the length specified in the request format, 0s are stored in the
empty area.
When the read data length is longer than the length specified in the request format, only data of the
specified data length are stored.
b15
+5 (+5
)
Data 2
H
+6 (+6
)
H
Data 4
to
+124 (+7C
)
Data 240
H
Empty area
Stored value: 0000
H
7.4 Program Example for Acyclic Communication with DP-Slaves
7.4.1 READ services (Class1_SERVICE, Class2_SERVICE)
Result
b8
b7
1)
(0 to 125)
H
b8
b7
1)
(0 to 125)
H
(0 to 126)
H
b8
b7
Data 1
Data 3
Data 239
b0
b0
b0
1
2
3
4
5
6
7
8
7
- 18

Advertisement

Table of Contents
loading

Table of Contents