7 COMMUNICATION EXAMPLE
7.1 Communication Example of the RJ71PN92 and an IO Device
35
7
Program example for data exchange
Classification
Label name
Description
Device
Module label
RCPU.stSM.bAlways_ON
Always on
SM400
Global label that was
updated in the
RJ71PN92
glRJ71PN92_1.stMgmtOutputs.bReq_DataExchangeStartRequest
Data exchange start request
W0.0
glRJ71PN92_1.SLV001SLOT003DataStructOut.SLOT003_BIT_0
Output data to IO device 1
W100.0
glRJ71PN92_1.SLV001SLOT003DataStructOut.SLOT003_BIT_1
W100.1
glRJ71PN92_1.stMgmtInputs.bSts_ConfigurationStatus
Parameter setting status
W1000.0
glRJ71PN92_1.stMgmtInputs.bSts_DiagnosticError
Module error
W1001.0
glRJ71PN92_1.stMgmtInputs.bnSts_IODevicesConnStatus[1]
IO device communication status
W1023.1
glRJ71PN92_1.stMgmtInputs.bnSts_IODevicesErr[1]
IO device error
W102B.1
glRJ71PN92_1.SLV001SLOT002DataStructIn.SLOT002_BIT_0
Input data to IO device 1
W1100.0
glRJ71PN92_1.SLV001SLOT002DataStructIn.SLOT002_BIT_1
W1100.1
glRJ71PN92_1.SLV001SLOT002DataStructIn.SLOT002_BIT_2
W1100.2
glRJ71PN92_1.SLV001SLOT002DataStructIn.SLOT002_BIT_3
W1100.3
Label to be defined
Define global labels as shown below:
(7) Program to process I/O data to IO device 1
Summary of Contents for RJ71PN92
Page 1: ...MELSEC iQ R PROFINET IO Controller Module User s Manual Startup RJ71PN92 ...
Page 2: ......
Page 17: ...1 PART NAMES 15 1 MEMO ...
Page 19: ...2 SPECIFICATIONS 2 1 Performance Specifications 17 2 MEMO ...
Page 21: ...3 FUNCTION LIST 19 3 MEMO ...
Page 23: ...4 PROCEDURES BEFORE OPERATION 21 4 MEMO ...
Page 38: ...36 7 COMMUNICATION EXAMPLE 7 1 Communication Example of the RJ71PN92 and an IO Device MEMO ...
Page 40: ...38 APPENDIX Appendix 1 External Dimensions MEMO ...
Page 41: ...APPENDIX Appendix 1 External Dimensions 39 A MEMO ...
Page 43: ...I 41 MEMO ...
Page 47: ......