Re: [Emc-users] custom m codes tutorial and cnc lathe bar pulling

2023-01-30 Thread andy pugh
On Sun, 29 Jan 2023 at 10:22, andrew beck wrote: > Hey you might know how to loop a gcode file > > I want to loop a gcode file 50 times. O100 REPEAT [50] {Gcode} O100 ENDREPEAT http://linuxcnc.org/docs/stable/html/gcode/o-code.html#ocode:repeat -- atp "A motorcycle is a bicycle with a pandem

Re: [Emc-users] custom m codes tutorial and cnc lathe bar pulling

2023-01-29 Thread gene heskett
On 1/29/23 05:18, andrew beck wrote: Thanks gene Hey you might know how to loop a gcode file I want to loop a gcode file 50 times. Eazy peazy, Andrew. Define the part as a subroutine keeping in mind the subroutine must be first in the .ngc file. Allocate a counter var and set it near the

Re: [Emc-users] custom m codes tutorial and cnc lathe bar pulling

2023-01-29 Thread Rob C
https://linuxcnc.org/docs/html/gcode/o-code.html#ocode:fanuc-style-programs use the "L" switch for looping X number of times On Sun, 29 Jan 2023, 10:22 andrew beck, wrote: > Thanks gene > > Hey you might know how to loop a gcode file > > I want to loop a gcode file 50 times. > > Ideally using m

Re: [Emc-users] custom m codes tutorial and cnc lathe bar pulling

2023-01-29 Thread andrew beck
Thanks gene Hey you might know how to loop a gcode file I want to loop a gcode file 50 times. Ideally using m98 and m99 But I'm a bit stuck on how to do it. Does anyone have some tips? This is for bar pulling in CNC lathe M400 unclamps chuck and m401 clamps chuck And I need some way to loop

Re: [Emc-users] custom m codes tutorial and cnc lathe bar pulling

2023-01-26 Thread gene heskett
On 1/26/23 16:42, andrew beck wrote: hey guys just wanted to let people know i just made a tutorial on custom m codes and i couldn't find much info on it and wanted to help the next guy and remind myself when i forget next time lol https://forum.linuxcnc.org/10-advanced-configuration/48071-cust

Re: [Emc-users] custom m codes tutorial and cnc lathe bar pulling

2023-01-26 Thread Ed
On 1/26/23 2:57 PM, andrew beck wrote: hey guys and also if any of you machinists have good tips for bar pulling on a cnc lathe i would love the ideas i have never done it before regards Andrew How big of bar do you want to pull? What kind of machine I have run runs of over 1K pieces with