Application Example Programs
E–25
Pick and Place Machine Ladder Program
Rung 2:0
The following 3 rungs take information from the other programmable
controller and load it into the INDEX REGISTER. This will be used to
select the proper bin location from the table starting at N7:10.
| Output | |
| from | |
| barcode | Index Reg |
| I:0 S:24 |
|––––] [––––––––––––––––––––––––––––––––––––––––––––––––––––––( )–––––|
| 5 0 |
Rung 2:1
| Output | |
| from | |
| barcode | Index Reg |
| I:0 S:24 |
|––––] [––––––––––––––––––––––––––––––––––––––––––––––––––––––( )–––––|
| 6 1 |
Rung 2:2
| Output | |
| from | |
| barcode | Index Reg |
| I:0 S:24 |
|––––] [––––––––––––––––––––––––––––––––––––––––––––––––––––––( )–––––|
| 7 2 |
Rung 2: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.
| +MOV–––––––––––––––+ |
|––––––––––––––––––––––––––––––––––––––––––––––––+MOVE +–|
| |Source #N7:10| |
| | 100| |
| |Dest N7:2| |
| | 100| |
| +––––––––––––––––––+ |
Reference
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive