Formatting a message to write multiple parameters – Rockwell Automation 25-COMM-E2P PowerFlex 25-COMM-E2P Dual-Port EtherNet/IP Adapter User Manual
Page 84

84
Rockwell Automation Publication 520COM-UM003A-EN-E - June 2013
Chapter 6
Using Explicit Messaging
Example Ladder Logic to Write Multiple Parameters
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
CompactLogix controller message to write multiple parameters.
IMPORTANT
This example scattered write message writes to NVS. Over time, continuous
writes will exceed the EEPROM life cycle and cause the drive to malfunction.
If you need to make frequent parameter changes using Explicit Messages, set
Host parameter C121 [Comm Write Mode] to 1 “RAM only”.
Configuration Tab
Example Value
Description
Message Type
Service Type
(1)
Service Code
(1)
Class
Instance
Attribute
(2)
Source Element
Source Length
Destination
CIP Generic
Custom
0x34 (Hex.)
93
(4)
0 (Dec.)
0 (Hex.)
Scattered_Write_Request
(5)
20 bytes
(5)
Scattered_Write_Response
(6)
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)
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.
Execute_Scattered_Write_Message
Message
Message Control
Scattered_Write_Message
MSG
EN
DN
ER