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

    Failed to enable endstops

    Scheduled Pinned Locked Moved Solved
    General Discussion
    2
    7
    455
    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.
    • Makergal3Dundefined
      Makergal3D
      last edited by

      Hi, I'm trying to add auto-leveling to a 3D printer with a Duet 2 Ethernet. I've got everything up and running, but when I attempt to print, I encounter the "Failed to enable endstops" error. I've looked up solutions in the forum, but nothing seems to work. I hope someone can help me identify and resolve the error I'm facing.

      This is a fairly old machine from 2016, and they've updated the firmware to RRF 3.3. I've checked that the config file was correctly updated.

      Everything seems to work; I can move the axis, home all the axis, auto-level the bed, and heat the extruder and bed. However, if I try to print, I encounter the error.

      Thanks in advance.

      My config.g

      ; Configuration file for Duet (for firmware version = 3.3)
      ; Executed by the firmware on start-up
      ; Generated by INDART3D on 2022.01.19
      
      ; General Preferences
      M575 P1 S1 B57600			; Set serial comms parameters
      G90			; Set to Absolute Positioning
      M83			; Set extruder to relative mode
      M550 P"BF 500"			; Set Name
      ;M551 P"password"			; Set Password
      
      ; Duet Ethernet electronics (only for electronics with Ethernet)
      ;M540 PDE:AD:BE:EF:CA:FE			; Set MAC address (ONLY IF NECESSARY)
      ;M552 P192.168.1.114			; Set IP address
      ;M554 P192.168.1.255			; Set Gateway and/or DNS server
      ;M553 P255.255.255.0			; Set Netmask
      
      ; Network
      M552 S1			; Enable/disable network interface
      M586 P0 S1			; Configure network protocols: Enable HTTP
      M586 P1 S0			; Configure network protocols: Disable FTP
      M586 P2 S0			; Configure network protocols: Disable Telnet
      
      ; Drivers
      M569 P0 S0			; Set motor driver direction
      M569 P1 S1			; Set motor driver direction
      M569 P2 S1			; Set motor driver direction
      M569 P3 S1			; Set motor driver direction
      M584 X0 Y1 Z2 E3			; Set drive mapping
      M350 I1 X16 Y16 Z16 E16			; Set microstepping mode
      M92 X100 Y100 Z1784 E400			; Set axis steps per unit
      ;M566 X900 Y900 Z80 E8000			; Set allowable instantaneous speed change
      M566 X300 Y300 Z80 E200			; Set allowable instantaneous speed change GVIDAL
      M203 X9000 Y9000 Z400 E9000			; Set maximum feedrate (mm/min)
      ;M201 X1800 Y1800 Z200 E8000			; Set max acceleration (mm/s^2)
      M201 X800 Y800 Z150 E2000			; Set max acceleration (mm/s^2) GVIDAL
      ;M906 I30 X1360 Y1550 Z1360 E1360			; Set motor currents (mA)
      ;GVIDAL -MOTOR
      M906 X1360 Y1450 Z1300 E650 I70
      
      
      M84 S60			; Set Idle Time-out
      
      ; Axis limits
      M208 S1 X0 Y0 Z-3			; Set axis min travel
      M208 S0 X500 Y495 Z500			; Set axis max travel
      
      ; End stops
      M574 X1 S1 P"xstop"			; Set endstop configuration
      M574 Y1 S1 P"ystop"			; Set endstop configuration
      ;M574 Z1 S1 P"zstop"			; Set endstop configuration
      ;M574 Z1 S2 P"zstop"			; Set endstop configuration
      ;;M950 J1 C"!e0stop"			; Create GPIO/servo pin
      ;M581 P1 T2 R1			; Configure external trigger#.g
      
      ; Z-Probe
      M558 P5 C"^zprobe.in" H5 F120 T6000 ; BLTOUCH probe speed mm/min
      M307 H3 A-1 C-1 D-1
      M280 P3 S10 I1
      G31 X22 Y0 Z3 P15 ; old biqu bed G31 X-44 Y0 Z2.8125 P25 ; G31 X-44 Y0 Z3.257 P25 3.888
      M950 S0 C"exp.heater3" ; Set BL-Touch Tigger to be activated from Heater 3 pin
      M557 X50:450 Y50:450 S100                           ; define mesh grid
      
      ; Heaters
      M308 S0 P"bedtemp" Y"thermistor" T100000 B4138			; Set or report sensor parameters
      M950 H0 C"bedheat" T0			; Create heater pin
      M143 H0 S125			; Maximum heater temperature
      M307 H0 B1 S1.00			; Set or report heating process parameters
      M570 H0 S0 P300 T15			; Configure heater fault detection
      M140 H0			; Set Bed Temperature (Fast) or Configure Bed Heater
      
      M308 S1 P"e0temp" Y"thermistor" R4700 T100000 B4725 C7.06e-8 A"HEATER"			; Set or report sensor parameters
      M950 H1 C"e0heat" T1			; Create heater pin
      M143 H1 S300			; Maximum heater temperature
      M307 H1 B0 R5.136 C59.7 D3.89 S1.00 V24.1			; Set or report heating process parameters
      
      M302 P0 S160 R160			; Allow cold extrudes
      M308 S10 Y"mcu-temp" A"MCU"			; Set or report sensor parameters
      M308 S11 Y"drivers" A"Drivers"			; Set or report sensor parameters
      M308 S12 Y"dhthumidity" A"Humedad"			; Set or report sensor parameters
      
      ; Fans
      M950 F0 C"fan0" Q500 T1			; Create fan pin
      M106 P0 S1 T45 H1 C"Fan Tool"			; Set fan configuration
      M950 F1 C"fan1" Q500			; Create fan pin
      M106 P1 S0 H-1 C"Layer Fan"			; Set fan configuration
      M950 F2 C"fan2" Q500			; Create fan pin
      M106 P2 C"LED" S255			; Set fan configuration
      M950 F8 Q500 C"e1heat" T1			; Crea la salida para el filtro a 500Hz
      M106 P8 S1 T160 C"Filter" H1			; Set fan configuration
      
      ; Tools
      M563 P0 D0 F1 H1 S"DART"			; Define tool
      G10 P0 X0 Y0 Z0			; Set workplace coordinate offset or tool offset
      G10 P0 R0 S0			; Set initial tool temperature
      
      
      ; Global Variables (not modifiable)
      global delete = 0			; Global variable declaration "runonce.g"
      global respuesta = false			; Global variable declaration "mensajes.g"
      global titulo = "titulo"			; Global variable declaration "mensajes.g"
      global mensaje = "mensaje"			; Global variable declaration "mensajes.g"
      global cargaL = 1400			; Global variable declaration
      global E0active = 0			; Global variable declaration
      global E0standby = 0			; Global variable declaration
      
      ; Modifiable by user
      ;M912 P0 S-6			; Set electronics temperature monitor adjustment
      G29 S1			; Load the height map from file and activate mesh bed compensation
      ;M21 P1			; Initialize external SD card
      ;M291 P"Visit our <a href=""https://indart3d.com"" target=""_blank"">website</a> for more information" R"Welcome to INDART3D" S1 T29			; Display message
      
      ; Always at the end
      M911 S22 R23 P"M913 X0 Y0 Z0 E0 M28""0:/sys/runonce.g"" M98 P""run.g"" M29 M400"			; Configure auto save on loss of power
      M501			; Read stored parameters
      T0 P0			; Tool selection by default
      
      

      My homex.g

      ; homex.g
      ; called to home the X axis
      ;
      ; generated by RepRapFirmware Configuration Tool v3.3.16 on Tue Nov 07 2023 13:21:36 GMT+0100 (hora estándar de Europa central)
      G91               ; relative positioning
      G1 H2 Z5 F6000    ; lift Z relative to current position
      G1 H1 X-500 F1800 ; move quickly to X axis endstop and stop there (first pass)
      G1 H2 X5 F6000    ; go back a few mm
      G1 H1 X-500 F360  ; move slowly to X axis endstop once more (second pass)
      G1 H2 Z-5 F6000   ; lower Z again
      G90               ; absolute positioning
      G92 X0
      
      

      My homey.g

      ; homey.g
      ; called to home the Y axis
      ;
      ; generated by RepRapFirmware Configuration Tool v3.3.16 on Tue Nov 07 2023 13:21:36 GMT+0100 (hora estándar de Europa central)
      G91               ; relative positioning
      G1 H2 Z5 F6000    ; lift Z relative to current position
      G1 H1 Y-505 F1800 ; move quickly to Y axis endstop and stop there (first pass)
      G1 H2 Y5 F6000    ; go back a few mm
      G1 H1 Y-505 F360  ; move slowly to Y axis endstop once more (second pass)
      G1 H2 Z-5 F6000   ; lower Z again
      G90               ; absolute positioning
      G92 Y0
      
      

      My homez.g

      G91 ; relative position
      G1 Z9 F6000 S2 ; raise z by 9
      G90 ; absolute position
      G1 X228 Y250 F6000
      M280 P3 S160 T1
      M280 P3 S10 T1
      G30
      G1 Z20 F1000
      M280 P3 S160 T1
      
      jay_s_ukundefined 1 Reply Last reply Reply Quote 0
      • jay_s_ukundefined
        jay_s_uk @Makergal3D
        last edited by

        @Makergal3D you're using S2 to try and move Z rather than H2 in your homez

        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

        Makergal3Dundefined 1 Reply Last reply Reply Quote 0
        • Makergal3Dundefined
          Makergal3D @jay_s_uk
          last edited by Makergal3D

          @jay_s_uk thanks for your answer I change that but that was not the problem. It keep saying Failed to enable endstops

          jay_s_ukundefined 1 Reply Last reply Reply Quote 0
          • jay_s_ukundefined
            jay_s_uk @Makergal3D
            last edited by

            @Makergal3D can you post the output of M98 P"config.g"

            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

            Makergal3Dundefined 1 Reply Last reply Reply Quote 0
            • Makergal3Dundefined
              Makergal3D @jay_s_uk
              last edited by

              @jay_s_uk said in Failed to enable endstops:

              M98 P"config.g"

              That's it

              	M98 P"config.g"
              HTTP is enabled on port 80
              FTP is disabled
              TELNET is disabled
              Error: Heater 3 not found
              Warning: Heater 0 appears to be over-powered. If left on at full power, its temperature is predicted to reach 365C
              Error: in file macro line 99 column 16: meta command: variable 'delete' already exists
              
              jay_s_ukundefined 1 Reply Last reply Reply Quote 0
              • jay_s_ukundefined
                jay_s_uk @Makergal3D
                last edited by

                @Makergal3D whats in your homeall.g?

                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

                Makergal3Dundefined 1 Reply Last reply Reply Quote 0
                • Makergal3Dundefined
                  Makergal3D @jay_s_uk
                  last edited by

                  @jay_s_uk yes it was the homeall.g they had something weird there, I changed for the code the configurator generates and start printing. thanks

                  1 Reply Last reply Reply Quote 1
                  • Phaedruxundefined Phaedrux marked this topic as a question
                  • Phaedruxundefined Phaedrux has marked this topic as solved
                  • First post
                    Last post
                  Unless otherwise noted, all forum content is licensed under CC-BY-SA