Mitsubishi Electric MELSEC iQ-R Series User Manual page 282

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

Advertisement

Tag communications request data preparation
The following describes the setting procedure necessary for executing tag communications.
1.
Check the content of the tag to be used for tag communications (tag name and size of the tag registered in the external
device).
2.
Based on the check results of step 1, set the following details in the request area of 'Class3/UCMM communication area'
(Un\G7751680 to Un\G8275967).
Item
Name
Required
Communication method specification
Settings
Communication method specification
Service
Target IP address
Data Type
Data Size
Request data
Option
Trigger Type
settings
RPI
Path Segment specification (Segment
*1
Size)
Path Segment specification (Path
Segment)
*1 For details on Path Segment, refer to the following.
Page 498 Class3/UCMM communication area
*2 Each address in the column belongs to the first area. To use an area other than the first area, add 2048  (N-1) to the address value of
the first area.
Data sending/receiving
For details on sending and receiving data for UCMM tag communications, refer to the following.
Page 283 Sending/receiving data for the message communication function (client)
Precautions
An area available for UCMM tag communications is limited to an area where a Class3 communications parameter is not set in
"EtherNet/IP Configuration".
If a request is executed by using an area not available for UCMM communications (request area where the value of
'Communication method specification' (Un\G7751680) is 0002H (Class3 communications)), an error (error code: 0005H) is
stored in 'Result storage area' (Un\G7752706) in the corresponding response area.
12 FUNCTIONS
280
12.3 Message Communication Function (Client)
Address
Un\G7751680
Un\G7751681
Un\G7751685
Un\G7751686
Un\G7751687
Un\G7751707
Un\G7751708
Un\G7751846 to
Un\G7752552
Un\G7751690
Un\G7751688
Un\G7751691
Un\G7751692
*1
*2
Setting details
0001H: UCMM communications (fixed)
0002H: Tag communications
• 124CH: UCMM/Class3 Read Originator (for Read request)
• 124DH: UCMM/Class3 Write Originator (for Write request)
IP address of the external device (lower)
IP address of the external device (upper)
• 00C3H: INT (signed 16-bit data)
• 00C4H: DINT (signed 32-bit data)
Specify the size as the number of tag elements for Read or Write.
Write data for Write request
An area of the size (Data Size)  (Data Type type) becomes valid.
(1 (word) when Data Type is [INT], and 2 (word) when Data Type is [DINT])
When UCMM/Class3 Read Originator is set for Service, the setting is not
required.
0010H: Cyclic
When Cyclic is set, data is periodically sent at the interval set for RPI.
00C8H to EA60H (200ms to 60000ms)
Set any sending interval.
1 (with added Path Segment)
Lower 8 bytes: Port number, Upper 8 bytes: Slot number

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec iq-r cc-link ie tsn plus

Table of Contents