Homing Z-axis alone

Post anything you want to discuss with others about the software.

Homing Z-axis alone

Postby bhdavis » Tue Dec 17, 2024 1:23 pm

Don't know what became of my post with this question from yesterday, but here is what I've tried based upon the suggestion.

This is my M20109 macro for homing the Z-axis alone:

// Home Z-axis alone

AS3.Callbutton(109);


It returns an error so I don't have something right.

If I // comment out the AS3>Callbutton(109); and replace it with a G-code movement command of some sort the macro works. So I'm just missing something here with the Callbutton command.

I suspect I need some sort of instruction before or after this line in order to make it work. Correct?

Thanks,
BH
bhdavis
 
Posts: 151
Joined: Tue Mar 23, 2021 7:36 pm

Re: Homing Z-axis alone

Postby eabrust » Tue Dec 17, 2024 11:22 pm

Try this instead:


Code: Select all
exec.Callbutton(109);


regards,
Eric
CraftyCNC: Plugins for UCCNC (and other neat stuff): http://www.craftycnc.com/plugins-for-uccnc/
eabrust
 
Posts: 359
Joined: Fri Sep 16, 2016 2:32 am
Location: Near Shirland IL, USA

Re: Homing Z-axis alone

Postby bhdavis » Tue Dec 17, 2024 11:32 pm

Thanks Eric. I'll give it a try.

BH
bhdavis
 
Posts: 151
Joined: Tue Mar 23, 2021 7:36 pm

Re: Homing Z-axis alone

Postby bhdavis » Thu Dec 19, 2024 11:58 am

Thanks again Eric. That did the trick.

BH
bhdavis
 
Posts: 151
Joined: Tue Mar 23, 2021 7:36 pm


Return to General discussion about the UCCNC software

Who is online

Users browsing this forum: No registered users and 15 guests