• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

Z Axis not homing endstops Ender 3

Scheduled Pinned Locked Moved
Tuning and tweaking
2
6
1.8k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ?
    A Former User
    last edited by 23 Jun 2021, 09:06

    Dear Duet3D team

    I want to ask for your help to set correctly the setup of my Z axis in my Ender 3 using the Duet3D Mini 5

    Preconditions:

    • The Ender 3 was working correctly before with the IR Probe from Duet installed in Z axis.
    • I have removed from the board the IR Probe because I have installed the Bondtech extruder DDXv3 and at the moment I dont have the option to install the IR probe in the new setup
    • I have now the original config.g as was before without the IR Probe to use the original mechanical endswitch from the Ender 3 for the Z Axis.

    The problem:

    • When I homing all the Axis, the Z is going up 5mm and I can read that the new tool position for my Z it is set to 0. If I try again the Z is going again 5mm up and the tool position for the Z is again in 0.

    • The Z axis is not moving to the stop end switch, just the X and Y is moving correctly to the home position where the end stop switch are.

    I dont have errors reported by the system in the console. I did try multiple configurations with G92 Z0 and 91 relative and absolute position and other options but still my Z axis just going up 5mm and declared the new tool position as 0 when in reality is probably 25 mm up from the bed.

    I have removed the option in Homeall.g for G1 H2 Z5 F6000 and this help to stop moving the Z axis the 5mm up, but still the problem to find the way how the Z axis is not travelling to the home position where the endstop switch is originally.

    Here is my config.g

    ; Configuration file for Duet 3 Mini 5+ (firmware version 3)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v3.2.3 on Tue Jun 22 2021 17:40:51 GMT+0200 (Mitteleuropäische Sommerzeit)
    ; General preferences
    G90 ; send absolute coordinates...
    M83 ; ...but relative extruder moves
    M550 P"My Printer" ; set printer name
    ; Network
    M551 P"1970" ; set password
    M552 S1 ; enable network
    M586 P0 S1 ; enable HTTP
    M586 P1 S0 ; disable FTP
    M586 P2 S0 ; disable Telnet
    ; Drives
    M569 P0.0 S0 ; physical drive 0.0 goes backwards
    M569 P0.1 S0 ; physical drive 0.1 goes backwards
    M569 P0.2 S1 ; physical drive 0.2 goes forwards
    M569 P0.3 S0 ; physical drive 0.3 goes backwards
    M584 X0.0 Y0.1 Z0.2 E0.3 ; set drive mapping
    M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
    M92 X80.00 Y80.00 Z400.00 E93.00 ; set steps per mm
    M566 X900.00 Y900.00 Z60.00 E300.00 ; set maximum instantaneous speed changes (mm/min)
    M203 X6000.00 Y6000.00 Z600.00 E3600.00 ; set maximum speeds (mm/min)
    M201 X500.00 Y500.00 Z200.00 E2500.00 ; set accelerations (mm/s^2)
    M906 X600 Y600 Z600 E900 I30 ; set motor currents (mA) and motor idle factor in per cent
    M84 S30 ; Set idle timeout
    ; Axis Limits
    M208 X0 Y0 Z0 S1 ; set axis minima
    M208 X235 Y235 Z260 S0 ; set axis maxima
    ; Endstops
    M574 X1 S1 P"io5.in" ; configure active-high endstop for low end on X via pin io5.in
    M574 Y1 S1 P"io6.in" ; configure active-high endstop for low end on Y via pin io6.in
    M574 Z1 S1 P"io2.in" ; configure active-high endstop for low end on Z via pin io2.in
    ; Z-Probe
    M558 P0 H5 F120 T6000 ; disable Z probe but set dive height, probe speed and travel speed
    M557 X20:200 Y20:200 S10 ; define mesh grid
    ; Heaters
    M308 S0 P"temp0" Y"thermistor" T98801 B4185 ; configure sensor 0 as thermistor on pin temp0
    M950 H0 C"out0" T0 ; create bed heater output on out0 and map it to sensor 0
    M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit
    M140 H0 ; map heated bed to heater 0
    M143 H0 S90 ; set temperature limit for heater 0 to 90C
    M308 S1 P"temp1" Y"thermistor" T98801 B4185 ; configure sensor 1 as thermistor on pin temp1
    M950 H1 C"out1" T1 ; create nozzle heater output on out1 and map it to sensor 1
    M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
    M143 H1 S280 ; set temperature limit for heater 1 to 280C
    ; Fans
    M950 F0 C"out3" Q500 ; create fan 0 on pin out3 and set its frequency
    M106 P0 C"PartCool" S0 H-1 ; set fan 0 name and value. Thermostatic control is turned off
    M950 F1 C"out4" Q500 ; create fan 1 on pin out4 and set its frequency
    M106 P1 C"HotEnd" S1 H1:0 T45 ; set fan 1 name and value. Thermostatic control is turned on
    M950 F2 C"out5" Q500 ; create fan 2 on pin out5 and set its frequency
    M106 P2 C"CaseFan" S1 H1:0 T45 ; set fan 2 name and value. Thermostatic control is turned on
    ; Tools
    M563 P0 S"Hotend" D0 H1 F0 ; 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
    ; Custom settings are not defined
    ; Miscellaneous
    M575 P1 S1 B57600 ; enable support for PanelDue
    M501 ; load saved parameters from non-volatile memory
    M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
    T0 ; select first tool

    Here is my Homeall.g

    ; homeall.g
    ; called to home all axes
    ;
    ; generated by RepRapFirmware Configuration Tool v3.2.3 on Tue Jun 22 2021 17:40:51 GMT+0200 (Mitteleuropäische Sommerzeit)
    G91 ; relative positioning
    G1 H2 Z5 F6000 ; lift Z relative to current position
    G1 H1 X-240 Y-240 F1800 ; move quickly to X and Y axis endstops and stop there (first pass)
    G1 H2 X5 Y5 F6000 ; go back a few mm
    G1 H1 X-240 Y-240 F360 ; move slowly to X and Y axis endstops once more (second pass)
    G1 H1 Z-255 F6000 ; move Z down stopping at the endstop
    G92 Z0 ; set Z position to axis minimum (you may want to adjust this)
    G90 ; absolute positioning
    G1 X120 Y120 F6000 ; position probe at center of bed
    ; Uncomment the following lines to lift Z after probing
    ;G91 ; relative positioning
    ;G1 Z5 F100 ; lift Z relative to current position
    ;G90 ; absolute positioning

    My homex.g

    ; homex.g
    ; called to home the X axis
    ;
    ; generated by RepRapFirmware Configuration Tool v3.2.3 on Tue Jun 22 2021 17:40:51 GMT+0200 (Mitteleuropäische Sommerzeit)
    G91 ; relative positioning
    G1 H2 Z5 F6000 ; lift Z relative to current position
    G1 H1 X-240 F1800 ; move quickly to X axis endstop and stop there (first pass)
    G1 H2 X5 F6000 ; go back a few mm
    G1 H1 X-240 F360 ; move slowly to X axis endstop once more (second pass)
    G1 H2 Z-5 F6000 ; lower Z again
    G90 ; absolute positioning

    My homey.g

    ; homey.g
    ; called to home the Y axis
    ;
    ; generated by RepRapFirmware Configuration Tool v3.2.3 on Tue Jun 22 2021 17:40:51 GMT+0200 (Mitteleuropäische Sommerzeit)
    G91 ; relative positioning
    G1 H2 Z5 F6000 ; lift Z relative to current position
    G1 H1 Y-240 F1800 ; move quickly to Y axis endstop and stop there (first pass)
    G1 H2 Y5 F6000 ; go back a few mm
    G1 H1 Y-240 F360 ; move slowly to Y axis endstop once more (second pass)
    G1 H2 Z-5 F6000 ; lower Z again
    G90 ; absolute positioning

    My homez.g

    ; homez.g
    ; called to home the Z axis
    ;
    ; generated by RepRapFirmware Configuration Tool v3.2.3 on Tue Jun 22 2021 17:40:51 GMT+0200 (Mitteleuropäische Sommerzeit)
    G91 ; relative positioning
    G1 H2 Z4 F200
    G90
    G91
    G1 H1 Z-265 F3600 ; move Z down until the endstop is triggered
    G90
    ;G92 Z0 S1 ; set Z position to axis minimum (you may want to adjust this)
    G92 Z.03 ; absolute positioning
    ; Uncomment the following lines to lift Z after probing
    ;G91 ; relative positioning
    ;G1 Z5 F100 ; lift Z relative to current position

    I am sorry to bother you guys with so easy tasks, but before call for your help I have tried really hard for at least 8 hours trying to find the issue. I have read all your guidance in the Duet3D page and study the G code and M codes to understand my problem.

    I have also reconfigured and uploaded the config files using the configtool for the reprap firmware that you have in your site for the Ender 3 but still not luck.

    I hope you can help me
    Thank you
    Cheers
    Javier

    jay_s_ukundefined 1 Reply Last reply 23 Jun 2021, 11:00 Reply Quote 0
    • jay_s_ukundefined
      jay_s_uk @A Former User
      last edited by 23 Jun 2021, 11:00

      @javcab Have you confirmed the z endstop is working correctly using M119?

      Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

      ? 1 Reply Last reply 23 Jun 2021, 11:14 Reply Quote 0
      • ?
        A Former User @jay_s_uk
        last edited by 23 Jun 2021, 11:14

        @jay_s_uk Thanks for the reply
        I have run the M119 and this is the result in the Console:

        M119
        Endstops - X: not stopped, Y: not stopped, Z: at min stop, Z probe: at min stop

        Still the Z axis is not homing, when press the "Home All" the first to move is the Z axis 5mm up and then the Y and X homing correctly but never Homing the Z axis to the switch endstop.

        jay_s_ukundefined 1 Reply Last reply 23 Jun 2021, 11:20 Reply Quote 0
        • jay_s_ukundefined
          jay_s_uk @A Former User
          last edited by 23 Jun 2021, 11:20

          @javcab said in Z Axis not homing endstops Ender 3:

          Endstops - X: not stopped, Y: not stopped, Z: at min stop, Z probe: at min stop

          if its saying at min stop and you don;t have the endstop triggered then its an issue with your wiring (assuming you're using the stock Ender 3 switch)

          Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

          ? 2 Replies Last reply 23 Jun 2021, 11:30 Reply Quote 1
          • ?
            A Former User @jay_s_uk
            last edited by 23 Jun 2021, 11:30

            @jay_s_uk Hi thanks again for the reply.

            I can check again the wiring, I have the original Ender 3 switches.

            Before I have the IR Probe Z configured and I removed, after that I have this problem. Let me check and keep you posted.

            1 Reply Last reply Reply Quote 0
            • ?
              A Former User @jay_s_uk
              last edited by 23 Jun 2021, 11:38

              @jay_s_uk You are an angel 🙂

              Yes, the problem was one cable loose, I have pushed right in the mainboard and now Z is homing and all is good

              Thank you

              1 Reply Last reply Reply Quote 1
              1 out of 6
              • First post
                1/6
                Last post
              Unless otherwise noted, all forum content is licensed under CC-BY-SA