Spray booth application example – Rockwell Automation 1761-HHP-B30 MicroLogix 1000 with Hand-Held Programmer (HHP) User Manual
Page 492

Appendix E
Application Example Programs
E–49
File 2, Rung 3
Contains the label corresponding to the jump instruction in rung 1. The
remainder of your actual program is placed below this rung.
FUN GRAPHIC PARAMETER
CODE SYMBOL MNEMONIC NAME ADDRESS VALUE FORCES
–––– ––––––– –––––––– –––– ––––––– ––––– ––––––
131 |–LBL– LD–LBL
Go to rest of program
LBL# 1
40 –( )– OUT
Dummy Bit
B/2 0
The following application example illustrates the use of bit shift and FIFO
instructions in an automated paint spraying operation. For a detailed
explanation of:
•
LD and OUT instructions, see chapter 8.
•
EQU and LIM instructions, see chapter 9.
•
FFU and FFL instructions, see chapter 11.
•
BSL instruction, see chapter 12.
Bar Code Reader I:0/2,3,4
Input
Proximity
Switch I:0/1
Paint Spray Booth
B3/0
B3/1
B3/2
B3/3
Bit Shift
FIFO
Paint Sprayer Signals
Spray Enable
O:0/3
Blue Paint Gun
O:0/0
Yellow Paint Gun
O:0/1
Red Paint Gun
O:0/2
0
1
0
1
1
2
3
4
N7:3
N7:2
N7:1
N7:0
Blue
Red
Blue
Blue
Position
Spray Booth Application
Example