Preface, Bottle line ladder program – Rockwell Automation 1761 MicroLogix 1000 Programmable Controllers User Manual
Page 372

Preface
MicroLogix 1000 Programmable Controllers User Manual
E–22
Bottle Line Ladder Program
Rung 2:0
Loads the high-speed counter with the following parameters:
N7:0 – 0001h Output Mask – Effect only O:0/0
N7:1 – 0001h Output Pattern for High Preset – Energize O:0/0 upon high
preset
N7:2 – 350d High Preset – Maximum numbers of bottles for the holding
area
N7:3 – 0000h Output Pattern for Low Preset – not used
N7:4 – 0d Low Preset – not used
| First Pass |
| Bit |
| S:1 +HSL–––––––––––––––+ |
|––––] [–––––––––––––––––––––––––––––––––––––––––+HSC LOAD +–|
| 15 |Counter C5:0| |
| |Source N7:0| |
| |Length 5| |
| +––––––––––––––––––+ |
Rung 2:1
Starts up the high-speed counter with the above parameters. Each time
the rung is evaluated, the hardware accumulator is written to C5:0.ACC.
| +HSC–––––––––––––––+ |
|–––––––––––––––––––––––––––––––––––––––––––+HIGH SPEED COUNTER+–(CU)–|
| |Type Up/Down+–(CD) |
| |Counter C5:0+–(DN) |
| |Preset 350| |
| |Accum 0| |
| +––––––––––––––––––+ |
Rung 2:2
Packing machine running too fast for the filling machine. Slow down
the packing machine to allow the filler to catch up.
| Slow Pack |
| +LES–––––––––––––––+ O:0 |
|–+LESS THAN +–––––––––––––––––––––––––––––––––––––––(L)–––––|
| |Source A C5:0.ACC| 2 |
| | 0| |
| |Source B 100| |
| | | |
| +––––––––––––––––––+ |
Rung 2:3
If the packer was slowed down to allow the filler to catch up, wait
until the holding area is approximately 2/3 full before allowing the
packer to run at full speed again.
| Slow Pack | Slow Pack |
| +GRT–––––––––––––––+ O:0 O:0 |
|–+GREATER THAN +––––] [–––––––––––––––––––––––––––––––––(U)–––––|
| |Source A C5:0.ACC| 2 2 |
| | 0| |
| |Source B 200| |
| | | |
| +––––––––––––––––––+ |