Rockwell Automation 20-750-ENETR PowerFlexDual-Port EtherNet/IP Option Module User Manual

Page 110

Advertising
background image

110

Rockwell Automation Publication 750COM-UM008A-EN-P - July 2012

Chapter 6

Using Explicit Messaging (Adapter mode only)

ControlLogix Controller Example Scattered Write Request Data

In this message example, we use the data structure in

Figure 34

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 163

(Class code 0x93) or

Host DPI

Parameter Object on page 177

(Class code 0x9F) for parameter numbering.

Figure 34

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 34 - 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 35

). Values of “0” indicate no errors occurred.

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

Advertising