Using Basic Instructions
6–23
Adding File 6
This subroutine controls the up and down motion of the drill for the paper drilling
machine.
Drill Home
I/5
Drill On/Off O/1
Drill Retract O/2
Drill Forward O/3
Drill Depth
I/4
Rung 6:0
This section of ladder logic controls the up/down motion of the drill
for the book drilling machine. When the conveyor positions the book
under the drill, the DRILL SEQUENCE START bit is set. This rung uses
that bit to begin the drilling operation. Because the bit is set for
the entire drilling operation, the OSR is required to be able to turn
off the forward signal so the drill can retract.
| Drill |Drill Subr| Drill |
| Sequence | OSR | Forward |
| Start | |
| B3 B3 O:0 |
[–––] [––––––––[OSR]––––––––––––––––––––––––––––––––––––––––(L)––––––|
| 32 48 3 |
Rung 6:1
When the drill has drilled through the book, the body of the drill
actuates the DRILL DEPTH limit switch. When this happens, the DRILL
FORWARD signal is turned off and the DRILL RETRACT signal is turned
on. The drill is also retracted automatically on power up if it is
not actuating the DRILL HOME limit switch.
| Drill Drill |
| Depth LS Forward |
| I:0 O:0 |
|–+––––] [––––––––––––––––+–––––––––––––––––––––––––––+––––(U)–––––+–|
| | 4 | | 3 | |
| | 1’st |Drill | | Drill | |
| | Pass |Home LS | | Retract | |
| | S:1 I:0 | | O:0 | |
| +––––] [––––––––]/[–––––+ +––––(L)–––––+ |
| 15 5 2 |
Programming
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive