Mitsubishi Electric MELSEC iQ-R Series User Manual page 278

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

Advertisement

Message communications request data preparation
The following describes the setting procedure necessary for sending message communications command requests.
Any value can be set for a command request. However, if a command request not supported by the external device is sent, an
error response is returned.
1.
Check the manual for the external device operating as the server, and check the following details related to the service to
be used.
• The service code of the service to be used
• The class ID of the object to which the service to be used belongs
• The instance ID and attribute ID of the instance attribute to which the service to be used belongs
• The size of the request data and the request data to be sent to the service to be used
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
Settings
Communication method
Service
Target IP Address
Class
Instance
Attribute
Data Size
Request data
Option
Trigger Type
settings
RPI
*1 For a value to be set, refer to the manual for the external device.
*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 message communications, refer to the following.
Page 283 Sending/receiving data for the message communication function (client)
Precautions
An area available for UCMM message 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), the default value), an error (error
code: 0005H) is stored in 'Result storage area' (Un\G7752706) in the corresponding response area.
12 FUNCTIONS
276
12.3 Message Communication Function (Client)
*2
Address
Un\G7751680
Un\G7751681
Un\G7751685
Un\G7751686
Un\G7751687
Un\G7751710
Un\G7751711
Un\G7751712
Un\G7751708
Un\G7751846 to Un\G7752552
Un\G7751690
Un\G7751688
Setting details
0001H: UCMM communications (fixed)
0001H: Message communications
*1
Service code
IP address of the external device (lower)
IP address of the external device (upper)
*1
Class ID
*1
Instance ID
*1
Attribute ID
*1
Size of request data (bytes)
Set 0 if the setting is not required.
Request data (specified in a little-endian format byte string)
The setting is not required if not necessary.
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

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec iq-r cc-link ie tsn plus

Table of Contents