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

    Homing issue with Dual endstop

    Scheduled Pinned Locked Moved
    CNC
    2
    6
    446
    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.
    • YYCSparksundefined
      YYCSparks
      last edited by

      Hey guys,

      I have a Dual end stop setup for my MPCNC and I think I have my config setup right to have the system auto square but I have an issue specifically on my X axis when it homes that sometimes one of the X rails does not travel all the way to the limit switch and the motor stalls.
      My understanding and perhaps its wrong is that both of X motors should drive to the end stops and both stop once they reach the end stop.

      Here is my config and a video of what happens:

      Video:
      https://youtu.be/F8xYpFpeYBk

      Config:

      ; Configuration file for Duet 3 Mini 5+ (firmware version 3.3)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool v3.3.10 on Thu Mar 24 2022 08:01:33 GMT-0600 (Mountain Daylight Time)
      
      ; General preferences
      M453                                            ; Set CNC Mode
      M550 P"MPCNC01"                                 ; set printer name
      G90                                             ; send absolute coordinates...
      G21												; Set units to mm
      
      ; Network
      M552 S1                                         ; enable network
      M586 P0 S1                                      ; enable HTTP
      M586 P1 S0                                      ; disable FTP
      M586 P2 S1                                      ; enable Telnet
      
      ; Configure Drives
      M669 K0                                         ; explicitly set Cartesian kinematics, even if I should not need to
      M569 P0.0 S1                                    ; physical drive 0.0 goes forwards
      M569 P0.1 S0                                    ; physical drive 0.1 goes forwards
      M569 P0.2 S1                                    ; physical drive 0.2 goes forwards
      M569 P0.3 S0                                    ; physical drive 0.3 goes forwards
      M569 P0.4 S0                                    ; physical drive 0.4 goes forwards
      M584 X0.0:0.1 Y0.2:0.3 Z0.4                     ; set drive mapping, dual X axis and dual Y axis
      
      ; Configure Axis
      M92 X100.00 Y100.00 Z400.00				        ; set steps per mm
      M350 X16 Y16 Z16 I1                             ; configure microstepping with interpolation
      M566 X900.00 Y900.00 Z60.00				        ; set maximum instantaneous speed changes (mm/min)
      M203 X6000.00 Y6000.00 Z180.00 					; set maximum speeds (mm/min)
      M201 X500.00 Y500.00 Z20.00					    ; set accelerations (mm/s^2)
      M906 X900 Y900 Z900 I70							; set motor currents (mA) and motor idle factor in per cent
      M84 S240                                        ; Set idle timeout
      
      ; Configure Axis Limits
      M208 X0 Y0 Z-92 S1								; set axis minima
      M208 X636 Y501 Z92 S0							; set axis maxima
      
      ; Configure Endstops
      M574 X1 S1 P"io5.in+io6.in"						; configure switch-type (e.g. microswitch) endstop for low end on X via pin io5.in and io6.in on X axis
      M574 Y1 S1 P"io3.in+io4.in"						; configure switch-type (e.g. microswitch) endstop for low end on X via pin io3.in and io4.in on Y axis
      M574 Z2 S1 P"io2.in"
      
      ; Configure Z-Probe
      ;M558 K1 P8 C"!io1.in" H5 F100 T3000 			; XYZ Workpeice probe connected to io1 input
      M558 P5 C"!^io1.in" H5 F200:75 T6000            ; set Z probe type to switch and the dive height + speeds
      G31 P850 X0 Y0 Z14.5                             ; set Z probe trigger value, offset and trigger height
      
      ; Configure Heaters
      M140 H-1										; Disable heated bed
      M564 S1 H1 										; Disable jog commands when not homed
      M308 S2 Y"drivers" A"DRIVERS"              		; configure sensor 2 as temperature warning and overheat flags on the TMC2660 on Duet
      M308 S3 Y"mcu-temp" A"MCU"                      ; configure sensor 3 as thermistor on pin e1temp for left stepper
      
      ; Configure Fans
      
      ; Configure Tools
      M950 R0 C"out6" L10000							; Spindle 0 uses exp.heater1 as RPM pin and has a max RPM of 10000
      M563 P0 S"Spindle 1" R0                         ; Define the router as tool 0
      
      ; Custom settings
      ;M575 P1 S1 B57600                              ; Enable PanelDUE
      M911 S21.0 R23 P"G91 G1 Z3 F1000" 				; Configure power loss resume
      M501											; Load Stored Parameters 
      G54                                             ; Select Workspace Coordinate 1
      
      
      
      fcwiltundefined 1 Reply Last reply Reply Quote 0
      • fcwiltundefined
        fcwilt @YYCSparks
        last edited by

        @yycsparks

        Is something preventing movement all the way to the end stop before the endstop is triggered?

        There was a thump suggesting that.

        Frederick

        Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

        YYCSparksundefined 1 Reply Last reply Reply Quote 0
        • YYCSparksundefined
          YYCSparks @fcwilt
          last edited by

          @fcwilt hey thanks for the reply, so based on your thoughts you think its more mechanical than software based? I will go back over the rails tonight and see what I can find.

          fcwiltundefined 1 Reply Last reply Reply Quote 0
          • fcwiltundefined
            fcwilt @YYCSparks
            last edited by

            @yycsparks

            I have a printer with dual Y steppers and dual Y endstops.

            That same printer has triple Z steppers with triple Z endstops.

            They all home smoothly with no "thumps".

            Here is a quick-and-dirty video. I have purposely put the bed way out of level to demonstrate auto bed leveling.

            Homing video

            Frederick

            Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

            YYCSparksundefined 1 Reply Last reply Reply Quote 0
            • YYCSparksundefined
              YYCSparks @fcwilt
              last edited by

              @fcwilt said in Homing issue with Dual endstop:

              Here is a quick-and-dirty video. I have purposely put the bed way out of level to demonstrate auto bed level

              Thank you for sharing the video that is really slick, and my config should result in the same result I assume?
              I will check that the rails will allow for the required movement.

              On a side note what printer is that?

              fcwiltundefined 1 Reply Last reply Reply Quote 0
              • fcwiltundefined
                fcwilt @YYCSparks
                last edited by

                @yycsparks said in Homing issue with Dual endstop:

                Thank you for sharing the video that is really slick, and my config should result in the same result I assume?

                Well if your printer has two Y steppers and three Z steppers you should see much that same.

                On a side note what printer is that?

                Something I designed myself. I was reading about different types of printers and was intrigued with the "MarkForged" kinematics. So I set out to build one. I also chose to try belt drive for the Z axis - very pleased with the result.

                Frederick

                Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

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