beautypg.com

Using multi-drive mode 7-31 – Rockwell Automation 22-COMM-C ControlNet Adapter User Manual

Page 99

background image

Using Multi-Drive Mode

7-31

Figure 7.20 PLC-5 Drive 2 Control Subroutine (U:5) (Continued)

Rung 0006 moves the Speed Feedback from Drive 2 to the operator station.

0006

MOV

Move
Source

N9:5

0<
Dest

O:005

0<

MOV

Drive 2
Speed Feedback

Rungs 0007 through 0012 move the Logic Command from the operator station to Drive 2.

0007

I:004

0

Drive 2 Operator
Stop Pushbutton

N10:4

0

Drive 2 Logic
Command
STOP

0008

I:004

1

Drive 2 Operator
Start Pushbutton

N10:4

1

Drive 2 Logic
Command
START

0009

I:004

2

Drive 2 Operator
Jog Pushbutton

N10:4

2

Drive 2 Logic
Command
JOG

0010

I:004

3

Drive 2 Operator
Clear Faults
Pushbutton

N10:4

3

Drive 2 Logic
Command
CLEAR FAULTS

0011

I:004

4

Drive 2 Operator
Forward / Reverse
Selector Switch

N10:4

4

Drive 2 Logic
Command
FORWARD

0012

I:004

4

Drive 2 Operator
Forward / Reverse
Selector Switch

N10:4

5

Drive 2 Logic
Command
REVERSE

Rung 0013 moves the Speed Reference from the operator station to Drive 2.

0013

MOV

Move
Source

I:005

0<
Dest

N10:5

0<

MOV

Drive 2
Speed Reference

0014

END