Rockwell Automation 20-750-CNETC PowerFlex Coaxial ControlNet Option Module User Manual

Page 85

Advertising
background image

Rockwell Automation Publication 750COM-UM003B-EN-P - November 2012

85

Using Explicit Messaging

Chapter 6

ControlLogix Controller Example Scattered Write Request Data

In this message example, we use the data structure in

Figure 29

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 115

(Class code 0x93) or

Host DPI

Parameter Object on page 129

(Class code 0x9F) for parameter numbering.

Figure 29

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 29 - 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 30

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

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