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

Master/local module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Program example

The following program executes the Class1 instance communications and the Class1 tag communications by executing
STOP to RUN on the CPU module.
Originator-side program
Classification
Label name
Module label
GN11_SE_1.EIP.bSts_CommunicationDuringStartup
GN11_SE_1.EIP.bSts_CommunicationReady
GN11_SE_1.EIP.uSet_CommunicationStart_D
GN11_SE_1.EIP.unVal_Class1InputDataSize_Connection_D[2]
GN11_SE_1.EIP.bnSts_Class1DuringDataLink_Connection_D[2]
GN11_SE_1.EIP.bnSts_Class1Error_Connection_D[2]
GN11_SE_1.EIP.unSts_Class1ErrorStatus_Connection_In_D[2]
GN11_SE_1.EIP.unSts_Class1ErrorStatus_Connection_Out_D[2]
Labels to be
Define global labels as shown below.
defined
FBs to be used
• M+RJ71GN11_SE_EIP_Class1GetInputData
13 PROGRAMMING
308
13.2 Class1 Communications Communication Example
Description
EtherNet/IP communication in process
Communication Ready
EtherNet/IP communication start request
Class1 input data size (connection No.2)
Class1 data link status (connection No.2)
Class1 error status (connection No.2)
Class1 connection error status (error code for
connection No.2 input side (when receiving))
Class1 connection error status (error code for
connection No.2 output side (when sending))
Device
X10
X1F
U0\G7340096
U0\G7729153
U0\G7734272.1
U0\G7734288.1
U0\G7734530
U0\G7735042

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec iq-r cc-link ie tsn plus

Table of Contents