Rockwell Automation 1761-HHP-B30 MicroLogix 1000 with Hand-Held Programmer (HHP) User Manual

Page 147

Advertising
background image

Chapter 8
Using Basic Instructions

8–28

To demonstrate the use of basic instructions, this section provides ladder
rungs followed by the optimized instruction list for these rungs. The rungs
are part of the paper drilling machine application example described in
appendix D. You will be updating the main program in file 2 and adding a
subroutine to file 6.

Updating File 2

The rungs shown on the following page are referred to as the program’s
“start-up” logic. They determine the conditions necessary to start the
machine in motion by monitoring the start and stop push buttons. When the
start push button is pressed, it enables the conveyor to move and start
spinning the drill bit. When the stop push button is pressed, it disables the
conveyor motion and turns off the drill motor.

The start-up logic also checks to make sure that the drill is fully retracted (in
the home position) before allowing the conveyor to move.

Drill Home

I/5

Drill On/Off O/1

If you went through chapter 5, Quick Start for New Users, you already
completed a portion of this example’s main program file and saved it under
the program name

GETSTART

. Adapt that program to the drilling example by

adding the two shaded instructions.

Basic Instructions in the
Paper Drilling Machine
Application Example

Advertising