Switch Z-probe not inverting
-
@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?
-
I don't have a config-override file. And there is no led here. this is a film touch switch style leveling probe that attaches to the nozzle
-
@deckingman can you or @dc42 tell me exactly what the trigger value is for? ive set it at 0. 600 and 1000 so far with it making no changes.
-
DC42 is the man really but as he's on vacation and taking some well earned time off, I'll do my best. When you use a Z probe with a output that isn't a simple on-off, the probe reading will change when it gets near or at the trigger point. So when it isn't triggered, it'll read 1,000 ( I think) and when it is triggered, it'll read something else. If it's a simple switch, that "something else" will be zero but with say an IR probe, it'll be about 500 or less. What does it show for you on the machine properties tab?
-
It should show 0 when not triggered and 1000 when triggered if its a simple switch.
-
@t3p3tony It does the opposite of that