Drive 0 - drive 4 control subroutines, 26 using multi-drive mode – Rockwell Automation 22-COMM-C ControlNet Adapter User Manual

Page 94

Advertising
background image

7-26

Using Multi-Drive Mode

Drive 0 - Drive 4 Control Subroutines

The following Drive Control Subroutines provide status information
(Logic Status and Feedback) and control (Logic Command and
Reference) for each of the respective drives:

Control Subroutine

Refer to…

Drive 0

Figure 7.18

Drive 1

Figure 7.19

Drive 2

Figure 7.20

Drive 3

Figure 7.21

Drive 4

Figure 7.22

Figure 7.18 PLC-5 Drive 0 Control Subroutine (U:3)

Drive 0 Control Subroutine

In this example, an operator station is wired into the local PLC-5/40C rack as follows:

O:000/0 Drive 0 Ready
O:000/1 Drive 0 Active
O:000/2 Drive 0 Forward
O:000/3 Drive 0 Reverse
O:000/4 Drive 0 Faulted
O:000/5 Drive 0 At Speed
O:001 Drive 0 Operator Speed Feedback

I:000/0 Drive 0 Stop (Normally
I:000/1 Drive 0 Start (Normally Open Pushbutton)

Open Pushbutton)

I:000/2 Drive 0 Jog (Normally Open Pushbutton)
I:000/3 Drive 0 Clear Faults (Normally Open Pushbutton)
I:000/4 Drive 0 Forward / Reverse Selector Switch
I:001 Drive 0 Operator Speed Reference

In this example, a PowerFlex 40 drive with installed 22-COMM-C ControlNet adapter is mapped as follows:

N9:0 Drive 0 Logic Status N10:0 Drive 0 Logic Command
N9:1 Drive 0 Speed Feedback N10:1 Drive 0 Speed Reference

Rungs 0000 through 0005 move the Logic Status from Drive 0 to the operator station.

0000

N9:0

0

Drive 0 Logic Status
READY

O:000

0

Drive 0 Operator
Ready Status
Display

0001

N9:0

1

Drive 0 Logic Status
ACTIVE

O:000

1

Drive 0 Operator
Active Status
Display

0002

N9:0

3

Drive 0 Logic Status
ACTUAL FORWARD /
REVERSE DIRECTION

O:000

2

Drive 0 Operator
Actual Forward
Status Display

0003

N9:0

3

Drive 0 Logic Status
ACTUAL FORWARD /
REVERSE DIRECTION

O:000

3

Drive 0 Operator
Actual Reverse
Status Display

0004

N9:0

7

Drive 0 Logic Status
FAULTED

O:000

4

Drive 0 Operator
Fault Status
Display

0005

N9:0

8

Drive 0 Logic Status
AT SPEED

O:000

5

Drive 0 Operator
At Speed Status
Display

Advertising