beautypg.com

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

Page 97

background image

Using Multi-Drive Mode

7-29

Figure 7.19 PLC-5 Drive 1 Control Subroutine (U:4) (Continued)

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

0006

MOV

Move
Source

N9:3

0<
Dest

O:003

0<

MOV

Drive 1
Speed Feedback

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

0007

I:002

0

Drive 1 Operator
Stop Pushbutton

N10:2

0

Drive 1 Logic
Command
STOP

0008

I:002

1

Drive 1 Operator
Start Pushbutton

N10:2

1

Drive 1 Logic
Command
START

0009

I:002

2

Drive 1 Operator
Jog Pushbutton

N10:2

2

Drive 1 Logic
Command
JOG

0010

I:002

3

Drive 1 Operator
Clear Faults
Pushbutton

N10:2

3

Drive 1 Logic
Command
CLEAR FAULTS

0011

I:002

4

Drive 1 Operator
Forward / Reverse
Selector Switch

N10:2

4

Drive 1 Logic
Command
FORWARD

0012

I:002

4

Drive 1 Operator
Forward / Reverse
Selector Switch

N10:2

5

Drive 1 Logic
Command
REVERSE

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

0013

MOV

Move
Source

I:003

0<
Dest

N10:3

0<

MOV

Drive 1
Speed Reference

0014

END