beautypg.com

Rockwell Automation 20-750-DNET PowerFlex DeviceNet Option Module User Manual

Page 77

background image

Rockwell Automation Publication 750COM-UM002B-EN-P - October 2012

77

Using Explicit Messaging

Chapter 6

ControlLogix Controller Example Scattered Write Request Data

In this message example, we use the data structure in

Figure 23

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 109

(Class code 0x93) or

Host DPI

Parameter Object on page 123

(Class code 0x9F) for parameter numbering.

Figure 23

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 23 - 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 24

). Values of ‘0’ indicate no errors occurred.

Figure 24 - 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