How do i go about making the post processor do a tool change to the tool used in the file ..Not looking to have it use multiple different tools just want it to post the tool change so it calls the tool number used in the tool path>i am using fluidnc and it uses different pins for the m3 when different tools are used so the post needs to show a tool change to the tool used so it uses the correct pins >>any help would be greatly appreciated
open your postprocessor .cps in notepad (must be post version V1.0.42) go to line number 1262, which is between these lines Code: if (properties.generateMultiple && (tool.number != getPreviousSection().getTool().number)) writeZretract(); gotoInitial(true); add in these 2 lines (before the 'gotoIninitial()' ) if you need the M6 Code: var toolFormat = createFormat({ decimals: 0 }); writeBlock("T" + toolFormat.format(tool.number), mOutput.format(6)); OR these if you only need the Tx word without the M6 Code: var toolFormat = createFormat({ decimals: 0 }); writeBlock("T" + toolFormat.format(tool.number));