Program Example - Mitsubishi Electric Melsec Q Series User Manual

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

Advertisement

7
PROGRAMMING

7.4.5 Program example

(1) Settings
(2) Assignment of devices in program example
Device
X26
Acyclic communication execution command
Table7.29 List of Devices Used as Automatic Refresh or Buffer Memory Read Target
Device
D200 to
Slave status area (Normal communication detection)
D207
D3000 to
Acyclic communication response area
D3012
7
- 29
7.4 Program Example for Acyclic Communication with DP-Slaves
7.4.5 Program example
The example program in this section uses the following example requests.
Item
Request instruction No.
Service name
DP-Slave FDL address
Data length
Slot No.
Index
The program example in this section uses the following device assignments.
(a) Devices used by the user
Table7.28 List of Devices for the User
Description
(b) Devices used as automatic refresh or buffer memory read target
Description
Table7.27 Details of Program Example
Request instruction No.1
READ service (Class1_SERVICE)
FDL address 2
16 bytes
0
1
Device
M0
Refresh start request (
Device
M100 to
Acyclic communication request result area
M115
Description
Description
Section 7.1.1)
Description

Advertisement

Table of Contents
loading

Table of Contents