EDIT XYZ probe script

I hacked my probing code enough to get a custom probe block to work. The aluminum block I have is 1.1811" square by .5906" high.

  1. Download the source code for the firmware at:
    https://github.com/OneFinityCNC/onefinity-firmware

  2. Extract the download and edit the following file:
    onefinity-1.0.9-20211217.tar\bbctrl-1.0.9\src\py\bbctrl\http\ index.html

  3. Around line 20,210 I modified the following ORIGINAL code

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)}


To be the following:
G91 G0 X ${mm(10)}
G91 G0 Z ${mm(-plunge)}
G38.2 X ${mm(-40)} ${speed(fastSeek)}
G91 G1 X ${mm(1)}
G38.2 X ${mm(-2)} ${speed(slowSeek)}
G92 X ${mm(xoffset)}

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

  1. Use SSH to login to the Onefinity and upload the new index.html file, overwriting the original.
1 Like