
Originally Posted by
gizmo_454
We have both an SL-10 with the Servo 300 bar loader, and a Citizen swiss screw machine. 2 completely different animals. To make a long story short, I write my SL-10 programs like this, (SL-20 should work the same):
O100
(CUSTOMER & PART NUMBER)
G54 G50 Snnnn
(FACE AND TURN OD)
G00 G28 U0 W0
G97 S1500 M03
T101
G00 X1.625 Z0 M08
G96 S330
G01 X-0.06 F0.004
G00 Z0.1
G00 G42 X1.25 Z0.1
G01 Z0
G01 X1.4 R-0.03
G01 Z-1.
G01 X1.5 K-0.005
G01 Z-1.25
G01 X1.625
G00 G40 X1.75 M09
(CUT OFF)
G97 S1000 M03
G00 G28 U0 W0
T505
G00 X1.625 Z-1.25 M08
G01 X1.45 F0.0036
G00 X1.55
G01 X1.5 Z-1.2
G01 Z-1.25 R-0.018
G01 X0.125 M36
G01 X-0.01 F0.0012
G00 X1.625 M09
G00 G28 U0 W0
G105 In.nnn Jn.nnn Kn.nnn
M37
/M99
M30
Running with Block Delete off will make parts continuously and load a new bar when the machine runs out. Turning on Block Delete will be the same as running in Single Part mode on the swiss.
If you have macros enabled on the machine, you can setup a macro to cut the end of the new bar off before starting to make parts. If macros are not enabled, just make the initial push long enough for the machine to cut off the end of the bar when the program reaches the cut off process in the program. I have done this with success many times. You just have to be careful if your part has a through hole and you are sinking a carbide drill in the end of the bar without a spot.
I am not sure why you would count the parts using a subroutine loop. The machine knows how much material is left and whether there is enough there to make another part or not. By writing your program similar to the program above, you can then start at any tool change in the program and finish making the part. Want to fix something? No problem.
After the cut off process, the machine will push the bar out for the next part. Depending on whether block delete is on or not, the machine will either stop after the barloader or continue making parts.
I hope I did not make you any more confused. Please feel free to PM me if you have any questions.
Mike