Z-Probe trigger inverted after update to RRF3.0
-
@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
-
-