Program Example Of The Data Consistency Function; Input Data Consistency - Mitsubishi Electric MELSEC iQ-R Series User Manual

Profinet io controller module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

4.4
Program Example of the Data Consistency
Function
This section provides a program example using the data consistency function.

Input data consistency

Classification
Label name
Module label
RCPU.stSM.bAlways_ON
Global label that
glRJ71PN92_1.stMgmtOutputs.bReq_DataExchangeStartRequest
was updated in
glRJ71PN92_1.stMgmtOutputs.bnSet_DataConsistencySetting[1]
the RJ71PN92
glRJ71PN92_1.stMgmtOutputs.bnReq_IODevicesHandshakeInputRequest[1]
glRJ71PN92_1.stMgmtInputs.bSts_ConfigurationStatus
glRJ71PN92_1.stMgmtInputs.bSts_DiagnosticError
glRJ71PN92_1.stMgmtInputs.bnAcpt_IODevicesHandshakeInput[1]
glRJ71PN92_1.stMgmtInputs.bnSts_IODevicesConnStatus[1]
glRJ71PN92_1.stMgmtInputs.bnSts_IODevicesErr[1]
glRJ71PN92_1.SLV001SLOT002DataStructIn.SLOT002_BIT_0
glRJ71PN92_1.SLV001SLOT002DataStructIn.SLOT002_BIT_1
glRJ71PN92_1.SLV001SLOT002DataStructIn.SLOT002_BIT_2
glRJ71PN92_1.SLV001SLOT002DataStructIn.SLOT002_BIT_3
Label to be
Define global labels as shown below:
defined
Description
Always ON
Data exchange start request
Data consistency setting area
Data consistency valid/invalid (IO
device ID1)
CPU to PN handshake flag (data
consistency setting input area)
(IO device ID1)
Parameter setting status
Module error
PN to CPU handshake flag (data
consistency setting input area)
(IO device ID1)
IO device communication status
IO device error
Input data to IO device 1

4.4 Program Example of the Data Consistency Function

Device
SM400
U0\G17000.0
U0\G17033.1
U0\G17041.1
U0\G17118.0
U0\G17119.0
U0\G17128.1
U0\G17153.1
U0\G17161.1
U0\G36000.0
U0\G36000.1
U0\G36000.2
U0\G36000.3
4 PROGRAMMING
113
4

Advertisement

Table of Contents
loading

Table of Contents