beautypg.com

Rockwell Automation 25B PowerFlex 525 Embedded EtherNet/IP Adapter User Manual

Page 79

background image

Rockwell Automation Publication 520COM-UM001B-EN-E - March 2013

79

Using Explicit Messaging

Chapter 6

CompactLogix Example Scattered Write Request Data

In this message example, we use the source tag (Scattered_Write_Request) to
write new values to these 16-bit parameters:

Example Scattered Write Request Converted Data on page 79

shows the

parameter values.

Example Scattered Write Request Converted Data

CompactLogix Example Scattered Write Response Data

The results of the message appear in the destination tag named
Scattered_Write_Response (

Example Scattered Write Response Data on

page 79

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

Example Scattered Write Response Data

CompactLogix – Explanation of Request and Response Data for Read/
Write Multiple Messaging

The data structures in

Data Structures for Scattered Read Messages on page 80

and

Data Structures for Scattered Write Messages on page 81

use 16-bit words

and can accommodate up to 64 parameters in a single message. In the Response
Message, a parameter number with Bit 15 set indicates that the associated
parameter value field contains an error code (parameter number in response data
will be negative).

(6) The controller tag for “Scattered_Write_Response” must be the same size as the controller tag for “Scattered_Write_Request” (for

this example, 20 bytes). An array of INTs is suggested to be able to read any error codes that are returned.

PowerFlex 525 Drive Parameters

Write Value

A442 [Accel Time 2]

11.10 Sec

A443 [Decel time 2]

22.20 Sec

A415 [Preset Freq 5]

33.30 Hz

A416 [Preset Freq 6]

44.40 Hz

A417 [Preset Freq 7]

55.50 Hz