Hello Guest it is April 23, 2024, 03:24:51 AM

Author Topic: Turning the same multiple parts on lathe can stacking files be done in mach3  (Read 740 times)

0 Members and 1 Guest are viewing this topic.

Hello everyone I am trying to make the same part numerous times I have tried starting my Z at a new -zero and tweeked the numbers but it just wont do it.I see on Mach4 they have a run multiple parts button but have been using mach 3 on lathe and router for a while hate to change but if need be I can Thanks   all help greatly appreciated    Mert

Offline Graham Waterworth

*
  • *
  •  2,673 2,673
  • Yorkshire Dales, England
    • View Profile
You can do this :-

%
O0001 (MAIN PROGRAM)
G21 G40 G00 G99
#100 =0
G52 Z#100 (CLEAR LOCAL SHIFT)
M98 P2 L10 (MAKE 10 PARTS)
#100=0
G52 Z#100 (BACK TO START)
M30

O0002(SUB TO LOOP ROUND)
(INSERT YOUR CURRENT)
(PROGRAM HERE)
...
...
...
(ADD THIS BIT)
#100=#100+15 (LENGTH OF PART AND CUT OFF)
G52 Z-#100 (UPDATE LOCAL SHIFT)
M99
%

Without engineers the world stops