Since I have a CNC (the Onefinity :), I made my own probe pad. The problem is that it’s thinner than the stock pad sold by Onefinity. The canned XYZ probe routine probes Z just fine but then moves to the X axis and drops the probe too far. My pad is 8.75mm thick and I think the position for the X probe starting point is lower than that by about 1mm.
Where is the probe routine in the software? Is it intended to be user configurable? If not, I’m happy to dig into the python if I can get a pointer to where it might reside.
There are actually a number of things I’d want to change in the BB software, and may engage in the open source project. The other major one is reading the download directory when queried, not just at boot time.
GitHub - OneFinityCNC/onefinity-firmware - here’s the code repository. OF have basically said development is black-boxed. I had the same idea, and was going to take on some UI tweaks, but it doesn’t seem like they are interested so any tweaks will end up being in your own fork. Good luck!
@RandysView - looks like you can easily adjust this value in the machine config json as well - post here outlines that (obviously edit the probe-zdim to your needs) - Woodworker Default Configuration Files
Nice find! I hadn’t done the search but I just need to change the value -12.7 in this line:
pcmd += “G91 G0 Z -12.7\n”;
To -11.5 in my setup and it should just work.
Of course, I could also just write the same routine as a separate program and not have to fiddle with the code. Too bad this is not an encapsulated routine for the user, since “Probe XYZ” should not have to be duplicated.
I think your deleted post was the key. The value of the z drop prior to X probing is hardwired and not accessible through the Probe Dimension menu. That was where I started and set my value for, but the hardwired -12.7 is too deep for my plate. The routine does NOT check to make sure probe-zdim is larger than the -12.7 offset in the probe XYZ routine.
Good catch, I automatically assumed it’d simply take the probe-zdim, and create proper offsets. But yes, if zoffset is < the default -12.7 drop, you’ll crash every time. These values should be more like zoffset * 0.75 or something (75% of height) instead of hard coded values.
(edit) putting back the probing routine for future reference:
probe_xyz()
probe_xyz() {
var pcmd = “”;
var xoffset = this.config.probe[“probe-xdim”];
var yoffset = this.config.probe[“probe-ydim”];
var zoffset = this.config.probe[“probe-zdim”];
var fastSeek = this.config.probe[“probe-fast-seek”];
var slowSeek = this.config.probe[“probe-slow-seek”];
debugger;
Just to document my solution to this problem, I just created a routine called ProbeXYZ.nc to do probing for my alignment plate. Pretty simple. I wish it were possible to customize the Probe command on the control panel.
Code below and it works great. I’m retrofitting to my MPCNC.