
Rockwell Automation Publication 750COM-UM001E-EN-P - October 2013 103
Using Explicit Messaging Chapter 6
ControlLogix Controller Example Scattered Write Request Data
In this message example, we use the data structure in Figure 30 in the source tag
(Scattered_Write_Request) to write new values to these 32-bit REAL (floating
point) parameters:
See DPI Parameter Object
on page 148 (Class code 0x93) or Host DPI
Parameter Object on page 162 (Class code 0x9F) for parameter numbering.
Figure 30
shows the parameter values which, in this example, have been
converted using a UDDT to correctly write their values. COP (Copy)
instructions could have been used for this purpose instead of a UDDT. If the
parameters being written to are 32-bit integers, do not COP the data to a REAL
tag.
Figure 30 - 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 31
). Values of ‘0’ indicate no errors occurred.
Figure 31 - Example Scattered Write Response Data
PowerFlex 750-Series Drive Parameter Write Value
536 - [Accel Time 2] 11.1 Sec
538 - [Decel Time 2] 22.2 Sec
575 - [Preset Speed 5] 33.3 Hz
576 - [Preset Speed 6] 44.4 Hz
577 - [Preset Speed 7] 55.5 Hz
Komentarze do niniejszej Instrukcji