Switch Z-probe not inverting
-
Hey everyone. Having a bit of an issue using a switch for my probe. The logic will not invert with my N.O. switch. I have tried M574 E0 S1 and S0 to no avail and I have also used M558 and added I1 to its line. No change will set my E0 endstop to untriggered when nothing is pressing on it.
Also, I am on the latest non-beta firmware.
-
Can you post your M558 line from config.g
-
M558 P4 H5 I1 F120 T3000
-
What do you get if you enter M119 via the G Code console? At the end of the line, it should report the Z probe status. If it's not triggered, it will say " Z probe: not stopped". If it's triggered, it'll say "Z probe: at min end stop".
-
M119
Endstops - X: not stopped, Y: not stopped, Z: not stopped, Z probe: at min stop -
Sorry, I meant run M119 with the switch both triggered and not triggered. So as it is, the firmware reads that its is triggered. Now trigger the switch and run M119 again and it should say "not stopped". If thta works, then the logic is inverted and you need to change it. If it shows "at min stop" whether the switch is triggered or not, then it would indicate a wiring problem or faulty switch, rather than a configuration/ firmware issue.
-
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