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

    Failed to enable endstops new build

    Scheduled Pinned Locked Moved Solved
    Using Duet Controllers
    2
    25
    853
    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.
    • chriswhitingundefined
      chriswhiting
      last edited by

      Hey finished mod an old Tronxy core XY with a new Z build plate mounted 3 t8 skews true bed level is working, and calibration seems ok?

      However every time I start a print I get the following error "Failed to enable endstops"

      I've been pulling my hair out now for a week"

      Config.g below

      ; Configuration file for Duet 3 MB 6HC (firmware version 3.3)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool v3.3.13 on Sat Oct 01 2022 13:40:55 GMT+1000 (Australian Eastern Standard Time)

      ; General preferences
      G90 ; send absolute coordinates...
      M83 ; ...but relative extruder moves
      M550 P"Duet 3" ; set printer name
      M669 K1 ; select CoreXY mode

      ; Drives
      M569 P0.1 S0 ; physical drive 0.1 goes forwards
      M569 P0.2 S0 ; physical drive 0.2 goes forwards
      M569 P0.3 S1 ; physical drive 0.3 goes forwards
      M569 P0.4 S1 ; physical drive 0.4 goes forwards
      M569 P0.5 S0 ; physical drive 0.4 goes forwards
      M569 P121.0 S1 ; physical drive 121.0 goes forwards
      M584 X0.1 Y0.2 Z0.3:0.4:0.5 E121.0 ; set drive mapping
      M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
      M92 X80.00 Y80.00 Z400.00 E400.00 ; set steps per mm
      M566 X1800.00 Y1800.00 Z120.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
      M203 X12000.00 Y12000.00 Z320.00 E1200.00 ; set maximum speeds (mm/min)
      M201 X500.00 Y500.00 Z20.00 E250.00 ; set accelerations (mm/s^2)
      M906 X800 Y800 Z800 E800 I30 ; set motor currents (mA) and motor idle factor in per cent
      M84 S30 ; Set idle timeout
      M671 X120:0:320 Y0:320:320 S5

      ; Axis Limits
      M208 X0 Y0 Z0 S1 ; set axis minima
      M208 X330 Y330 Z350 S0 ; set axis maxima

      ; Endstops
      M574 X1 S1 P"121.io1.in" ; configure switch-type (e.g. microswitch) endstop for low end on X via pin 121.io1.in
      M574 Y1 S1 P"io1.in" ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin io1.in

      ; Z-Probe
      M950 S0 C"121.io0.out" ; create servo pin 0 for BLTouch
      M558 P9 C"121.io0.in" H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds
      G31 P500 X0 Y0 Z1.05 ; set Z probe trigger value, offset and trigger height
      M557 X15:320 Y15:320 S24 ; define mesh grid

      ; Heaters
      M308 S0 P"temp0" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin temp0
      M950 H0 C"out1" T0 ; create bed heater output on out0 and map it to sensor 0
      M307 H0 R0.868 K0.492:0.000 D1.32 E1.35 S1.00 B0 ; disable bang-bang mode for the bed heater and set PWM limit
      M140 H0 ; map heated bed to heater 0
      M143 H0 S120 ; set temperature limit for heater 0 to 120C
      M308 S1 P"121.temp0" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin 121.temp0
      M950 H1 C"121.out0" T1 ; create nozzle heater output on 121.out0 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"121.out2" Q500 ; create fan 0 on pin 121.out2 and set its frequency
      M106 P0 S1.0 H-1 ; set fan 0 value. Thermostatic control is turned off

      ; Tools
      M563 P0 D0 H1 F0 ; define tool 0
      G10 P0 X0 Y0 Z1.945 ; set tool 0 axis offsets
      G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C

      ; Custom settings are not defined

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

        @chriswhiting post the contents of your homing files

        Actually, add a G4 S3 to your config just after the M669 to allow the CAN-FD connections to come online

        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

        chriswhitingundefined 1 Reply Last reply Reply Quote 0
        • chriswhitingundefined
          chriswhiting @jay_s_uk
          last edited by

          @jay_s_uk [download (1).zip](Invalid file type. Allowed types are: .png, .jpg, .gif, .bmb, .pdf, .svg, .dxf, .cad, .txt, .doc, .xls, .docx, .xlsx, .stl, .csv, .g, .gcode, .stp, .step, .cps, .cbpp, .odt, .ods, .json, .scad, homex.g homeall.g homez.g homey.g .heic, .cpp, .c, .h, .py, .fcstd, .elf, .bin, .mp4, .jpeg, .hpp, .webp, .heic, .js, .qoi, .gc)

          chriswhitingundefined jay_s_ukundefined 3 Replies Last reply Reply Quote 0
          • chriswhitingundefined
            chriswhiting @chriswhiting
            last edited by

            @chriswhiting trying the G4 S3 now

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

              @chriswhiting
              homex.g

              ; homex.g
              ; called to home the X axis
              ;
              ; generated by RepRapFirmware Configuration Tool v3.3.13 on Sat Oct 01 2022 13:40:55 GMT+1000 (Australian Eastern Standard Time)
              G91               ; relative positioning
              ;G1 H2 Z5 F6000    ; lift Z relative to current position
              G1 H1 X-335 F1800 ; move quickly to X axis endstop and stop there (first pass)
              G1 X5 F6000       ; go back a few mm
              G1 H1 X-335 F360  ; move slowly to X axis endstop once more (second pass)
              ;G1 H2 Z-5 F6000   ; lower Z again
              G90               ; absolute positioning
              

              homey

              ; homey.g
              ; called to home the Y axis
              ;
              ; generated by RepRapFirmware Configuration Tool v3.3.13 on Sat Oct 01 2022 13:40:55 GMT+1000 (Australian Eastern Standard Time)
              G91               ; relative positioning
              ;G1 H2 Z5 F6000    ; lift Z relative to current position
              G1 H1 Y-335 F1800 ; move quickly to Y axis endstop and stop there (first pass)
              G1 Y5 F6000       ; go back a few mm
              G1 H1 Y-335 F360  ; move slowly to Y axis endstop once more (second pass)
              ;G1 H2 Z-5 F6000   ; lower Z again
              G90               ; absolute positioning
              

              homez

              ; homez.g
              ; called to home the Z axis
              ;
              ; generated by RepRapFirmware Configuration Tool v3.3.13 on Sat Oct 01 2022 13:40:55 GMT+1000 (Australian Eastern Standard Time)
              ;G91               ; relative positioning
              ;G1 H2 Z5 F6000    ; lift Z relative to current position
              ;G1 H1 Z-355 F1800 ; move Z down until the endstop is triggered
              ;G92 Z0            ; set Z position to axis minimum (you may want to adjust this)
              
              ; Uncomment the following lines to lift Z after probing
              ;G91              ; relative positioning
              ;G1 Z5 F100       ; lift Z relative to current position
              ;G90              ; absolute positionin
              
              ------------------------------------------------------------------------------
              G91                ; relative mode
              ;G1 H2 Z2 F200      ; raise head 4mm to ensure it is above the Z probe trigger height       
              G1 X0 Y0 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
              G90  ; back to absolute mode
              

              homeall

              ; homeall.g
              ; called to home all axes
              ;
              ; generated by RepRapFirmware Configuration Tool v3.3.12 on Tue Sep 06 2022 18:33:17 GMT+1000 (Australian Eastern Standard Time)
              G91                     ; relative positioning
              ;G1 H2 Z5 F6000          ; lift Z relative to current position
              G1 H1 X-335 Y-335 F1800 ; move quickly to X or Y endstop and stop there (first pass)
              G1 H1 X-335             ; home X axis
              G1 H1 Y-335             ; home Y axis
              G1 X5 Y5 F6000          ; go back a few mm
              G1 H1 X-335 F360        ; move slowly to X axis endstop once more (second pass)
              G1 H1 Y-335             ; then move slowly to Y axis endstop
              G1 H1 Z-355 F360        ; move Z down stopping at the endstop
              G90                     ; absolute positioning
              G92 Z0                  ; set Z position to axis minimum (you may want to adjust this)
              

              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 Reply Quote 0
              • jay_s_ukundefined
                jay_s_uk @chriswhiting
                last edited by

                @chriswhiting the error is homeall tried to home with an endstop and homez homes with a probe

                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 Reply Quote 0
                • chriswhitingundefined
                  chriswhiting @chriswhiting
                  last edited by

                  @chriswhiting Nup same outcome "Failed to enable endstops" just after extruder start heating

                  chriswhitingundefined 1 Reply Last reply Reply Quote 0
                  • chriswhitingundefined
                    chriswhiting @chriswhiting
                    last edited by

                    @chriswhiting ok that seemshomez.g homey.g homex.g homeall.g config.g bed.g to fix the error message, however now I'm getting " Attempting to extrude with no tool selected." <grrrrrr>

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

                      @chriswhiting add T0 to the end of your config

                      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

                      chriswhitingundefined 1 Reply Last reply Reply Quote 0
                      • chriswhitingundefined
                        chriswhiting @jay_s_uk
                        last edited by

                        @jay_s_uk did you mean config.g ?

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

                          @chriswhiting yes

                          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

                          chriswhitingundefined 1 Reply Last reply Reply Quote 0
                          • chriswhitingundefined
                            chriswhiting @jay_s_uk
                            last edited by

                            @jay_s_uk OK did that and print seems to run. I have a z height issue, but it may not be related.

                            One problem now is Z doesn't probe when I select home all and does when I select home z? homez.g homeall.g config.g

                            chriswhitingundefined 1 Reply Last reply Reply Quote 0
                            • chriswhitingundefined
                              chriswhiting @chriswhiting
                              last edited by

                              @chriswhiting I think I might have fixed the home all issue

                              homeall.g

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

                                @chriswhiting thats better.
                                It's also suggested to probe in the centre of the bed for homing.

                                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

                                chriswhitingundefined 1 Reply Last reply Reply Quote 0
                                • chriswhitingundefined
                                  chriswhiting @jay_s_uk
                                  last edited by

                                  @jay_s_uk Understood that's me being inpatient 🙂

                                  chriswhitingundefined 1 Reply Last reply Reply Quote 0
                                  • chriswhitingundefined
                                    chriswhiting @chriswhiting
                                    last edited by

                                    @chriswhiting Grrr calibrated my Z probe offset height to 1.28 and it's printing the first layer about 4mm above the bed?

                                    bed.g homez.g homeall.g config.g

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

                                      @chriswhiting you have no X and Y offsets for your probe

                                      G31 P500 X0 Y0 Z1.2                         ; set Z probe trigger value, offset and trigger height
                                      

                                      what type of probe is it and how did you calibrate it?

                                      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

                                      chriswhitingundefined 1 Reply Last reply Reply Quote 0
                                      • chriswhitingundefined
                                        chriswhiting @jay_s_uk
                                        last edited by

                                        @jay_s_uk its a bltouch and I used this

                                        https://duet3d.dozuki.com/Wiki/Test_and_calibrate_the_Z_probe#Section_Calibrate_the_Z_probe_trigger_height

                                        chriswhitingundefined 1 Reply Last reply Reply Quote 0
                                        • chriswhitingundefined
                                          chriswhiting @chriswhiting
                                          last edited by

                                          @chriswhiting Tried again and changed

                                          M558 P9 C"121.io0.in" H1.945 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds

                                          Same problem?

                                          config.g

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

                                            @chriswhiting thats not where you set the probe offset. its set using G31, the next line down from M558

                                            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

                                            chriswhitingundefined 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA