Mitsubishi Electric Melsec Q Series User Manual page 205

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

Advertisement

7
PROGRAMMING
(1) Making a sequence program
The following example program is created for executing request instruction No.1.
For details on the program example, refer to Section 7.4.5.
I/O data
exchange
normal
DP-Slave
I/O data
exchange
exchange
normal
normal
Acyclic
communication
execution command
Completion status
I/O data
exchange
Normally completed
normal
= Un\G25121Response code
Failed
<>Un\G25121Response code
Acceptance
status
Completion status
Figure 7.14 Sequence Program (Acyclic Communication)
7.4 Program Example for Acyclic Communication with DP-Slaves
Reads the execution result and
completion status. ( Un\G 25120)
Writes the request instruction.
(Un\G23809 to Un\G23936)
Writes the execution instruction.
(Set the value to 1.) (Un\G23808 )
Read the response code and error code.
(Un\G25121)
Reads the execution result.
(Un\G25122 to Un\G25248)
Writes the execution instruction.
(Un\G23808)
(Set the value to 0.)
Reads the detailed error code.
(Un\G25122 to Un\G25248)
Processing for failed completion
Writes the execution instruction.
(Set the value to 0.)
( Un\G23808)
1
2
3
4
5
6
7
8
7
- 16

Advertisement

Table of Contents
loading

Table of Contents