Reference – Rockwell Automation 1761 MicroLogix 1000 Programmable Controllers User Manual
Page 355
Application Example Programs
E–5
Paper Drilling Machine Ladder Program
Rung 2:0
Initializes the high-speed counter each time the REM Run mode is
entered. The high-speed counter data area (N7:5 – N7:9) corresponds
with the starting address (source address) of the HSL instruction. The
HSC instruction is disabled each entry into the REM run mode until the
first time that it is executed as true. (The high preset was ”pegged”
on initialization to prevent a high preset interrupt from occurring
during the initialization process.)
| 1’st Output Mask |
| Pass (only use bit 0 |
| ie. O:0/0) |
| S:1 +MOV–––––––––––––––+ |
|––––] [–––––––––––––––––––––––––––––––––––––+–+MOVE +–+–|
| 15 | |Source 1| | |
| | | | | |
| | |Dest N7:5| | |
| | | 0| | |
| | +––––––––––––––––––+ | |
| | High Output Pattern | |
| | (turn off O:0/0) | |
| | | |
| | +MOV–––––––––––––––+ | |
| +–+MOVE +–+ |
| | |Source 0| | |
| | | | | |
| | |Dest N7:6| | |
| | | 0| | |
| | +––––––––––––––––––+ | |
| | High Preset Value | |
| | (counts to next hole)| |
| | |
| | +MOV–––––––––––––––+ | |
| +–+MOVE +–+ |
| | |Source 32767| | |
| | | | | |
| | |Dest N7:7| | |
| | | 0| | |
| | +––––––––––––––––––+ | |
| | Low output pattern | |
| | (turn on O:0/0 | |
| | each reset) | |
| | |
| | +MOV–––––––––––––––+ | |
| +–+MOVE +–+ |
| | |Source 1| | |
| | | | | |
| | |Dest N7:8| | |
| | | 0| | |
| | +––––––––––––––––––+ | |
Reference