beautypg.com

Using the i/o 5-9 – Rockwell Automation 22-COMM-C ControlNet Adapter User Manual

Page 59

background image

Using the I/O

5-9

For a PLC-5 controller explicit message ladder example program, see

Figure 6.5

.

Figure 5.4 PLC-5 Ladder Logic Example for Drive I/O Control (Continued)

Rung 0006 moves the Speed Feedback from the drive to the operator station.

0006

MOV

Move
Source

N9:1

0<
Dest

O:001

0<

MOV

Drive
Speed Feedback

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

0007

I:000

0

Operator
Stop Pushbutton

N10:0

0

Drive Logic Command
STOP

0008

I:000

1

Operator
Start Pushbutton

N10:0

1

Drive Logic Command
START

0009

I:000

2

Operator
Jog Pushbutton

N10:0

2

Drive Logic Command
JOG

0010

I:000

3

Operator
Clear Faults
Pushbutton

N10:0

3

Drive Logic Command
CLEAR FAULTS

0011

I:000

4

Operator
Forward / Reverse
Selector Switch

N10:0

4

Drive Logic Command
FORWARD

0012

I:000

4

Operator
Forward / Reverse
Selector Switch

N10:0

5

Drive Logic Command
REVERSE

Rung 0013 moves the Speed Reference from the operator station to the drive.

0013

MOV

Move
Source

I:001

0<
Dest

N10:1

0<

MOV

Drive
Speed Reference

0014

END