Rockwell Automation 20-COMM-E PowerFlex EtherNet/IP Adapter User Manual
Page 135
![background image](/manuals/577124/135/background.png)
Using Explicit Messaging
6-9
20-COMM-E EtherNet/IP Adapter User Manual
Publication 20COMM-UM010G-EN-P
ControlLogix Controller – Formatting a Message to Write a Single Parameter Using
RSLogix 5000 Software, Version 15.00 or Later
Figure 6.7 Parameter Write Single Message Configuration Screens
The following table identifies the data that is required in each box to
configure a message to write a single parameter.
Configuration Tab
Example Value
Description
Message Type
Service Type
(1)
Service Code
Class
Instance
(2)
Attribute
Source Element
Source Length
CIP Generic
Parameter Write
10 (Hex.)
f (Hex.)
140 (Dec.)
1 (Hex.)
Accel_Time_1
(4)
Used to access the Parameter Object in the adapter.
This service is used to write a parameter value.
Code for the requested service.
Class ID for the DPI Parameter Object.
Instance number is the same as parameter number.
Attribute number for the Parameter Value attribute.
Name of the tag for any service data to be sent from the
scanner or bridge to the adapter/drive.
Number of bytes of service data to be sent in the message.
Communication Tab Example Value
Description
Path
(3)
My_PowerFlex_Drive
The path is the route that the message will follow.
Tag Tab
Example Value
Description
Name
Single_Write_Message
The name for the message.
(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)
Only drive parameters (Port 0) can be written to using Parameter Object Class code 0x0F. To write to a parameter of a
peripheral in another port, use DPI Parameter Object Class code 0x93 (see
).
(3)
Click
Browse to find the path, or type in the name of the device listed in the I/O Configuration folder.
(4)
In this example, Accel Time 1 is a 16-bit integer parameter requiring the tag Data Type field to be set to ‘INT’ when creating
the controller tag. If the parameter being written to is a 32-bit integer, the tag Data Type field must be set to ‘DINT’. Also, the
Source Length field on the Message Configuration screen must correspond to the selected Data Type in bytes (for
example, 4 bytes for a DINT or a REAL). When using a PowerFlex 700S drive or PowerFlex 750-Series drive, Accel Time 1
is a floating point number requiring the Data Type field to be set to ‘REAL’ when creating the controller tag. See the drive
documentation to determine the size of the parameter and its data type (16-bit or 32-bit integer or REAL).