Pick and place machine instruction list program – Rockwell Automation 1761-HHP-B30 MicroLogix 1000 with Hand-Held Programmer (HHP) User Manual

Page 480

Advertising
background image

Appendix E
Application Example Programs

E–37

Pick and Place Machine Instruction List Program

File 2, Rung 0

The following three rungs take information from the other programmable
controller and load it into the INDEX REGISTER. This is used to select
the proper bin location from the table starting at N7:10.

FUN GRAPHIC PARAMETER
CODE SYMBOL MNEMONIC NAME ADDRESS VALUE FORCES
–––– ––––––– –––––––– –––– ––––––– ––––– ––––––
20 |–] [– LD
Output from barcode
I/5 0

40 –( )– OUT
Index Reg
S24/0 0

File 2, Rung 1

FUN GRAPHIC PARAMETER
CODE SYMBOL MNEMONIC NAME ADDRESS VALUE FORCES
–––– ––––––– –––––––– –––– ––––––– ––––– ––––––
20 |–] [– LD
Output from barcode
I/6 0

40 –( )– OUT
Index Reg
S24/1 0

File 2, Rung 2

FUN GRAPHIC PARAMETER
CODE SYMBOL MNEMONIC NAME ADDRESS VALUE FORCES
–––– ––––––– –––––––– –––– ––––––– ––––– ––––––
20 |–] [– LD
Output from barcode
I/7 0

40 –( )– OUT
Index Reg
S24/2 0

File 2, Rung 3

Indexes into the table of bin locations and places the correct number of
encoder counts into the high preset of the high-speed counter.

FUN GRAPHIC PARAMETER
CODE SYMBOL MNEMONIC NAME ADDRESS VALUE FORCES
–––– ––––––– –––––––– –––– ––––––– ––––– ––––––
106 MOV SRC #N10 100
DEST N2 100

Advertising