Function of the example program – Rockwell Automation 25-COMM-P PowerFlex PROFIBUS DPV1 Adapter User Manual

Page 60

Advertising
background image

60

Rockwell Automation Publication 520COM-UM004A-EN-E - November 2013

Chapter 7

Using Multi-Drive Mode

Multi-Drive Ladder Logic
Program for Generic Profile

The following is an example of the ladder logic program for the Generic Profile
and demonstrates using Multi-drive mode with five drives. See

Multi-Drive

Mode Example for Network on page 56

for an example of a system layout

diagram.

See

Multi-Drive Example of I/O Image on page 58

for the number of 16-bit

input and output words to use for your application. In this example, the number
of input words is 10 and the number of output words is 10.

Function of the Example Program

The example program provided is for the CompactLogix family of controllers,
but other Logix-based controllers can also be used similarly. This example
program enables you to:

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
PowerFlex 4M drive parameter P109 [Accel Time 1] for both so you can
see (read) the change after a write is performed.

Drive 0 (PowerFlex 525) Settings for the Example Program

Parameter C169 [MultiDrv Sel] is set to 1“Network Opt”.

The following parameters are set:

Drive 1...4 (PowerFlex 4M) Settings for the Example Program (in all
drives)

The following parameters are set:

Parameter

Value

Description

P046 [Start Source1]

4

“Network Opt”

P047 [Speed Reference1]

4

“Network Opt”

C175 [DSI I/O Cfg]

4

“Drive 0-4” (5 drives on 1 node)

C171 [Drv 1 Addr]

(1)

(1) The settings for these parameters must match the node address settings in the respective daisy-chained drives.

1

Modbus address of Drive 1

C172 [Drv 2 Addr]

2

Modbus address of Drive 2

C173 [Drv 3 Addr]

3

Modbus address of Drive 3

C174 [Drv 4 Addr]

4

Modbus address of Drive 4

Value

Parameter

Drive 1

Drive 2

Drive 3

Drive 4

P106 [Start Source]

5

5

5

5

P108 [Speed Reference]

5

5

5

5

C302 [Comm Data Rate]

4

4

4

4

Advertising