Like many new forums, the excitement and

Hey waahhoo,

The ‘tool-change’ routine mentioned above is only used by the controller inside a program, i.e. when the program encounters a M6 (tool change) command. By the way the more recent version of my ‘tool-change’ routine is here. Feel free to use it!

If you want to change the behaviour of the manually induced probing, i.e. by clicking the corresponding buttons on the Jog Pane, you can only modify /usr/local/lib/python3.5/dist-packages/bbctrl-1.0.9-py3.5.egg/bbctrl/http/index.html on the controller. As of onefinity-firmware-1.0.9 there you find:

      if (zOnly) {
        this.send(`
          ${metric ? "G21" : "G20"}
          G92 Z0

          G38.2 Z ${mm(-25.4)} ${speed(fastSeek)}
          G91 G1 Z ${mm(1)}
          G38.2 Z ${mm(-2)} ${speed(slowSeek)}
          G92 Z ${mm(zoffset)}

          G91 G0 Z ${mm(3)}

          M2
        `);
      } else {
        this.send(`
          ${metric ? "G21" : "G20"}
          G92 X0 Y0 Z0

          G38.2 Z ${mm(-25.4)} ${speed(fastSeek)}
          G91 G1 Z ${mm(1)}
          G38.2 Z ${mm(-2)} ${speed(slowSeek)}
          G92 Z ${mm(zoffset)}

          G91 G0 Z ${mm(zlift)}
          G91 G0 X ${mm(20)}
          G91 G0 Z ${mm(-plunge)}
          G38.2 X ${mm(-20)} ${speed(fastSeek)}
          G91 G1 X ${mm(1)}
          G38.2 X ${mm(-2)} ${speed(slowSeek)}
          G92 X ${mm(xoffset)}

          G91 G0 X ${mm(1)}
          G91 G0 Y ${mm(20)}
          G91 G0 X ${mm(-20)}
          G38.2 Y ${mm(-20)} ${speed(fastSeek)}
          G91 G1 Y ${mm(1)}
          G38.2 Y ${mm(-2)} ${speed(slowSeek)}
          G92 Y ${mm(yoffset)}

          G91 G0 Y ${mm(3)}
          G91 G0 Z ${mm(25.4)}

          M2
        `);
      }

The first part is for probing Z only, the second part for probing XYZ. You may alter the final retract command “G91 G0” if you like with a text editor.

As of onefinity-firmware-1.2.1, this routine was changed and generally with the new development on its way it’s no joy to keep up with the modifications (especially since I don’t plan to use this controller).

So I won’t help you with this! I would file a feature request on the recent firmware.

1 Like