Write multiple parameters – Rockwell Automation 20-COMM-D DeviceNet Adapter Series B FRN 2.xxx User Manual

Page 144

Advertising
background image

6-16

Using Explicit Messaging

20-COMM-D DeviceNet Adapter User Manual

Publication 20COMM-UM002G-EN-P

Write Multiple Parameters

ControlLogix Controller Example Ladder Logic Program to Write Multiple
Parameters Using RSLogix 5000 Software, Any Version

A Scattered Write message is used to write to multiple parameters. This
write message example writes the following values to these five parameters
in a PowerFlex 7-Class drive.

See

DPI Parameter Object on page C-13

(Class Code 0x93) 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
Class code 0x93 for explicit messaging.

Table 6.G Example Controller Tags to Write Multiple Parameters

Figure 6.16 Example Ladder Logic to Write Multiple Parameters

Important: If the explicit message scattered write must be written

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

page 6-11

). 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

141 - [Accel Time 2]

11.1 Sec.

143 - [Decel Time 2]

22.2 Sec.

105 - [Preset Speed 5]

33.3 Hz.

106 - [Preset Speed 6]

44.4 Hz.

107 - [Preset Speed 7]

55.5 Hz.

Operand

Controller Tags for Write Multiple Message

Data Type

XIC

Execute_Scattered_Write_Message

BOOL

MOV

Scattered_Write_Request_Internal_Use_Only[0]

SINT[31]

COP

Scattered_Write_Request[0]

INT[15]

MSG

Scattered_Write_Message

MESSAGE

TIP: The MOV (Move) and COP (Copy) instructions are required to
convert the data into the necessary data types, and to align the data into a
usable display format.

Advertising