How to initiate probing wizard via keyboard shortcut in OpenBuilds Control

Here’s another example of how to optimize your workflow using JavaScript macros in OpenBuilds Control.

The probing cycles built into OpenBuilds Control certainly make life easier when setting up jobs. Unfortunately, for those of us with bigger machines, probing stock at the far end of the machine is difficult when your computer isn’t close.

JavaScript macros can be initiated via a keyboard shortcut. We can use this feature to launch the probing wizard by calling the appropriate JavaScript function and setting the focus on the Confirm Probe Position button.

To bring up the XYZ Zero probing wizard, create a new macro using the following JavaScript code. Be sure to assign a keyboard shortcut to it.

openProbeDialog();
$(document).ready(function() {
setTimeout(function() { document.getElementById('confirmNewProbeBtn').focus(); },100);
});
JavaScript macro settings to open probing wizards in OpenBuilds Control.

Depending on what probe you have, when you press your keyboard shortcut either the “Automatic” or “XYZ Zero” probing wizard will launch and set focus to the “Confirm Probe Position” button. Pressing Enter twice will start the probing routine.

You can also press the tab key to get to other probing routines if needed. But that is a slow process and we are trying to make life easier, so here is a list of the other probing wizard functions you can call.

X Zero Wizard:

openProbeXDialog();
$(document).ready(function() {
setTimeout(function() { document.getElementById('confirmNewProbeBtn').focus(); },100);
});

Y Zero Wizard:

openProbeYDialog();
$(document).ready(function() {
setTimeout(function() { document.getElementById('confirmNewProbeBtn').focus(); },100);
});

Z Zero Wizard:

openProbeZDialog();
$(document).ready(function() {
setTimeout(function() { document.getElementById('confirmNewProbeBtn').focus(); },100);
});

If you have any questions, post them in the comments section below.

OpenBuilds Products I Use (affiliate):

OpenBuilds Control​
Workbee 1510​
BlackBox Motion Controller​
Interface CNC Touch Controller​
Router11
XYZ Touch Probe Plus

Tags:
0 Comments

Leave a reply

Your email address will not be published. Required fields are marked *

*

©2021 Thayne Co

CONTACT ME

I'm not around right now. But you can send me an email and I'll get back to you, asap.

Sending

Log in with your credentials

or    

Forgot your details?

Create Account