beautypg.com

Rockwell Automation 20-COMM-Q ControlNet Adapter User Manual

Page 189

background image

Using Explicit Messaging

6-61

20-COMM-C/Q ControlNet Adapter User Manual

Publication 20COMM-UM003F-EN-P

SLC 500 Controller Example Scattered Write Request Data

In this message example, we use the data table addresses in

Figure 6.77

or

Figure 6.80

to store the request values to be written to these drive

parameters.

See

DPI Parameter Object on page C-16

(Class code 0x93) or

Host DPI

Parameter Object on page C-30

(Class code 0x9F) for parameter

numbering.

Figure 6.77

or

Figure 6.80

shows the parameter values.

Figure 6.77 Example Scattered Write Request Data File for PowerFlex 7-Class Drive

SLC 500 Controller Example Scattered Write Response Data

In this message example, we use the data table addresses in

Figure 6.78

to

store the response values that were written to the requested drive
parameters. Values of ‘0’ indicate no errors occurred.

Figure 6.78 Example Scattered Write Response Data File for PowerFlex 7-Class Drive

The PowerFlex 750-Series drive uses 32-bit integer and REAL parameters.
A COP command must be used to copy the 16-bit integer or REAL values
to the N90 integer array.

Figure 6.79

shows the ladder logic used for this

example. If the parameter data type is a 32-bit integer, the data remains split
into two 16-bit integers since there are no 32-bit integers in the SLC 500

PowerFlex 7-Class
Drive Parameter

Address

Write Value

PowerFlex 750-Series
Drive Parameter

Write Value

Data Type

141 - [Accel Time 2]

N90:1

11.1 Sec.

536 - [Accel Time 2]

11.1 Sec.

REAL

143 - [Decel Time 2]

N90:4

22.2 Sec.

538 - [Decel Time 2]

22.2 Sec.

REAL

105 - [Preset Speed 5]

N90:7

33.3 Hz.

725 - [Zero Position]

33

32-bit integer

106 - [Preset Speed 6]

N90:10

44.4 Hz.

21555 - [Port 5: Analog In0 Hi]

5.5

REAL

107 - [Preset Speed 7]

N90:13

55.5 Hz.

780 - [PTP Setpoint]

-75,555

32-bit integer

This manual is related to the following products: