beautypg.com

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

Page 95

background image

Using Multi-Drive Mode

7-27

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

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

0006

MOV

Move
Source

N9:1

0<
Dest

O:001

0<

MOV

Drive 0
Speed Feedback

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

0007

I:000

0

Drive 0 Operator
Stop Pushbutton

N10:0

0

Drive 0 Logic
Command
STOP

0008

I:000

1

Drive 0 Operator
Start Pushbutton

N10:0

1

Drive 0 Logic
Command
START

0009

I:000

2

Drive 0 Operator
Jog Pushbutton

N10:0

2

Drive 0 Logic
Command
JOG

0010

I:000

3

Drive 0 Operator
Clear Faults
Pushbutton

N10:0

3

Drive 0 Logic
Command
CLEAR FAULTS

0011

I:000

4

Drive 0 Operator
Forward / Reverse
Selector Switch

N10:0

4

Drive 0 Logic
Command
FORWARD

0012

I:000

4

Drive 0 Operator
Forward / Reverse
Selector Switch

N10:0

5

Drive 0 Logic
Command
REVERSE

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

0013

MOV

Move
Source

I:001

0<
Dest

N10:1

0<

MOV

Drive 0
Speed Reference

0014

END