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

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

Advertisement

Program example

The following example shows a program to execute UCMM message communications by turning on the UCMM command
send request in the program.
Classification
Label name
Module label
EIP91_1.bSts_ModuleReady
EIP91_1.bSts_CommunicationReady
EIP91_1.bSet_CommunicationStartupRequest
EIP91_1.bnSet_UCMMSendRequest_D
EIP91_1.bnSts_UCMMSendRequestAcceptance_D
EIP91_1.bnSts_UCMMSendCompletion_D
EIP91_1.stnUCMMCommandArea[1].unSet_Request_TargetIPAddress_D[0]
EIP91_1.stnUCMMCommandArea[1].unSet_Request_TargetIPAddress_D[1]
EIP91_1.stnUCMMCommandArea[1].uSet_Request_Service_D
EIP91_1.stnUCMMCommandArea[1].uSet_Request_Class_D
EIP91_1.stnUCMMCommandArea[1].uSet_Request_Instance_D
EIP91_1.stnUCMMCommandArea[1].uSet_Request_Attribute_D
EIP91_1.stnUCMMCommandArea[1].uSet_Request_DataLength_D
EIP91_1.stnUCMMCommandArea[1].unSet_Request_RequestData_D
EIP91_1.stnUCMMCommandArea[1].unResult_Response_ReceiveData_D
Label to be
Define global labels as shown below.
defined
4 PROGRAMMING
102
4.1 Program Example of UCMM Message Communications
Description
Module Ready
Communication Ready
EtherNet/IP communication start
request
UCMM data link execution
request
UCMM data link execution
request acceptance
UCMM data link execution
completion
UCMM data link request
command (No.1)
Target IP Address (lower)
UCMM data link request
command (No.1)
Target IP Address (upper)
UCMM data link request
command (No.1)
Service
UCMM data link request
command (No.1)
Class
UCMM data link request
command (No.1)
Instance
UCMM data link request
command (No.1)
Attribute
UCMM data link request
command (No.1)
Data length
UCMM data link request
command (No.1)
Request data
UCMM data link receive
command (No.1)
Receive data
Device
X0
X1F
Y10
U0\G393216.0
U0\G393232.0
U0\G393248.0
U0\G393281
U0\G393282
U0\G393283
U0\G393286
U0\G393287
U0\G393288
U0\G393289
U0\G393312
U0\G394080

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec iq-rj71eip91

Table of Contents