Program Example Of Ucmm Message Communications; Program Example - Mitsubishi Electric MELSEC iQ-F Series User Manual

Programmable controller
Hide thumbs Also See for MELSEC iQ-F Series:
Table of Contents

Advertisement

9.2
Program Example of UCMM Message
Communications
This section provides a program example using the client function of UCMM message communications.

Program example

The following example shows a program to execute UCMM message communications by turning on the UCMM command
send request (M100) in the program.
Labels used in the program
Classification
Label name
Module label
FX5ENETIP_1bSts_ModuleReady_D
FX5ENETIP_1bSet_CommunicationStartupRequest_D
FX5ENETIP_1bnSts_Class3UCMMApplicationTriggerRequest_Connection_D[1]
FX5ENETIP_1.bnSts_Class3UCMMApplicationTriggerAcceptance_Connection_D[1]
FX5ENETIP_1bnSts_Class3UCMMApplicationTriggerCompletion_Connection_D[1]
FX5ENETIP_1.unArea_Class3UCMMInputDataArea_D[32]
FX5ENETIP_1.unArea_Class3UCMMOutputDataArea_D[0]
FX5ENETIP_1.unArea_Class3UCMMOutputDataArea_D[1]
FX5ENETIP_1.unArea_Class3UCMMOutputDataArea_D[2]
FX5ENETIP_1.unArea_Class3UCMMOutputDataArea_D[3]
FX5ENETIP_1.unArea_Class3UCMMOutputDataArea_D[6]
FX5ENETIP_1.unArea_Class3UCMMOutputDataArea_D[7]
FX5ENETIP_1.unArea_Class3UCMMOutputDataArea_D[8]
FX5ENETIP_1.unArea_Class3UCMMOutputDataArea_D[9]
FX5ENETIP_1.unArea_Class3UCMMOutputDataArea_D[32]
Label to be
Define global labels as shown below.
defined
Description
Module ready
EtherNet/IP communication start
request
ApplicationTrigger request
(UCMM)
ApplicationTrigger acceptance
(UCMM)
ApplicationTrigger completion
(UCMM)
UCMM communications input
data area (Receive data)
UCMM communications output
data area (Explicit message
request type)
UCMM communications output
data area (Target IP Address
(lower))
UCMM communications output
data area (Target IP Address
(upper))
UCMM communications output
data area (Service (service code))
UCMM communications output
data area (Class (class ID))
UCMM communications output
data area (Instance (instance ID))
UCMM communications output
data area (Attribute (attribute ID))
UCMM communications output
data area (Data length (data size))
UCMM communications output
data area (Request data)

9.2 Program Example of UCMM Message Communications

Device
U1\G34.b0
U1\G37.b0
U1\G5274.b0
U1\G5278.b0
U1\G5282.b0
U1\G36032
to U1\G36738
U1\G84000
U1\G84001
U1\G84002
U1\G84003
U1\G84006
U1\G84007
U1\G84008
U1\G84009
U1\G84032
to U1\G84738
9 PROGRAMMING
105
9

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx5-enet/ip

Table of Contents