Program Example Using The Mov Instruction - 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.3 Program example using the MOV instruction

This section explains a program in which the QJ71PB92V communicates with a DP-Slave
using the MOV instruction.
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.11 I/O Data Exchange Program Example (MOV instruction)
Not needed when the initial setting is not changed.
Section 7.1.1 (2)(a)
7.1 I/O Data Exchange Program Examples
7.1.3 Program example using the MOV instruction
)
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
Reading input data
Reads Slave status area.
Writing output data
7
- 12
1
2
3
4
5
6
7
8

Advertisement

Table of Contents
loading

Table of Contents