Hello,
I have a CNC machine I built, and I would like to run this warmup program. Someone else made this program for my machine but it was made to run in EMC2 and not Mach. It wont work in Mach3.
Basically its a loop that runs the axis's to their limits and then increases the feedrate by 10 and runs again.
can someone more experienced in Gcode and Mach help me out so I can get this working in Mach?
Here is the code:
(Axis Warmup)
G20 G91
#<_FEEDRATE> = 10
O100 WHILE [#<_FEEDRATE> LE 100]
O110 REPEAT [10]
G1 F[#<_FEEDRATE>] X48.7 Y24.7 Z-8
G1 F[#<_FEEDRATE>] Y-24.7 Z8
G1 F[#<_FEEDRATE>] X-48.7 Y24.7 Z-8
G1 F[#<_FEEDRATE>] X48.7 Y-24.7 Z8
G1 F[#<_FEEDRATE>] Y24.7 Z-8
G1 F[#<_FEEDRATE>] X-48.7 Y-24.7 Z8
O110 ENDREPEAT
#<_FEEDRATE> = [#<_FEEDRATE> + 10]
O100 ENDWHILE
M30
Thanks