Switch Z-probe not inverting
-
-
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
-
@deckingman https://puu.sh/AP65q/df543c1ca3.png is untriggered.
https://puu.sh/AP66h/a74ec1a9b0.png is triggered -
I think the DWC display is not aware of any invert flags you configured.
Don't rely on the raw value displayed in DWC. Use M119 instead. -
@resam https://puu.sh/AP6v0/8242eb7b3f.png bottom line is not triggered. top is triggered.
-
And does it change with
M558 P4 I1 H5 F120 T3000
? -
@resam No. Thats my dilemma. Its driving me nuts lol
-
Did you try:
M574 X2 Y2 Z0 S0
andM558 P4 I1 H5 F120 T3000
(orI0
) -
Will having Z set to 0 work properly when on a delta?
-
@madmattco so if you send:
M558 I1 does the probe setting change;
Ignore my other settings in the screen shot
As you can see you can send M558 with no parameters to get a read out of the current settings
Try M119 after both M558 I0 and M558 I1 -
@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? -
@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.