Here’s another example of how to use macros in OpenBuilds CONTROL to optimize job setup. In the last post, I detailed how to use JavaScript macros to launch the probing wizards. But what if you want to set your work zeros quickly without probing? Obviously you can use the setZero buttons in the interface, but here’s how to assign keyboard shortcuts to them.

Click on the Macros tab and create a new macro. For this one, we dont need JavaScript. We can use GCode to set zero for a specific axis. Select an icon and type in a label (name) like “setZero X”. Use the following GCode to set X zero:

G10 P0 L20 X0

Assign a keyboard shortcut. Here I’ve used X since I’m using it to set X zero. Click Apply to save it. That’s it. Simple, right? Here’s the code to set the other axis and to set x,y,z.

Code to set Y zero:

G10 P0 L20 Y0

Coode to set Z zero:

G10 P0 L20 Z0

Code to set X,Y,Z zero:

G10 P0 L20 X0 Y0 Z0

If you are new to OpenBuilds CONTROL, be sure to check out my OpenBuilds CONTROL tutorial.

OpenBuilds Products I Use (affiliate):

OpenBuilds CONTROL​
Workbee 1510​ (similar to Lead 1010 or Lead 1515)
BlackBox Motion Controller​
BlackBox X32 Motion Controller
Interface CNC Touch Controller​
XYZ Touch Probe Plus


Leave a reply

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


©2024 Thayne Co


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


Log in with your credentials

Forgot your details?