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

    Duet3 6MB U Axis Homing

    Scheduled Pinned Locked Moved Solved
    Tuning and tweaking
    2
    11
    308
    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.
    • neo0204undefined
      neo0204
      last edited by

      Hi

      I am trying to run a U-axis Cartisian configuration. It was working fine when I was using Sensorless homing but when I changed the homing with a 5V inductive end-stop it stopped working. The U-Axis does not move for homing.
      I am using a similar 5V inductive end-stop switch for the X Y and Z-axis and they work fine with them.

      Config.h

      ; Configuration file for Duet 3 (firmware version 3.3)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool v3.3.2 on Mon Sep 27 2021 10:57:47 GMT+0100 (British Summer Time)
      
      ; General preferences
      G90                                      ; send absolute coordinates...
      M83                                      ; ...but relative extruder moves
      M550 P"H1.2"                             ; set printer name
      
      ; Network
      M552 P10.0.20.162 S1                     ; enable network and set IP address
      M553 P255.255.255.0                      ; set netmask
      M554 P10.0.20.1                          ; set gateway
      M586 P0 S1                               ; enable HTTP
      M586 P1 S0                               ; disable FTP
      M586 P2 S1                               ; enable Telnet
      
      ; Drives
      M569 P0.0 S0                             ; physical drive 0.0 goes forwards
      M569 P0.1 S0                             ; physical drive 0.1 goes forwards
      M569 P0.2 S0                             ; physical drive 0.2 goes forwards
      M569 P0.3 S0                            ; physical drive 0.3 goes forwards
      M584 X0.0 Y0.1 Z0.2 U0.3                 ; set drive mapping
      M350 X16 Y16 Z16 U16 I1                  ; configure microstepping with interpolation
      M92 X80.00 Y80.00 Z80.00 U80.00         ; set steps per mm
      M566 X1000.00 Y1000.00 Z1000.00 U1000.00     ; set maximum instantaneous speed changes (mm/min)
      M203 X26000.00 Y26000.00 Z26000.00 U26000.00 ; set maximum speeds (mm/min)
      M201 X500.00 Y500.00 Z500.00 U500.00     ; set accelerations (mm/s^2)
      M906 X2000 Y2000 Z800 U800 I30             ; set motor currents (mA) and motor idle factor in per cent
      M84 S30                                  ; Set idle timeout
      
      ; Axis Limits
      M208 X0 Y0 Z0 U0 S1                         ; set axis minima
      M208 X400 Y400 Z150 U150 S0                   ; set axis maxima
      
      ; Endstops
      M574 X1 S1 P"!io0.in"                    ; configure active-high endstop for low end on X via pin !io0.in
      M574 Y1 S1 P"!io1.in"                    ; configure active-high endstop for low end on Y via pin !io1.in
      M574 Z1 S1 P"!io2.in"                    ; configure active-high endstop for low end on Z via pin !io3.in
      M574 U2 S1 P"!io3.in"
      ; Z-Probe
      M558 P0 H5 F120 T6000                    ; disable Z probe but set dive height, probe speed and travel speed
      M557 X15:215 Y15:195 S20                 ; define mesh grid
      
      ; Heaters
      
      ; Fans
      
      ; Tools
      
      ; Custom settings are not defined
      
      

      Homeu.g

      G91
      G1 H1 U155.0 F2000 ; move quickly to X axis endstop and stop there (first pass)
      
      G90 ; absolute positioning
      

      Please advise on what I am doing wrong in the config.

      T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
      • T3P3Tonyundefined
        T3P3Tony administrators @neo0204
        last edited by

        @neo0204 your config looks good after a quick look. Can you see what is reported with M119 when the endstop is not triggered, and then again when it is.

        www.duet3d.com

        neo0204undefined 1 Reply Last reply Reply Quote 0
        • neo0204undefined
          neo0204 @T3P3Tony
          last edited by

          @t3p3tony 55ae2a1b-813e-490d-bd17-05cd25f4ae21-image.png

          I think the challenge is here, it senses the end-stop is always at Home.

          I have tried connecting the end-stop to other IO pins but the results were similar.

          T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
          • T3P3Tonyundefined
            T3P3Tony administrators @neo0204
            last edited by

            @neo0204 try swapping the endstop with the X stop - the stop is probably faulty if it is identical to the others you use and its always showing as stopped

            www.duet3d.com

            neo0204undefined 1 Reply Last reply Reply Quote 1
            • neo0204undefined
              neo0204 @T3P3Tony
              last edited by

              @t3p3tony This is what I did as the first hardware debug, Swap the X-axis and U-axis end-stop, and X homed but U has a similar response.

              T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
              • T3P3Tonyundefined
                T3P3Tony administrators @neo0204
                last edited by

                @neo0204 The issue stayed with the U axis - so its not the sensor, but when you try other inputs on the Duet (like io4.in) the problem is not resolved?

                www.duet3d.com

                T3P3Tonyundefined neo0204undefined 2 Replies Last reply Reply Quote 0
                • T3P3Tonyundefined
                  T3P3Tony administrators @T3P3Tony
                  last edited by

                  @neo0204 also do you get any errors when you run your config.g using M98 P"0:/sys/config.g"

                  www.duet3d.com

                  1 Reply Last reply Reply Quote 0
                  • neo0204undefined
                    neo0204 @T3P3Tony
                    last edited by

                    The challenge is not resolved even when connecting to other IO ports.

                    M98 P"0:/sys/config.g" commands shows below response.

                    d5b4c9c9-2ddb-4c2d-9757-93dc45bad807-image.png

                    T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
                    • T3P3Tonyundefined
                      T3P3Tony administrators @neo0204
                      last edited by

                      @neo0204 which other port did you try?

                      www.duet3d.com

                      neo0204undefined 1 Reply Last reply Reply Quote 0
                      • neo0204undefined
                        neo0204 @T3P3Tony
                        last edited by

                        @t3p3tony Thank you for helping debug this.

                        It is working now, the issue was with the end-stop extender wire.

                        Apologies for the inconvenience.

                        T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
                        • T3P3Tonyundefined
                          T3P3Tony administrators @neo0204
                          last edited by

                          @neo0204 glad you got it fixed 👍

                          www.duet3d.com

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