241
Mach4 Toolbox / Re: M6: how to add manual spindle RPM with tool change?
« on: October 03, 2018, 11:34:36 AM »
I don't believe you can modify M3. You can however put a macro named spindlspeed.mcs that will be called every time a m3 is issued. See this post:
https://www.machsupport.com/forum/index.php?action=search2
Also, there is an api to get the current line being executed
mcCntlGetGcodeLineNbr
mcCntlGetGcodeLine
fromn that you could parse the line to see what is being requested
https://www.machsupport.com/forum/index.php?action=search2
Also, there is an api to get the current line being executed
mcCntlGetGcodeLineNbr
mcCntlGetGcodeLine
fromn that you could parse the line to see what is being requested