Inductive sensor
-
That's not right, the reading should be 0 when the sensor is not triggered. Does the reading go to 0 when you disconnect the sensor?
It's possible that the sensor output is leaky. If that's the case, it may work if you connect it to a spare endstop input (e.g. E0, using P4 in the M558 command) instead of to the Z probe input.
-
i did try this, but wasnt sure on how to use e0 as the endstop for the z axis
i also connected it to the z axis endstop and the lights z axis lights didnt flash as expected
im gonna retry with cabling and diode as maybe the one ive got now isnt the right one.
-
Hi Guys,
I have connected a diode to the sensor, with anode side(no line on the plastic) into the connectors on the duet wifi, and the cathode side(line on the plastic) into the wire on the sensor itself.LJ12A3-4-Z/AX
When using either E0 STP pin or the Z STP for the sensor signal no light comes on. i.e. when the probe is triggered the red light is turned off, when the probe isn't triggered the red light is on( in my case the lights have never been on to begin with)
Please Help as this is making me pull my hair out.
At the moment the sensor is connected to the E0 Connector
The code is as follows:; Endstops
M574 X1 Y1 S1;
M574 E0 Z1 S0;
M558 P4 X0 Y0 Z1 E0 H10 I1 F80 T6000 ; for inductive sensor, Set Z probe type to switch, the axes for which it is used and the dive height + speeds
M557 X0:170 Y13:180 S25; Define mesh grid
G31 P1000 X0 Y0 Z0; Set Z probe trigger