100 Rockwell Automation Publication 750COM-UM009A-EN-P - May 2017
Chapter 5 Using Explicit Messaging
Formatting a Message to Read a Single Parameter
Figure 20 - Get Attribute Single Message, Configuration Dialog-boxes
The following table identifies the data that is required in each box to configure
a message to read a parameter.
Configuration Tab Example Value Description
Message Type
Service Type
(1)
Service Code
(1)
Class
Instance
(2)
Attribute
Source Element
Source Length
Destination
CIP Generic (network)
Get Attribute Single
e (hexadecimal)
93 or 9F (hexadecimal)
(4)
40963 (Dec.)
9 (hexadecimal)
—
0-bytes
Output_Current
(5)
Used to access the DPI Parameter Object in the drive.
This service is used to read a parameter value.
Code for the requested service.
Class ID for the DPI Parameter Object or Host DPI Parameter Object.
Instance number is parameter number plus port offset.
Attribute number for the Parameter Value attribute.
Leave blank (not applicable).
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)
My_PowerFlex_755T_Drive The path is the route that the message follows.
Tag Tab Example Value Description
Name Single_Read_Message The name for the message.
(1) The default setting for Service Type is ‘Custom’, which enables the 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, the appropriate hexadecimal value is automatically assigned to the Service Code box, which is dimmed
(unavailable).
(2) The instance is the parameter number plus the offset for the port. For example, to read 10:3 - [Output Current] of a PowerFlex 755T drive, the instance would be 40960
+ 3 = 40963. See DPI Parameter Object on page 145
(Class code 0x93) or The number of instances depends on the maximum number of faults or events that are
supported in the queue. The maximum number of faults/events can be read in Instance 0, Attribute 2. on page 154 (Class code 0x9F) to determine the instance number.
(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, My_PowerFlex_755T_Drive).
(4) See Table 8 on page 96
for limitations of PowerFlex 755T drives when using DPI Parameter Object Class code 0x93 or Host DPI Parameter Object Class code 0x9F for
Explicit Messaging.
(5) In this example, Output Current is a 32-bit REAL (floating point) parameter that requires the Data Type field to be set to ‘REAL’ when creating the controller tag. To read a
32-bit integer parameter, set the tag Data Type field to ‘DINT’. For a 16-bit parameter, set the Data Type field to ‘INT’. See the drive documentation to determine the size
of the parameter and its data type.