Program Example Using Dedicated Instructions - 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.1.2 Program example using dedicated instructions

This section explains a program in which the QJ71PB92V communicates with DP-Slaves
using dedicated instructions.
This program example is based on the system configuration example shown in Section
7.1.
Program for DP-Slave control (
Program for reading diagnostic information (
Program for changing the operation mode (Self-diagnostics mode) (
Figure 7.10 I/O Data Exchange Program Example (Dedicated instructions)
Section 7.1.1 (2)(a)
7.1 I/O Data Exchange Program Examples
7.1.2 Program example using dedicated instructions
Not needed when the initial setting is not changed.
)
Section 7.1.1 (2)(b)
)
Section 7.1.1 (2)(c)
Turn ON the initial
setting execution command
Initializes Diagnostic info.
invalid setting area
Initializes Diagnostic info. non-
notification time setting area.
Specifies the 2nd temporary
slave reservation
Turn OFF the initial setting
execution command
Writes the initial
output data value.
I/O data exchange
start processing
BBLKRD execution
(Reading input data)
Reads Slave status area.
BBLKWR execution
(Writing output data)
)
7
- 10
1
2
3
4
5
6
7
8

Advertisement

Table of Contents
loading

Table of Contents