Page 1 of 1

Homing Z-axis alone

PostPosted: Tue Dec 17, 2024 1:23 pm
by bhdavis
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

Re: Homing Z-axis alone

PostPosted: Tue Dec 17, 2024 11:22 pm
by eabrust
Try this instead:


Code: Select all
exec.Callbutton(109);


regards,
Eric

Re: Homing Z-axis alone

PostPosted: Tue Dec 17, 2024 11:32 pm
by bhdavis
Thanks Eric. I'll give it a try.

BH

Re: Homing Z-axis alone

PostPosted: Thu Dec 19, 2024 11:58 am
by bhdavis
Thanks again Eric. That did the trick.

BH