Z-Probe trigger inverted after update to RRF3.0
-
@wcj97 said in Z-Probe trigger inverted after update to RRF3.0:
M558 P1 C"zprobe.in" H5 F120 T6000
try this
M558 P1 C"!zprobe.in" H5 F120 T6000
-
@SIam Still didn't work
On another note, my inductive probe is wired as shown at:
https://duet3d.dozuki.com/Wiki/Connecting_a_Z_probe#Section_NPN_output_normally_open_inductive_or_capacitive_sensor -
@wcj97 said in Z-Probe trigger inverted after update to RRF3.0:
M574 Z1 S2
and if you remove this line
M574 Z1 S2
-
@SIam Nope, still inverting the input.
Is the "I" parameter still needed in RRF3.0 to invert the input? I know the M558 in my config.g from RRF1.19 had that included
-
@SIam Wait! I take that back. I changed the sensor type to "P5" in addition to what you said and that seems to have worked. Thank you for the help! Now on to my next struggle
-
@SIam said in Z-Probe trigger inverted after update to RRF3.0:
@wcj97 said in Z-Probe trigger inverted after update to RRF3.0:
M558 P1 C"zprobe.in" H5 F120 T6000
try this
M558 P1 C"!zprobe.in" H5 F120 T6000
If it's an NPN-output probe then you also need to enable the pullup resistor:
M558 P1 C"!^zprobe.in" H5 F120 T6000
-
@dc42 Just curious, what exactly is the pullup resistor doing? Currently I don't have that on, but I'm assuming you have a good reason for enabling the pullup resistor. Is it just an over-current protection for the sensor/board?
-
@wcj97 said in Z-Probe trigger inverted after update to RRF3.0:
@dc42 Just curious, what exactly is the pullup resistor doing? Currently I don't have that on, but I'm assuming you have a good reason for enabling the pullup resistor. Is it just an over-current protection for the sensor/board?
An NPN-output sensor can only pull its output to ground. When it isn't doing that, you need something else to pull the Z probe input high. The pullup resistor does that. Without it, you would be relying on the leakage of the over-voltage protection diode.
-
@dc42 what would the code line look like on a duet 3 mainboard ,for a Z probe NPN sensor, running RRF 3.4? I am having trouble.
-
@damaged_goods said in Z-Probe trigger inverted after update to RRF3.0:
@dc42 what would the code line look like on a duet 3 mainboard ,for a Z probe NPN sensor, running RRF 3.4? I am having trouble.
-
@damaged_goods It's literally 4 posts up
If it's an NPN-output probe then you also need to enable the pullup resistor:
M558 P1 C"!^zprobe.in" H5 F120 T6000
-
@phaedrux said in Z-Probe trigger inverted after update to RRF3.0:
@damaged_goods It's literally 4 posts up
If it's an NPN-output probe then you also need to enable the pullup resistor:
M558 P1 C"!^zprobe.in" H5 F120 T6000
Or as above but preferanly with probe type P5 or P8.
-
-
@damaged_goods which IO port on the Duet 3 have you connected the Z probe to? If you connected it to IO0 then you should use:
M558 P8 C"!io0.in"
plus whatever extra parameters you need in the M558 command.
-
@dc42 that's better and the probe is working. Thank you
-
-