Rockwell Automation 1761-HHP-B30 MicroLogix 1000 with Hand-Held Programmer (HHP) User Manual
Page 495
Appendix E
Application Example Programs
E–52
Rung 2:4
If there is a part on the part carrier now entering the spraying area,
energize the paint sprayer. If there is not a part on the part carrier,
do not energize the sprayer.
| BSL Spray |
| position 4 Enable |
| |
| B3 O:0 |
|–––[ ]–––––––––––––––––––––––––––––––––––––––––––––––––––––( )–––––––|
| 3 3 |
Rung 2:5
Decodes color select word. If N7:0=1, then energize the blue paint gun.
Or if N7:0= an invalid color selection, default the color of the part to
blue and energize the blue paint gun.
| Blue Gun |
| +EQU–––––––––––––––+ O:0 |
|–+–+EQUAL +–+––––––––––––––––––––––––––––––––––––( )–––––|
| | |Source A N7:0| | 0 |
| | | 0| | |
| | |Source B 1| | |
| | | | | |
| | +––––––––––––––––––+ | |
| | | |
| | +LIM–––––––––––––––+ | |
| +–+LIMIT TEST +–+ |
| |Low Limit 4| |
| | | |
| |Test N7:0| |
| | 0| |
| |High Lim 1| |
| | | |
| +––––––––––––––––––+ |
Rung 2:6
Decodes color select word. If N7:0=2, then energize the yellow paint gun.
| Yellow Gun |
| +EQU–––––––––––––––+ O:0 |
|–+EQUAL +––––––––––––––––––––––––––––––––––––––––( )–––––|
| |Source A N7:0| 1 |
| | 0| |
| |Source B 2| |
| | | |
| +––––––––––––––––––+ |
Rung 2:7
Decodes color select word. If N7:0=3, then energize the red paint gun.
| Red Gun |
| +EQU–––––––––––––––+ O:0 |
|–+EQUAL +––––––––––––––––––––––––––––––––––––––––( )–––––|
| |Source A N7:0| 2 |
| | 0| |
| |Source B 3| |
| | | |
| +––––––––––––––––––+ |
Rung 2:8
| |
|––––––––––––––––––––––––––––––––+END+––––––––––––––––––––––––––––––––|
| |