Bottle line instruction list program – Rockwell Automation 1761-HHP-B30 MicroLogix 1000 with Hand-Held Programmer (HHP) User Manual
Page 475

Appendix E
Application Example Programs
E–32
Bottle Line Instruction List Program
File 2, Rung 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
FUN GRAPHIC PARAMETER
CODE SYMBOL MNEMONIC NAME ADDRESS VALUE FORCES
–––– ––––––– –––––––– –––– ––––––– ––––– ––––––
20 |–] [– LD
First Pass Bit
S1/15 0
171 HSL CNTR C0
SRC N0
LEN 5
File 2, Rung 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.
FUN GRAPHIC PARAMETER
CODE SYMBOL MNEMONIC NAME ADDRESS VALUE FORCES
–––– ––––––– –––––––– –––– ––––––– ––––– ––––––
170 HSC TYPE Up/Down
CNTR C0
PRE 015EH
ACC 0000H
File 2, Rung 2
Packing machine running too fast for the filling machine. Slow down the
packing machine to allow the filler to catch up.
FUN GRAPHIC PARAMETER
CODE SYMBOL MNEMONIC NAME ADDRESS VALUE FORCES
–––– ––––––– –––––––– –––– ––––––– ––––– ––––––
56 |–LES– LD–LES SRCA C0.ACC 0000H
SRCB 100
41 –(L)– SET
Slow Pack
O/2 0
File 2, Rung 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.
FUN GRAPHIC PARAMETER
CODE SYMBOL MNEMONIC NAME ADDRESS VALUE FORCES
–––– ––––––– –––––––– –––– ––––––– ––––– ––––––
62 |–GRT– LD–GRT SRCA C0.ACC 0000H
SRCB 200
22 –] [– AND
Slow Pack
O/2 0
42 –(U)– RST
Slow Pack
O/2 0