Rockwell Automation 1761-HHP-B30 MicroLogix 1000 with Hand-Held Programmer (HHP) User Manual
Page 461

Appendix E
Application Example Programs
E–18
File 4, Rung 2
Is identical to the previous rung except that it is only active when the
”hole selector switch” is in the ”5-hole” position.
FUN GRAPHIC PARAMETER
CODE SYMBOL MNEMONIC NAME ADDRESS VALUE FORCES
–––– ––––––– –––––––– –––– ––––––– ––––– ––––––
20 |–] [– LD
hole selector switch bit 0
I/9 0
23 –]/[– ANI
➀
hole selector switch bit 1
I/10 0
152 SQO FILE #N55
MASK FFFFH
High Preset Value (counts to next hole)
DEST N7
5-hole preset sequencer
CTRL R5
LEN 7
POS 0000H
42 –(U)– RST
force the sequencer to increment on the next scan
R5/EN 1
File 4, Rung 3
➁
Is identical to the two previous rungs except that it is only active when
the ”hole selector switch” is in the ”7-hole” position.
FUN GRAPHIC PARAMETER
CODE SYMBOL MNEMONIC NAME ADDRESS VALUE FORCES
–––– ––––––– –––––––– –––– ––––––– ––––– ––––––
20 |–] [– LD
hole selector switch bit 0
I/9 0
22 –] [– AND
hole selector switch bit 1
I/10 0
152 SQO FILE #N62
MASK FFFFH
High Preset Value (counts to next hole)
DEST N7
7-hole preset sequencer
CTRL R6
LEN 9
POS 0000H
42 –(U)– RST
force the sequencer to increment on the next scan
R6/EN 1
➀ This instruction accesses I/O only available with 32 I/O controllers. Therefore, do not include this
instruction if you are using a 16 I/O controller.
➁ This rung accesses I/O only available with 32 I/O controllers. Therefore, do not include this rung
if you are using a 16 I/O controller.