Automating z-axis zeroing

Thanks Dave
I have an idea where to look now.

:joy:
This almost made me explode a couple of times :bomb: for 1 to 5 seconds.
I was enlightened just recently by a valued Forum Member. (after more then a year :man_facepalming:)

What looks like: copy → change the wording → paste, is actually a reply via email. I missed the envelope symbol, guess time for new glasses.

It’s quite natural that while you are replying to an email, that you can’t see what answers are on the Forum in mean time. Peace and Freedom :peace_symbol::dove:

2 Likes

You don’t need to use the macro any more with the latest version of gc, it has been activated in the z-axis menu.

4 Likes

Yeah, it is integrated now, it is wonderful so thank you to whomever did that! The only thing you may need to tweek is the setting for how far to plunge below the current 0 if memory serves. I did not know about this for awhile and would have to play the whole plunge past 0, make it zero, go back up and then re-plunge with the auto Z.

Wierd, never had that problem, i just manually lower the z till i get a few mm above the touch plate, then do auto-zero, and done.

Yes, @ChrisB is correct. In the examples there was a preset value that didn’t work for me either. I just increased that number and then everything ran smoothly.

1 Like

The switch for at Auto-Z on AUXx is
GRN wire it ti the Router ground, Yes?
Which connector is for the prope for the tool bid from the Motor control board? VCC or GPIO.
Seems to me the VCC is voltage from the board. Normally I would think you would not connect that to the ground through a switch. (Z-Probe)
I am not very knowledgeable on controllers boards. It only takes a second to fry an board.

Please advise.
Marty

Auto%20z%20schema

2 Likes

This is an aside on this topic, but it occurred to me that you could also zero with the touch plate on top of the sled. You would need to know what the distance is from the plate under the sled to the top of the plate on the sled (which could be slid in and out perhaps), and then rewrite the macro to set the touch point at the proper height above zero.

The top plate could even be further automated with a servo or solenoid controlled by the Maslow…

Probably easiest just to slide a plate under the sled, though.

Not that I have my router back together, the red bottom for the z-tread wore through. I am back to working on the Automatic “Z” setting.
I understand the that in this code “G20 G90 G38.2 Z-.15 F1 G20 G90 M02” (for inches). What is the “Z-.15” is saying the when bit hits ground that zero it 0.15" lower being the thickness of your ground plate. I am not clear on this.
I guess what I am asking is, If I put a metal rule under the bit and when the it touches it it stops. At that point it is the new Zero for “Z”. Maybe I miss understand what the “G38.2 X-…15” is doing.
Marty

This is telling the Maslow to move the z axis down 0.15 units at feed speed of 1. Setting the zero is done my G38.2 which says to probe until contact then set the zero when contact is made. Adding the Z-.15 limits the distance that the Maslow will probe for contact before returning an error. This distance can be increased, but usually is kept to a minimum to prevent accidents and to reduce the amount of time taken to find contact since probing is usually done very slowly.

Yes

That is good to know. Thanks Keith!
Marty

I always envisioned a parking spot somewhere on the Maslow to have wired for z probing. Move the sled to that point and run the probing rather then manually putting the probe in place. Low tech solution. Originally I waled it just off center top, but this skipped a lot. On my next build it will probably be off to the right side 1/2 down.`

Thank you

2 Likes

Gosh, missed this. From the electronic trivia dictionary Vcc stands for voltage common collector.

The great Giggle explains all to those who are strong in the (search) fu

For Maslow controllers it’s 5V if you have an ATMega 1280, might be 3.3V for a Due. An easy answer is it’s whatever is on the Vcc pin

1 Like

I am probably doing something dumb but when I hit the touch zero button or the macro, the z axis starts to raise the bit instead of lower. I got the kit from maker made and the plugs are keyed so very hard to get backwards. It also lowers when I just hit the lower button. I am stumped.

2 Likes

Welcome to the Forum @Ross_k !
Haven’t used the zeroing yet, but am curious.

Can you post a screenshot of GroundControl with the responses on right lower side when you hit the touch zero button?

Kind regards, Gero

No problem

1 Like

Thank for the fast response!
So it raises and still shows Z: -1.14 as if it was in the material?
Did you try to get Z to a safe place and try the --> Actions --> Test motor/Encoders?
Do all 3 pass the test?

Sorry for fishing in the dark, but excluding step by step will get you there.

I figured it out. It had the z saved at a large negative so when I hit the zero, it was retracting instead 9f lowering

3 Likes

Great news! Happy wood-chipping!

1 Like