1
Mach4 General Discussion / M3 macro does not start spindle
« on: October 21, 2021, 04:07:45 PM »
I have created a macro that is activated every time the M03 g code occurs. It works as it should.
The two commands I have inserted in the macro also work.
However, the spindle is not started. The G code continues without the spindle rotating.
Do I need a command to activate the spindle
The two commands I have inserted in the macro also work.
However, the spindle is not started. The G code continues without the spindle rotating.
Do I need a command to activate the spindle
Code: [Select]
function m3()
inst=mc.mcGetInstance()
mc.mcCntlGcodeExecute(inst, "G00 Z36.000");
mc.mcCntlGcodeExecute(inst, "G04 P3.00");
end
if (mc.mcInEditor() == 1) then
m3()
end