beautypg.com

Programming – Rockwell Automation 1761 MicroLogix 1000 Programmable Controllers User Manual

Page 247

background image

Using High-Speed Counter Instructions

12–33

Rung 4:5
Interrupt occurred due to low preset reached.

| C5:0 +RET–––––––––––––––+–|
|––––][––––––––––––––––––––––––––––––––––––––––––+RETURN + |
| IL +––––––––––––––––––+ |

Rung 4:6
Signals the main program (file 2) to initiate a drilling sequence. The
high-speed counter has already stopped the conveyor at the correct
position using its high preset output pattern data (clear O:0/0). This
occurred within microseconds of the high preset being reached (just
prior to entering this high-speed counter interrupt subroutine). The
drill sequence subroutine resets the drill sequence start bit and sets
the conveyor drive bit (O:0/0) upon completion of the drilling
sequence.

| interrupt occurred | Drill Sequence Start |
| due to high preset reached | |
| C5:0 B3 |
|––––] [––––––––––––––––––––––––––––––––––––––––––––––––––––––(L)–––––|
| IH 32 |

Rung 4:7

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

Programming