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 Class3 message communications program is executed by changing the CPU module from STOP to RUN.
The following example shows a program to execute Class3 message communications by turning on the Class3 message
command sent request in the program. (A server-side program is not required.)
When the program is executed, the following request commands are sent to the server side.
Item
Class ID
Instance ID
Service code
Attribute ID
Request data
Client-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
Labels to be
Define global labels as shown below.
defined
FBs to be used
• M+RJ71GN11_SE_EIP_Class3Originator_MessageSend
13 PROGRAMMING
332
13.5 Class3 Message Communications Communication Example
Data to be specified
01H
01H
01H
00H
0
Description
Specifies the identity object.
Get_Attributes_All (Acquires all attributes of the instances specified by Class ID and
Instance ID.)
Due to the "Get_Attributes_All" command, no specific Attribute ID is specified.
Specifies the request data size as 0.
Description
EtherNet/IP communication in process
Communication Ready
EtherNet/IP communication start request
Device
X10
X1F
U0\G7340096

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec iq-r cc-link ie tsn plus

Table of Contents