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

Page 497

Advertising
background image

Appendix E
Application Example Programs

E–54

FUN GRAPHIC PARAMETER
CODE SYMBOL MNEMONIC NAME ADDRESS VALUE FORCES
–––– ––––––– –––––––– –––– ––––––– ––––– ––––––
150 BSL Load the presence of the new part

FILE #B0
CTRL R1
BIT I/1
LEN 4

File 2, Rung 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.

FUN GRAPHIC PARAMETER
CODE SYMBOL MNEMONIC NAME ADDRESS VALUE FORCES
–––– ––––––– –––––––– –––– ––––––– ––––– ––––––
20 |–] [– LD
BSL Position 4
B/3 0

40 –( )– OUT
Spray Enable
O/3 0

File 2, Rung 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.

FUN GRAPHIC PARAMETER
CODE SYMBOL MNEMONIC NAME ADDRESS VALUE FORCES
–––– ––––––– –––––––– –––– ––––––– ––––– ––––––
50 |–EQU– LD–EQU SRCA N0 0000H
SRCB 1

73 |_LIM_| OR–LIM LOW 4
TEST N0 0000H
HIGH 1

40 –( )– OUT
Blue Gun
O/0 0

File 2, Rung 6

Decodes color select word. If N7:0=2, then energize the yellow paint gun.

FUN GRAPHIC PARAMETER
CODE SYMBOL MNEMONIC NAME ADDRESS VALUE FORCES
–––– ––––––– –––––––– –––– ––––––– ––––– ––––––
50 |–EQU– LD–EQU SRCA N0 0000H
SRCB 2

40 –( )– OUT
Yellow Gun
O/1 0

File 2, Rung 7

Decodes color select word. If N7:0=3, then energize the red paint gun.

FUN GRAPHIC PARAMETER
CODE SYMBOL MNEMONIC NAME ADDRESS VALUE FORCES
–––– ––––––– –––––––– –––– ––––––– ––––– ––––––
50 |–EQU– LD–EQU SRCA N0 0000H
SRCB 3

40 –( )– OUT
Red Gun
O/2 0

Advertising