Spray booth instruction list program – Rockwell Automation 1761-HHP-B30 MicroLogix 1000 with Hand-Held Programmer (HHP) User Manual

Page 496

Advertising
background image

Appendix E
Application Example Programs

E–53

Spray Booth Instruction List Program

File 2, Rung 0

These three rungs read the color information coming from the barcode
decoder outputs and load this into integer N7:4. This color is loaded
into the FIFO when the part carrier actuates the SHIFT LIMIT SWITCH.

FUN GRAPHIC PARAMETER
CODE SYMBOL MNEMONIC NAME ADDRESS VALUE FORCES
–––– ––––––– –––––––– –––– ––––––– ––––– ––––––
20 |–] [– LD
Low Bit from Bar Code Decoder
I/2 0

40 –( )– OUT
Color Select Word
N4/0 0

File 2, Rung 1

FUN GRAPHIC PARAMETER
CODE SYMBOL MNEMONIC NAME ADDRESS VALUE FORCES
–––– ––––––– –––––––– –––– ––––––– ––––– ––––––
20 |–] [– LD
Middle Bit from Bar Code Decoder
I/3 0

40 –( )– OUT
Color Select Word
N4/1 0

File 2, Rung 2

FUN GRAPHIC PARAMETER
CODE SYMBOL MNEMONIC NAME ADDRESS VALUE FORCES
–––– ––––––– –––––––– –––– ––––––– ––––– ––––––
20 |–] [– LD
Low Bit from Bar Code Decoder
I/4 0

40 –( )– OUT
Color Select Word
N4/2 0

File 2, Rung 3

When the part carrier actuates the SHIFT LIMIT SWITCH, three things happen
in this rung: (1) the color of the previously painted part is unloaded
from the FIFO to make room for the color of the new part, (2) the color of
the new part is loaded into the FIFO, (3) the presence or absence of a
part on the part carrier is shifted into the Shift Register.

FUN GRAPHIC PARAMETER
CODE SYMBOL MNEMONIC NAME ADDRESS VALUE FORCES
–––– ––––––– –––––––– –––– ––––––– ––––– ––––––
20 |–] [– LD
Shift Limit Switch
I/0 0

114 FFU Unload color of previously painted part

FIFO #N0
DEST N10
CTRL R0
LEN 4
POS 4

113 FFL Load color of new part

SRC N4
FIFO #N0
CTRL R0
LEN 4
POS 4

Advertising