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.
12 Replies
miklschmidt
miklschmidt•4mo ago
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:
[stepper_z]
endstop_pin: pinname
[stepper_z]
endstop_pin: pinname
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 😅)
MoX
MoX•3mo ago
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?
No description
MoX
MoX•3mo ago
No description
MDFPereira
MDFPereira•3mo ago
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.
blacksmithforlife
blacksmithforlife•3mo ago
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
MDFPereira
MDFPereira•3mo ago
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.
blacksmithforlife
blacksmithforlife•3mo ago
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.
MoX
MoX•3mo ago
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
MDFPereira
MDFPereira•3mo ago
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.
miklschmidt
miklschmidt•3mo ago
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.
MoX
MoX•3mo ago
fix works with my configuration, thanks
RainingRusty
RainingRusty•4w ago
Just spend a little time on V02 going to home in wrong direction and thank goodness I searched before asking the same question again....😜
Want results from more Discord servers?
Add your server