Z Endstop not working



  • Im in need of some help on setting up my Duet Wifi Z endstop.
    My mechanical z endstops wont stop the axis when homing. When i give a z home command the z axis moves in the correct direction and when the switch is activated the LED for the end stop lights up for the Z axis on the duet WiFi, the light activates on the endstop, M119 states z min. activated, and under machine properties it says yes under enstop hit for z axis, but it wont stop.
    Wiring is as follows on the endstop green = out, red= +3v, blk = gnd…On the Duet green=in, red = +3v, blk=gnd.

    The mini ir probe works when programmed. I just want to set a z endstop for now until i can get some proper brackets made for the z probe and my extruder and then i will switch back to ABL.
    Any help is much appreciated.

    Configuration file for Duet WiFi (firmware version 1.17)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool on Sun Apr 30 2017 22:23:07 GMT-0400 (Eastern Daylight Time)

    ; General preferences
    M111 S0 ; Debugging off
    G21 ; Work in millimetres
    G90 ; Send absolute coordinates...
    ;M83 ; ...but relative extruder moves
    M555 P1 ; Set firmware compatibility to look like RepRapFirmare
    M208 X0 Y0 Z0 S1 ; Set axis minima
    M208 X350 Y205 Z220 S0 ; Set axis maxima

    ; Endstops
    M574 X1 Y2 Z1 S0 ; Define active high microswitches
    ;M558 P1 X0 Y0 Z1 F120 T6000 ; Set Z probe type to unmodulated, the axes for which it is used and the probe + travel speeds
    ;G31 P500 X0 Y0 Z2.47 ; Set Z probe trigger value, offset and trigger height
    ;M557 X15:350 Y15:195 S50 ; Define mesh grid

    ; Drives
    M569 P0 S1 ; Drive 0 goes fowwards
    M569 P1 S1 ; Drive 1 goes forwards
    M569 P2 S0 ; Drive 2 goes forwards
    M569 P3 S0 ; Drive 3 goes forwards
    M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
    M92 X81 Y80 Z1600 E962 ; Set steps per mm
    M566 X900 Y900 Z12 E120 ; Set maximum instantaneous speed changes (mm/min)
    M203 X6000 Y6000 Z6000 E300 ; Set maximum speeds (mm/min)
    M201 X750 Y750 Z250 E100 ; Set accelerations (mm/s^2)
    M906 X800 Y1000 Z1000 E1200 I30 ; Set motor currents (mA) and motor idle factor in per cent
    M84 S30 ; Set idle timeout

    ; Heaters
    M143 S280 ; Set maximum heater temperature to 285C
    M307 H1 A1103.7 C242.6 D7.3 S1 B0
    M305 P0 T100000 B3950 C0 R4700 ; Set thermistor + ADC parameters for heater 0
    M305 P1 T100000 B4725 C7.06e-8 R4700 ; Set thermistor + ADC parameters for heater 1 ; Heater 1

    ; Tools
    M563 P0 D0 H1 ; Define tool 0
    G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets
    G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C

    ;*** If you have more than one Duet on your network, they must all have different MAC addresses, so change the last digits
    M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0xED ; MAC Address
    ;*** Adjust the IP address and gateway in the following 2 lines to suit your network
    M552 P0.0.0.0 ; IP address (0 = use DHCP)
    M554 P10.0.0.2 ; Gateway
    M553 P255.255.255.0 ; Netmask
    M555 P2 ; Set output to look like Marlin
    M575 P1 B57600 S1 ; Comms parameters for PanelDue

    ; Fans
    M106 P0 S0.3 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
    M106 P1 S1 I0 F500 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
    M106 P2 S1 I0 F500 H1 T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on

    ; Custom settings are not configured



  • I have the z stop working. Went back through the configurator and let it set it up again and i see the where i went wrong.

    Thanks



  • Hi Tinroof - What was the issue? I am researching s similar problem and would like to learn how you solved it.



  • Me too.



  • Turns out the z-endstop is hardwired to E0, so thats where you connect it.

    My endstops (normal open) are defined as:

    M574 X1 Y1 Z1 U1 E0 S0 ; Define active low and unused microswitches

    Kulitorum


  • administrators

    @Kulitorum:

    Turns out the z-endstop is hardwired to E0, so thats where you connect it.

    My endstops (normal open) are defined as:

    M574 X1 Y1 Z1 U1 E0 S0 ; Define active low and unused microswitches

    Kulitorum

    I think you are confusing the Z endstop and the Z probe. You must select whether you use an endstop switch or a Z probe to do Z homing, in the homing files. See https://duet3d.com/wiki/Configuring_RepRapFirmware_for_a_Cartesian_printer#Homing_Z_using_a_Z_probe and thre section after that one.



  • Well, I have a microswitch mounted on my X axis printhead and use it for z endstop and for z probe. Its is mounted offset in both X, Y and Z (lifted 5mm) in a way that it can sample 3 points on the printbed, while the nozzle is outside of the printbed. Totally stole the idea from the BCN3D Sigma 🙂

    But I am now installing a BLTouch.


Locked
 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.