Firstly I have read and reread the wiki for the DuetWiFi, but cannot seem to find the solution to the issue I am having with using an NPN NO Probe for the the z axis endstop.
I have it wired up with a diode and connected to the E0 STP pin. When triggering it manually (by placing a metal object under it), both the LED on top of the probe and the LED on the DuetWiFi lights up. Which to me indicates the hardware is working as it should.
However when I home the Z axis, when the probe is triggered it does not stop the motor so the z axis just keeps moving up.
I must be missing something in the config. So if anyone can help, that would be great.
Is there anyone that has successfully used one of these probes on the DuetWiFi?
Config below.
config.g
; Endstops
M574 X1 Y1 S0 ; Define active low and unused microswitches
M574 Z0 E1 S1 ; Define active high microswitches
M558 P4 I1 X0 Y0 Z1 H10 F120 T6000 ; Set Z probe type to switch, the axes for which it is used and the probe + travel speeds
G31 P500 X28 Y12 Z1.20 ; Set Z probe trigger value, offset and trigger height
homez.g
G91 ; relative mode
G1 Z4 F200 ; raise head 4mm to ensure it is above the Z probe trigger height
G90 ; back to absolute mode
G1 X100 Y100 F2000 ; put head over the centre of the bed, or wherever you want to probe
G30 ; lower head, stop when probe triggered and set Z to trigger height