Z-Axis issues
-
While all my new optical sensors work on my DIY cnc router, I still have a problem to solve with Z limit/home. May I start by needing to clearly understand the physical setup.
-X is to the left, and that's where we have the limit/end-stop sensor/switch positioned.
-Y is to the near/front, and that too, is where the limit/end-stop sensor/switch is positioned.
-Z is down [ toward the table], and we have its limit/end-stop up at the top, in the +Z direction.
When I home X, it travels to the far left, stops on the limit, moves a bit to the right, then stops a second time at the limit. Perfect. When I home Y, all the same movements take place, then stops perfectly.
But Z is all together different. When I home Z, it's required to move positive, to reach its limit position and then stop. And it never does like X-Y, back away then stop on the limit a second time. And that's not even the real big problem I have. While I can re-home X or Y by simply clicking on home, and watch each one move away and then right back to the perfect spot, Z does not.
Click Z home a second time, and it just plows upwards in the positive direction and jams the axis.
Shouldn't I be able to home Z like the others?
The only way I can operate, is to home Z, then move it away from its limit position, before attempting to home X-Y. That allows the Z the room/space to home a second time without crashing.
Is it because Z home is in the + direction?
I'm assuming some kind of code changes are required.
James -
@Valveman You really need to post your config.g (and any macros it may call) along with your homez.g files for anyone to help you, otherwise we are just guessing at how you have things configured.
-
This post is deleted! -
Thanks for your insightful help. I'm a novice at programming this "new toy" of mine. I didn't realize that I should begin looking at homez.g, as I can readily see it's quite different from both the X and Y instructions. My son is the one doing all the code writing for me. I will have him look at it today, and then provide an update asap. Many thanks to you, for pointing me in the right direction.
-
You can see some examples of basic homing files here: https://docs.duet3d.com/User_manual/Machine_configuration/Configuration_cartesian#homing-files