Switch Z-probe not inverting
-
If i trigger it, M119 still shows the same. But I can see the E0 endstop changing in the machine properties tab
-
That's odd. Try adding Z1 to your M584. You should only need it with firmware 1.19 or earlier but .....
-
I dont think it liked that. This is on a delta btw. Sorry for forgetting to mention that in the first place
-
@madmattco said in Switch Z-probe not inverting:
I dont think it liked that. This is on a delta btw. Sorry for forgetting to mention that in the first place
Ahhhh. Yes, sorry - I know nothing about Deltas (strange mystical devices ) .
-
Do you think I would have better luck if i issued a P5 or P7 instead of P4 on M558?
-
@madmattco said in Switch Z-probe not inverting:
Do you think I would have better luck if i issued a P5 or P7 instead of P4 on M558?
Not if you've wired it E0. According to the Wiki, P5 is for the Z probe connector and P7 is for the Z end stop connector. Having said that, I don't know if it makes any difference or if you have to use a different connector on a Delta. I know they home at Z max but that's the limit of my knowledge. Sorry but I'm fresh out of ideas. Hopefully, someone more knowledgable than I will step in and help you out.
-
Just looking through the wiki, you may have to use S2 at the end of M574? - not sure.
-
The E parameter was removed from M574 many firmware versions ago. Use the I1 parameter in the M558 command to invert the Z probe polarity.
-
@dc42 said in Switch Z-probe not inverting:
The E parameter was removed from M574 many firmware versions ago. Use the I1 parameter in the M558 command to invert the Z probe polarity.
I tried that. It didn't work
-
@madmattco, that's uppercase letter I followed by digit 1. Not the vertical bar character.
-
Correct. I even did a direct copy and paste from the guide when i was testing. Nothing inverts it
-
Which firmware version are you using?
-
RepRapFirmware for Duet 2 WiFi/Ethernet version 1.21 running on Duet WiFi 1.02 or later
-
Just tried the beta aswell. No luck
-
What is the exact M558 command that you tried? Are you certain that there isn't another M558 line later in config.g ?
-
-
It is set to I0 in that file but I also tried I1 too
-
Would it be prudent to try a version where the E param was still valid in M574?
-
That M558 command looks ok to me. Changing between I0 and I1 should make the Z probe reading when not triggered change between 0 and 1000.
Check that you don't have a M558 command in config-override.g.
-
I've just had a thought - does the switch have a series LED by any chance? The Metrol positioning switch that I use does, and so the value for the probe reading doesn't go to zero but only down to around 600 IIRC. So I use P1 for the probe type in my M558 and then in G31 I use P700 for the trigger value. Even if the switch doesn't have an LED, it might be worth checking that the Z probe reading does in fact go to zero when triggered. If it doesn't, using P1 for the probe type and setting an appropriate trigger threshold in G31 might be a solution?