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

Ethernet/ip network interface module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Program example

The following program executes Class1 instance communications and the Class1 tag communications by executing STOP →
RUN on the CPU module.
In addition, the following program reads the connection information by turning on the connection information read request
command in the program.
Program of the RJ71EIP91 (originator)
Classification
Label name
Module label
EIP91_1.bSts_ModuleReady
EIP91_1.bSts_CommunicationDuringStartup
EIP91_1.bSts_ConnectionInfoReadComplete
EIP91_1.bSts_ConnectionInfoReadError
EIP91_1.bSts_CommunicationReady
EIP91_1.bSet_CommunicationStartupRequest
EIP91_1.bSet_ConnectionInfoRequest
EIP91_1.uSet_ConnectionInfoReadReq_D
EIP91_1.unArea_ConnectionInformationArea_D
EIP91_1
Label to be
Define global labels as shown below.
defined
Description
Module Ready
EtherNet/IP communication in process
Connection information read completion
Connection information read error
Communication Ready
EtherNet/IP communication start request
Connection information read request
Connection information request area
Connection information area
Module label
7.1 Communication Example between RJ71EIP91 and EtherNet/IP Device
Device
X0
X10
X14
X15
X1F
Y10
Y14
U0\G28288
U0\G28290
7 COMMUNICATION EXAMPLE
7
41

Advertisement

Table of Contents
loading

Table of Contents