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’s 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

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