Program Example - Mitsubishi Electric MELSEC iQ-R Series User Manual

Profibus-dp module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Program example

When the DP-Master starts I/O data exchanges, the DP-Slave automatically starts receiving the output data. However,
sending input data from the DP-Slave must be instructed from a program.
• DP-Master (FDL address 0)
Classificatio
Label name
n
Module label
RCPU.stSM.bAfter_RUN1_Scan_ON
Global label that
glRJ71PB91V_1.stMgmtInputs_D.bDataExchStartCompleted
was updated in
the RJ71PB91V
glRJ71PB91V_1.stMgmtInputs_D.bCommunicationReady
glRJ71PB91V_1.stMgmtInputs_D.bModuleReady
glRJ71PB91V_1.stMgmtInputs_D.bWatchdogTimerError
glRJ71PB91V_1.stMgmtOutputs_D.bDataExchStartRequest
glRJ71PB91V_1.stMgmtOutputs_D.uSet_DiagnosticInfoInvalid_D
glRJ71PB91V_1.stMgmtOutputs_D.uSet_DiagnosticInfoNon_notificationTime_D
glRJ71PB91V_1.stMgmtInputs_D.b128CommunicationStatus_D[0]
glRJ71PB91V_1.stMgmtInputs_D.b128CommunicationStatus_D[1]
glRJ71PB91V_1.stMgmtOutputs_D.bnReqTemporarySlaveReservation_D[2]
glRJ71PB91V_1.vSLV002MOD001.outputs
glRJ71PB91V_1.vSLV001MOD001.outputs[0]
glRJ71PB91V_1.vSLV002MOD002inputs[0]
glRJ71PB91V_1.vSLV001MOD006.inputs
glRJ71PB91V_1.vSLV001MOD006.outputs[0]
Label to be
Define global labels as shown below:
defined
7 COMMUNICATION EXAMPLE
46
7.1 Communication example of I/O data exchanges
Description
After RUN, ON for 1 scan only
Data exchange start completed
signal
Communication READY signal
Module ready signal
Module watchdog timer error signal
Data exchange start request signal
Diagnostic information invalid setting
area
Diagnostic information non-
notification time setting area
Slave status area (Normal
communication detection) on the first
device
Slave status area (Normal
communication detection) on the
second device
Temporarily reserved station
specification request area on the
third device
ET200S output data
91V output data (Slot 1 output)
ET200S input data
91V input data (Slot 6 input)
91V output data (Slot 6 output)
Device
SM402
X0
X1B
X1D
X1F
Y0
U0\G2080
U0\G2084
U0\G23040.0
U0\G23040.1
U0\G23608.2
D1015.0
D1008
D1006.0
D1005
D1014

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rj71pb91v

Table of Contents