Mitsubishi Electric Melsec Q Series User Manual page 209

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

Advertisement

7
PROGRAMMING
7.4.2 WRITE services (Class1_SERVICE, Class2_SERVICE)
This section explains the request and response formats of the WRITE services
(Class1_SERVICE, Class2_SERVICE).
(1) Request 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
Table7.18 Request Format
Set a request code.
(1) In WRITE service (Class1_SERVICE)
Set value: 1401
H
(2) In WRITE service (Class2_SERVICE)
Set value: 1411
H
(1) In WRITE service (Class1_SERVICE)
b15
b8
0
1) Set the FDL address of the target DP-Slave.
Set value : 00
to 7D
(0 to 125)
H
H
(2) In WRITE service (Class2_SERVICE)
b15
b8
2)
1) Set the FDL address of the target DP-Slave.
Set value : 00
to 7D
(0 to 125)
H
H
2) Set CommRef No. contained in the response format of the INITIATE service.
Set value : 00
to 7E
(0 to 126)
H
H
Set the length of the data to write. (Unit: byte)
Set value: 1 to 240
Set the slot No. to write.
Set value: 0 to 254
Set the index to write.
Set value: 0 to 255
Set the data to write.
b15
Data 2
+5 (+5
)
H
+6 (+6
)
Data 4
H
to
124 (+7C
)
Data 240
H
Empty area (Write 0000
.)
H
Set value: Fixed to 0000
H
7.4 Program Example for Acyclic Communication with DP-Slaves
7.4.2 WRITE services (Class1_SERVICE, Class2_SERVICE)
Description/Set Value
b7
b0
1)
b7
b0
1)
b8
b7
Data 1
Data 3
Data 239
b0
7
- 20
1
2
3
4
5
6
7
8

Advertisement

Table of Contents
loading

Table of Contents