Z-Endstop on Voron V0.1
Hi guys,
I'm having an issue with the Z-endstop not defined in V2.1.0-RC2-37.
I can define it in my printer.cfg which then will through a " pin is not valid..." error until I commit out the stepper_Z section inside RatOS.cfg.
I know im not suppose to but im busy with fault finding...
This works until the next power cycle or update and then back to square 1. I suspect it is because I did not select a probe and there was no dedicated Z Endstop section within the Setup Wizard.
Must I select something like "generic probe" in the dropdown menu or is there a different work around?
Im using the original Z-endstop switch on V0.1 and I have attached a screen shot of the dropdown menu as weel as the klippy log.
Im using the original Z-endstop switch on V0.1 and I have attached a screen shot of the dropdown menu as weel as the klippy log.
12 Replies
2.1 currently doesn't support z_endstops, but as you mentioned, you can define it yourself in printer.cfg
it's not
pin
but endstop_pin
under [stepper_z]
.
ie:
There's no z_endstop_pin
, locate the pin on your board where you've connected your endstop. Use that pin.
Ie, PA0 or whatever.
No need to use aliases (especially ones that don't exist 😅)I have the same problem. The pin is configured in the ratos.cfg. If I comment it out, it is there again after a power reset. In the printer.cfg, the endstop_pin is set, not the pin, and therefore the pin definition from ratos.cfg is not overwritten. How can we solve the problem?
RatOS.cfg is always overwriten on boot.
If you need to change or configure it, please, include it on printer.crg has Mikkel showed above.
That only allows overrides. The OP is asking to remove it, which can only be done if the configurator doesn't add it to begin with
Easy workaround:
Dullicat RatOS.cfg, call ir RatOS2.cfg and on printer.cfg include the latest, not the original.
On the latest, make all the changes needed.
sure, but I believe the point of posting it here is so that the configurator is updated to not add it in the first place.
thanks for this idea. it works well as a temporary solution
it would be nice to have a selection in the configurator for the physical z-switch. you could also add the z-endstop position -0.1 for voron v01 and z-endstop position 120 for voron v02 as a selection
Sure! I believe Mikkel will take care of it as soon as he can
EDIT: but v0.1 and V0.2 have a Z endstop from scratch. RatOS is made with that in mind. Not using endstop is a personal choice (like mine)
I’m using it for unsupported hardware on RatOS.
Oooh, that's a bug.
Fix pushed, ready to update in 10 minutes.
Since not all boards have a
z_endstop_pin
or z_diag_pin defined
, it'll leave it commented out when using those boards so you can manually set it in printer.cfg. It's been corrected to endstop_pin
instead of pin
.
This would take a while to implement, but i agree. I'll add that together with the limit calibration assistant once i get there. For now, just override it in printer.cfg for v0.2 and later.fix works with my configuration, thanks
Just spend a little time on V02 going to home in wrong direction and thank goodness I searched before asking the same question again....😜