beautypg.com

Preface – Rockwell Automation 1761 MicroLogix 1000 Programmable Controllers User Manual

Page 188

background image

Preface

MicroLogix 1000 Programmable Controllers User Manual

10–10

Program Flow Control Instructions in the Paper Drilling
Machine Application Example

This section provides ladder rungs to demonstrate the use of program flow control
instructions. The rungs are part of the paper drilling machine application example
described in appendix E. You will be adding to the main program in file 2. The
new rungs are needed to call the other subroutines containing the logic necessary to
run the machine.

Rung 2:5
Calls the drill sequence subroutine. This subroutine manages the
operation of a drilling sequence and restarts the conveyor upon
completion of the drilling sequence

| +JSR–––––––––––––––+ |
|–––––––––––––––––––––––––––––––––––––––––––––––+JUMP TO SUBROUTINE+–|
| |SBR file number 6| |
| +––––––––––––––––––+ |

Rung 2:6
Calls the subroutine that tracks the amount of wear on the current
drill bit.

| +JSR–––––––––––––––+ |
|–––––––––––––––––––––––––––––––––––––––––––––––+JUMP TO SUBROUTINE+–|
| |SBR file number 7| |
| +––––––––––––––––––+ |

Rung 2:7

| |
|––––––––––––––––––––––––––––––––––––+END+–––––––––––––––––––––––––––|
| |