I wish to modify the slib.nc file which comes with the latest firmware patch. Most of the config files in the /upgrade/nand/ diresctory are gibberish when opened for editing as they are not iso english, so i do not know how to read/edit them.
I wish to add a manual tool change subprogram, where:
1) the main program is paused via M0,
2) a g28 command is issued (return to home), (fusion360 automatically adds a G28 Z0. move command)
3) the tool is manually changed and then manually centred over touch-off plate,
4) the start button is pressed to unpause the program
5) the program calls the built-in probe routine (via G38 Z or via M98 ????, which is it? probe.nc is gibberish. if the probe routine is not callable then steps 4 & 5 can be reversed and the probe done manually)
6) the main nc program continues on with the new tool.
This will work well with fusion360
![:nrocks:](https://madmodder.net/Smileys/default/nanarocks.gif)
if this is not possible then separate nc files for each tool can be created, but that entails more set-up work and file editing.
I read in the DDCSV pdf that the controller gcode is fanuc g compatible. I'm using the fanuc -G91 post processor within fusion360, but manual tool changes are being ignored by the controller (the spindle shuts off then immediately turns back on). That seems to be an easy patch within slib.nc by at adding a M0 or M1 command (wait for operator input), or by adding a new subprogram with the 6 steps from above.
PS: With some testing, the controller completety ignores M00 and M01 gcodes. This is going to be harder to implement than I realized. Yet the pause button pauses the program, which seems to be implemented in the OS, and not the slib library. Ill use separate files for each tool as a work around for now.