Switch Z-probe not inverting
-
@madmattco said in Switch Z-probe not inverting:
@t3p3tony I owe you a pint. https://puu.sh/AP6NT/d101e9887d.png
My question is, Why would it suddenly work when only issuing the M558 I1 command by its self?When you were changing it in config.g, were you actually saving the changes and re-booting the Duet? If you were and if sending it through the console works but having it in config.g doesn't (and Duet is being restarted to read config.g again), then the only logical explanation that I can think of is that it's being reset elsewhere, like in config overide for example.
-
@deckingman I do not have a config override on my system. When I was issueing that command the first dozen times, I was including it in the primary M558 line under my Z-probe comment in config.g I have no idea where else it could have been getting reset at.
-
@madmattco glad it works. Changes to config.g only come into effect when the board is reset - that's why it prompts you for a reset after changing it there.
-
@t3p3tony That is what was driving me crazy. Because I clicked reboot every time I changed a setting. Now if only my autocal would work correctly
-
Maybe there is/was a hidden character in that M558 line which was causing the firmware to ignore it? Dunno - clutching at straws myself.....
-
@chrishamm coming back to one of the earlier issues here, something for the DWC wishlist:
Would it be possible to make the Z-Probe box reflect the actual probe type?
Currently DWC always displays the 0-1000 analog reading, which might be confusing for people with digital/switch-type probes.So, if its an analog type P1, P2, and P3 (?), then show the value 0-1000, as currently implemented.
But if it is a switch-type / digital, P4 through P9, then just show "triggered" and "untriggered" - accounting for the invert-flag.
Motor-stall detection P10 could be considered as P4-P9, or with "not stalled" and "stalled" strings.One caveat: some people (including myself), reconfigure the probe type with multiple M558 commands in
config.g
andhomez.g
and various macros. To simplify things, I would suggest to only retrieve the probe type after booting (DWC connecting). Unless you think continuously queryingM558
is reasonable (in non-printing states)?