Z end stop as Z probe for leveling bed
-
M558 P0 tells the firmware that you have no Z probe.
-
so use
M558 P1
but what tells it to use the Zmin endstop
-
-
that's not working
-
it doesn't seem to every use the Z Min endstop
-
I got it thanks i had to use the E0 switch plug
thanks for the help
-
It's possible to use the Z endstop input too in firmware 1.20 and later. See M558 in the GCode wiki page.
-
It's possible to use the Z endstop input too in firmware 1.20 and later. See M558 in the GCode wiki page.
well that wasn't on the one i was looking at only went to P5 thanks that would have been helpfull
-
I have a duet 0.8.5 and I am trying to use my printer for PCB mill and was hoping to use the cutter and the PCB copper side as a endstop using the Z-Axis pins.
How would I set up the Z endstop without using the E0?
Microswitch
Connect it between the STP and GND pins of the E0 connector and select mode 4. If it is a normally-closed microswitch, then with version 1.15 or earlier firmware use M574 E0 S1 to select active high trigger level. For normally-open contacts (not recommended), send M574 E0 S0 instead. With 1.16 or later firmware, include parameter I1 in the M558 command if you are using a normally-open switch.
A Z probe may be a switch, an IR proximity sensor, or some other device. This selects which to use:
P0 indicates that no Z probe is present.
P1 specifies an unmodulated or smart IR probe, or any other probe type that emulates one (probe output is an analog signal that rises with decreasing nozzle height above the bed). If there is a control signal to the probe, it is driven high when the probe type is P1.
P2 specifies a simple modulated IR probe, where the modulation is commanded directly by the main board firmware using the control signal to the probe.
P3 is similar to P1 but drives the control signal to the probe low. This may be used to switch between different Z probes.
P4 selects a switch for bed probing (on the Duet, this must be connected to the E0 endstop pins).
P5 (from RepRapFirmware 1.14) selects a switch by default (normally closed) for bed probing between the In and Gnd pins of the Z-probe connector (Duet 0.8.5 and Duet WiFi).
P6 is as P4 but the switch is connected to an alternative connector (on the Duet series, the E1 endstop connector).
P7 (from RepRapFirmware 1.20) selects a switch (by default normally closed) connected to the Z endstop input
P8 (from RepRapFirmware 1.20) is as P5 but is unfiltered, for faster response time
P9 (from RepRapFirmware 1.21RC2) is as P5 but for a BLTouch probe that needs to be retracted and redeployed between probe pointsIn RepRapFirmware versions 1.20beta4 and earlier, the X, Y and Z parameters specify whether each axis uses the Z probe as a substitute homing switch or not. If the parameter is nonzero, the Z probe is used for homing that axis. If the parameter is zero, the endstop switch for that axis is used for homing instead. In firmware 1.20beta6 and later, use the S parameter in the M574 command instead to indicate whether you are using a homing switch or a Z probe for homing X and Y.
Related commands: G29, G31, G32, M401, M402.
I tested, the contact, it triggers the light but doesn't stop in home all or home Z
M558 P* F120 X0 Y0 Z1 T6000 S1
G31 P500 X0 Y0 Z0
I tested M558 with: P1, P2, P5Do I have to make any modification in homeall.g or homez.g?
Thank you
-
You can connect the switch to the Z endstop pins or the E1 endstop pins instead (whichever pins are free) and use P6 or P7 instead of P4 in the M558 command.