1991
Mach4 General Discussion / Re: MACH4 Mcode testing
« on: May 26, 2014, 03:53:49 AM »
OK that worked for the simple stuff one or two lines of Gcode. Have you ever tried running a Sub or Gcode Macro from the Mcode. such as
mc.mcCntlGcodeExecuteWait(inst, "M98 P9020 ");
or
mc.mcCntlGcodeExecuteWait(inst, "G65 P9020 A10 B1.125");
I have an sequential serial number engraving function that works well from a SUB or G65 macro and I am trying to get it to run as a Mcode using the G65 call for inside the Mcode.
TP
The cgode is over 200 lines and uses condition redirection a LOT.
mc.mcCntlGcodeExecuteWait(inst, "M98 P9020 ");
or
mc.mcCntlGcodeExecuteWait(inst, "G65 P9020 A10 B1.125");
I have an sequential serial number engraving function that works well from a SUB or G65 macro and I am trying to get it to run as a Mcode using the G65 call for inside the Mcode.
TP
The cgode is over 200 lines and uses condition redirection a LOT.