Rockwell Automation 20-COMM-Q ControlNet Adapter User Manual

Page 187

Advertising
background image

Using Explicit Messaging

6-59

20-COMM-C/Q ControlNet Adapter User Manual

Publication 20COMM-UM003F-EN-P

SLC 500 Controller Example Ladder Logic Program to Write Multiple Parameters
Using Generic Get/Set Attribute Service

A Custom scattered write message is used to write to multiple parameters.
This write message example writes the following values to these five
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.

Important: See

Table 6.A on page 6-2

for limitations of PowerFlex 7-Class

and PowerFlex 750-Series drives when using DPI Parameter
Object Class code 0x93 or Host DPI Parameter Object Class
code 0x9F for explicit messaging.

Figure 6.75 Example Ladder Logic to Write Multiple Parameters

Important: If the explicit message scattered write must be written

continuously, then use a separate Generic Set service explicit
message single write for each parameter using DPI Parameter
Object Class code 0x93 or Host DPI Parameter Object Class
code 0x9F and attribute A (10 decimal; see

page 6-51

).

Attribute A writes to RAM—not NVS (EEPROM) memory.
This example scattered write message using attribute 0 writes to
NVS. Over time, continuous writes will exceed the EEPROM
life cycle and cause the drive to malfunction.

PowerFlex 7-Class
Drive Parameter

Write Value

PowerFlex 750-Series
Drive Parameter

Write Value

141 - [Accel Time 2]

11.1 Sec.

536 - [Accel Time 2]

11.1 Sec.

143 - [Decel Time 2]

22.2 Sec.

538 - [Decel Time 2]

22.2 Sec.

105 - [Preset Speed 5]

33.3 Hz.

725 - [Zero Position]

33

106 - [Preset Speed 6]

44.4 Hz.

21555 - [Port 5: Analog In0 Hi]

5.5

107 - [Preset Speed 7]

55.5 Hz.

780 - [PTP Setpoint]

-75,555

Advertising
This manual is related to the following products: