Compactlogix multi-drive mode example program – Rockwell Automation 1769-SM2 Compact I/O DSI/Modbus Communication Module User Manual

Page 116

Advertising
background image

7-14

CompactLogix Example Ladder Programs

CompactLogix Multi-Drive Mode Example Program

Figure 7.5 Example CompactLogix Multi-Drive Ladder Logic Main Routine

CompactLogix -L35E w/ 1769-SM2 in Multi-Drive Mode

In this Multi-Drive mode example program, the channels are utilized as follows:

Channel 1 - Connected to 5 PowerFlex 4/40 drives (maximum allowed)

Channel 2 - Connected to 5 PowerFlex 4/40 drives (maximum allowed)

Channel 3 - Configured for Modbus RTU Master mode and connected to 1 PowerFlex 70 drive (with 20-COMM-H adapter)

This rung enables the 1769-SM2 to send the Channel 1 Logix Command and Reference words to the drives.

0

CH1_Enable

<Local:1:O.Data[0].0>

/

s:

e

Channel 1 Drive 0 Subroutine

1

Jump To Subroutine

Routine Name CH1_Drive0

JSR

Channel 1 Drive 0

control logic

Channel 1 Drive 1 Subroutine

2

Jump To Subroutine

Routine Name CH1_Drive1

JSR

Channel 1 Drive 1

control logic

Channel 1 Drive 2 Subroutine

3

Jump To Subroutine

Routine Name CH1_Drive2

JSR

Channel 1 Drive 2

control logic

Channel 1 Drive 3 Subroutine

4

Jump To Subroutine

Routine Name CH1_Drive3

JSR

Channel 1 Drive 3

control logic

Channel 1 Drive 4 Subroutine

5

Jump To Subroutine

Routine Name CH1_Drive4

JSR

Channel 1 Drive 4

control logic

This rung enables the 1769-SM2 to send the Channel 2 Logix Command and Reference words to the drive.

6

CH2_Enable

<Local:1:O.Data[0].1>

Advertising