Rockwell Automation 25B PowerFlex 525 Embedded EtherNet/IP Adapter User Manual
Page 78
![background image](/manuals/577594/78/background.png)
78
Rockwell Automation Publication 520COM-UM001B-EN-E - March 2013
Chapter 6
Using Explicit Messaging
CompactLogix – Formatting a Message to Write Multiple Parameters
Scattered Write Multiple Message Configuration Screens
The following table identifies the data that is required in each box to configure a
message to write multiple parameters.
Configuration Tab
Example Value
Description
Message Type
Service Type
(1)
Service Code
(1)
Class
Instance
Attribute
(2)
Source Element
Source Length
Destination
(1) The default setting for Service Type is “Custom,” enabling entry of a Service Code not available from the Service Type pull-down
menu. When choosing a Service Type other than “Custom” from the pull-down menu, an appropriate Hex. value is automatically
assigned to the Service Code box which is dimmed (unavailable).
(2) Scattered writes always write parameter values to the drive’s Non-Volatile Storage (EEPROM) memory, so these values will remain
even after the drive is power cycled. Important: Be very cautious as the EEPROM may quickly exceed its life cycle and cause the
drive to malfunction. Important: If you need to make frequent parameter changes using Explicit Messages, set parameter C121
[Comm Write Mode] to 1 “RAM only”.
CIP Generic
Custom
0x34 (Hex.)
93
(4)
0 (Dec.)
0 (Hex.)
Scattered_Write_Request
(5)
20 bytes
(5)
Scattered_Write_Response
(6)
(4) See
Explicit Messaging Class Code Compatibility with PowerFlex 525 Drives on page 70
for limitations of PowerFlex 525 drives when
using DPI Parameter Object Class code 0x93 for explicit messaging.
(5) In this example, we are writing to five 16-bit parameters. Each parameter being written to requires two contiguous INT registers.
Also, the Source Length field on the Message Configuration screen must correspond to the selected Data Type in bytes (for this
example, 20 bytes for an array of ten INTs). Scattered write messages always assume that every parameter being written to is a 16-
bit parameter, regardless of its actual size. Maximum message length is 256 bytes which can write up to 64 parameters, regardless
of their size. For parameter numbering, see
DPI Parameter Object on page 141
(Class code 0x93).
Used to access the DPI Parameter Object in the adapter.
Required for scattered messages.
Code for the requested service.
Class ID for the DPI Parameter Object.
Required for scattered messages.
Required for scattered messages.
Name of the tag for any service data to be sent from the scanner
or bridge to the drive.
Number of bytes of service data to be sent in the message.
The tag where the data that is read is stored.
Communication Tab Example Value
Description
Path
(3)
(3) Click Browse to find the path, or type in the name of the device listed in the I/O Configuration folder (for this example,
PowerFlex_52X_Drive).
PowerFlex_52X_Drive
The path is the route that the message will follow.
Tag Tab
Example Value
Description
Name
Scattered_Write_Message
The name for the message.