108 Rockwell Automation Publication 750COM-UM009A-EN-P - May 2017
Chapter 5 Using Explicit Messaging
ControlLogix Controller Example Scattered Write Request Data
In this message example, we use the data structure in Figure 28 in the source tag
(Scattered_Write_Request) to write new values to these floating point(32-bit
REAL) parameters. The values are written as Port Number: Parameter
Number - [Parameter Name].
See DPI Parameter Object on page 145
(Class code 0x93) or Host DPI
Parameter Object on page 163 (Class code 0x9F) for parameter numbering.
Figure 28
shows the parameter values which, in this example, have been
converted using a UDDT to write their values. COP (copy) instructions could
have been used for this purpose instead of a UDDT. If the parameters being
written are 32-bit integers, do not COP (copy) the data to a REAL tag.
Figure 28 - Example Scattered Write Request Converted Data
ControlLogix Controller Example Scattered Write Response Data
The results of the message appear in the destination tag named
Scattered_Write_Response (Figure 29
). Values of ‘0’ indicate that no errors
occurred.
Figure 29 - Example Scattered Write Response Data
PowerFlex 755T Drive Parameter Write Value
10:1916 - [VRef Accel Time 2] 11.1 Sec
10:1918 - [VRef Decel Time 2] 22.2 Sec
10:1818 - [Preset Speed 5] 33.3 Hz
10:1819 - [Preset Speed 6] 44.4 Hz
10:1820 - [Preset Speed 7] 55.5 Hz