Tool Change /(M06)

I guess this is more of a g-code question, but I was curious if this is normal …

I am uploading some pre processed g-code files to my Jackpot running fluidnc just to test things out and noticed that it ignores the tool change codes. This is not really a problem yet, just a curiosity. The lines of code in question look like:


T01 M06

T02 M06

I assume that if I want the machine to stop, I would need to replace with an M0? Are these codes there for a machine with an automatic tool changer?

Also, the way I understand it, if I want to make my own automatic tool changer, I can not use the standard pre-compiled fluidnc firmware. Is that correct?

Yes, these codes are for an automatic tool changer, but I’m not aware of anyone on this forum using one. Note the warnings on the FluidNC wiki.
ATCs (Automatic Tool Changers) | Wiki.js (fluidnc.com)
Supported Gcodes | Wiki.js (fluidnc.com)

We just do manual tool changes. Refer to the Jackpot Estlcam instructions for tool changes.
Jackpot CNC Controller - V1 Engineering Documentation

This is the tool change gcode for the Lowrider.

M63 P1 ( turn off pin 27)
$HZ (Home Z)
G0 X0 Y10 F2520 
M0 (MSG change tool, probe)
G38.2 Z-80 F200 P0.5 ( Probe set thickness)
G00 Z10.0000 F500 ( Clearance )
M0 (MSG remove probe)
M62 P1 ( turn on pin27 )
1 Like

Thank you. I was hoping I could do it within fluid but I totally understand why they don’t go there. I think it would be easier, albeit not as elegant, to write a script in python, or maybe javascript to insert the necessary g-code before I upload it to fluid as opposed to customizing the firmware. I believe I can upload a file and start the machine from my own web page (separate from the fluidnc webgui), so I can still get it down to a one or two click operation by scripting the entire process.

1 Like