Multi-drive ladder logic program example, Multi-drive ladder logic program example -6 – Rockwell Automation 22-COMM-D DeviceNet Adapter User Manual

Page 78

Advertising
background image

7-6

Using Multi-Drive Mode

The example ladder logic program demonstrates using Multi-Drive
mode with five drives. See

Figure 7.2

for a system layout diagram.

Function of the Example Program

The example program provided is for the ControlLogix, but other
controllers can also be used. The following actions can be performed:

• View status information from the drives such as Ready, Fault, At

Speed, and Feedback.

• Control the drives using various Logic Command bits (Stop, Start,

etc.) and Reference.

• Perform a single parameter read and write for each drive. The

example uses drive Parameter 39 - [Accel Time] for both so you
can see (read) the change after a write is performed.

Adapter Settings for the Example Program

• The Mode Jumper on the adapter is set to the Multi-Drive operation

position. See

Chapter 2

,

Commissioning the Adapter

.

• All DIP switches on the adapter are set to CLOSED (all 0’s). See

Chapter 2

,

Commissioning the Adapter

. The actual node address will

be set via a software parameter.

• The following adapter parameters are set:

Multi-Drive Ladder Logic Program Example

Parameter

Value

Description

02 - [DN Addr Cfg]

1

DeviceNet node address

15 - [DSI I/O Cfg]

4

“Drives 0-4” — 5 drives on 1 node

17 - [Drv 0 Addr]

(1)

(1)

The settings for these parameters must match the Parameter A104 -
[Comm Node Addr] settings in the respective drives.

1

Modbus address of Drive 0

18 - [Drv 1 Addr]

2

Modbus address of Drive 1

19 - [Drv 2 Addr]

3

Modbus address of Drive 2

20 - [Drv 3 Addr]

4

Modbus address of Drive 3

21 - [Drv 4 Addr]

5

Modbus address of Drive 4

Advertising