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

Page 278

Advertising
background image

Chapter 14
Using High-Speed Counter Instructions

14–28

To demonstrate the use of the HSC instruction, 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 started in
chapter 5. Refer to appendix E for the complete paper drilling machine
application example.

20226

Drill Home

I/5

Drill Depth

I/4

Drill On/Off O/1
Drill Retract O/2
Drill Forward O/3

Photo–Eye Reset I/2
Counter Hold I/3

Photo–Eye
Reflector

Conveyor Enable wired in series to the Drive O/5
Conveyor Drive Start/Stop wired in series to the Drive O/0

Quadrature A–B Encoder and Drive

I/0 I/1

Drilled

Holes

The main program file (file 2) initializes the HSC instruction, monitors the
machine start and stop buttons, and calls other subroutines necessary to run
the machine. Refer to the comments preceding each rung for additional
information.

High-Speed Counter
Instructions in the Paper
Drilling Machine Application
Example

Advertising