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

    IDEX HOMING ISSUES

    Scheduled Pinned Locked Moved
    Firmware installation
    3
    25
    657
    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.
    • Rolluxundefined
      Rollux
      last edited by

      Ive just recently pulled a long standing project out of retirement. Vivedin0 T REX 3 Idex 400x400x500.
      MB6HC version 3.5.1 (2024-04-19 14:30:55) running on Duet 3 MB6HC v1.01 (SBC mode)
      EXP3HC rev 1.01 or earlier firmware version 3.5.1 (2024-04-19 14:42:54)
      TOOL1LC rev 1.1 or later firmware version 3.5.1 (2024-04-19 14:42:41)
      TOOL1LC rev 1.1 or later firmware version 3.5.1 (2024-04-19 14:42:41)
      All boards on 3.5,1. Used the 3.5 configurator to setup initially and got nothing but errors and was a major headache so went through the configurator for 3.4 and adjusted from there.

      My issues are with homing as it seems to be hit and miss on x and y axis and z is also hit and miss. Homing was fine and once i started to set the offsets, everything has stopped working. At current the x axis will do the "double tap" mid travel and then slowly creep along until it stops and errors out. The y axis will move a small amount in the opposite direction from the end stop and error out or it will travel to the endstop a short distance and then travel until it can physically no longer move. The z probe only does 1 touch off as opposed to the expected "double tap". U axis works fine, homes as expected, does the double tap and is all good which leaves me confused as to why the x, y and z axis are good one second then dont want to work again.

      Attached are the config.g, homeall.g, homex.g, homey.g, homeu.g.

      Thanks for the help and any insight as to what/wehere im missing and why this is going backwards.``
      config.g
      `
      code_text

      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool v3.4.1 on Sun May 26 2024 18:23:02 GMT+0800 (Australian Western Standard Time)
      
      ; General preferences
      M575 P1 S1 B57600                                                   ; enable support for PanelDue
      G90                                                                 ; send absolute coordinates...
      M83                                                                 ; ...but relative extruder moves
      M550 P"Duet 3"                                                      ; set printer name
      
      ; Drives
      M569 P0.0 S1                                                        ; X physical drive 0.0 goes forwards
      M569 P0.1 S1                                                        ; U physical drive 0.1 goes forwards
      M569 P0.2 S0                                                        ; Y physical drive 0.2 goes backwards
      M569 P0.4 S1                                                        ; Z1 physical drive 0.4 goes forwards
      M569 P0.5 S0                                                        ; Z2 physical drive 0.5 goes forwards
      M569 P21.0 S1                                                       ; physical drive 121.0 goes forwards
      M569 P22.0 S1                                                       ; physical drive 122.0 goes forwards
      
      M584 X0.0 Y0.2 Z0.4:0.5 U0.1 E21.0:22.0                             ; set drive mapping
      M350 X16 Y16 Z16 E16:16 U16 I1                                      ; configure microstepping with interpolation
      M92 X80.00 Y80.00 Z800.00 U80.00 E420.00:420.00                     ; set steps per mm
      M566 X900.00 Y900.00 Z60.00 U900.00 E60.00:60.00                    ; set maximum instantaneous speed changes (mm/min)
      M203 X6000.00 Y6000.00 Z180.00 U6000.00 E200.00:200.00              ; set maximum speeds (mm/min)
      M201 X500.00 Y500.00 Z20.00 U500.00 E100.00:100.00                  ; set accelerations (mm/s^2)
      M906 X800 Y1000 Z800 U800.00 E500:500 I30                           ; set motor currents (mA) and motor idle factor in per cent
      M84 S30                                                             ; Set idle timeout
      
      ; Create a tool that uses the low end (X) carriage
      M563 P0 D0 H1 F0            ; tool 0 uses extruder 0, heater 1 and fan 0
      G10 P0 X0 Y0 Z0 S0 R0       ; set tool 0 offsets and temperatures
      
      ; Create a tool that uses the high end (U) carriage
      M563 P1 D1 H2 X3 F1         ; tool 1 uses extruder 1, heater 2, fan 1, and maps X to U
      G10 P1 Y0 U0 Z0 S0 R0       ; set tool 1 offsets and temperatures
      
      ; Create a tool that prints 2 copies of the object using both carriages
      ;M563 P2 D0:1 H1:2 X0:3 F0:2 ; tool 2 uses both extruders, hot end heaters and fans, and maps X to both X and U
      ;G10 P2 X50 Y0 U-50 S0 R0 ; set tool offsets and temperatures
      ;M567 P2 E1:1 ; set mix ratio 100% on both extruders
      
      ; Axis Limits
      M208 X-43 Y0 U3 Z0 S1                                                  ; set axis minima
      M208 X403 Y430 U450 Z500 S0                                            ; set axis maxima
      
      ; Endstops
      M574 X1 S1 P"io1.in"                                                   ; configure switch-type (e.g. microswitch) endstop for low end on X via pin io1.in
      M574 Y1 S1 P"!io3.in"                                                  ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin !io3.in
      M574 U2 S1 P"io2.in"                                                   ; configure switch-type (e.g. microswitch) endstop for high end on U via pin io2.in
      
      ; Z-Probe
      M950 S0 C"21.io0.out"                                                  ; create servo pin 0 for BLTouch
      M558 P9 C"21.io0.in" H5 F100 T6000                                     ; set Z probe type to bltouch and the dive height + speeds
      G31 P500 X10 Y43 Z1.56                                                 ; set Z probe trigger value, offset and trigger height - lower number makes distance to bed greater
      M557 X15:385 Y15:385 S25                                               ; define mesh grid
      
      ; Heaters
      M308 S0 P"temp1" Y"thermistor" T100000 B4725 C7.06e-8                  ; configure sensor 0 as thermistor on pin temp1
      M950 H0 C"out1" T0                                                     ; create bed heater output on out1 and map it to sensor 0
      M307 H0 B1 S1.00                                                       ; enable 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"21.temp0" Y"thermistor" T100000 B4725 C7.06e-8               ; configure sensor 1 as thermistor on pin 121.temp0
      M950 H1 C"21.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 S300                                                           ; set temperature limit for heater 1 to 300C
      M308 S2 P"22.temp0" Y"thermistor" T100000 B4725 C7.06e-8               ; configure sensor 2 as thermistor on pin 122.temp0
      M950 H2 C"22.out0" T2                                                  ; create nozzle heater output on 122.out0 and map it to sensor 2
      M307 H2 B0 S1.00                                                       ; disable bang-bang mode for heater  and set PWM limit
      M143 H2 S300                                                           ; set temperature limit for heater 2 to 300C
      
      ; Fans
      M950 F0 C"21.out2" Q500                                                ; create fan 0 on pin 121.out2 and set its frequency
      M106 P0 S1 H1 T45                                                      ; set fan 0 value. Thermostatic control is turned on
      M950 F1 C"22.out2" Q500                                                ; create fan 1 on pin 122.out2 and set its frequency
      M106 P1 S1 H2 T45                                                      ; set fan 1 value. Thermostatic control is turned on
      
      ; Tools
      M563 P0 S"Tool 0 Left" 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
      M563 P1 S"Tool 1 Right" D1 H2 F0                               ; define tool 1
      G10 P1 X0 Y0 Z0                                                ; set tool 1 axis offsets
      G10 P1 R0 S0                                                   ; set initial tool 1 active and standby temperatures to 0C
      
      ; Custom settings are not defined
      
      ; Miscellaneous
      ;M501                                                           ; load saved parameters from non-volatile memory
      ;T0                                                             ; select first tool
      
      homell.g
      

      code_text

      ; called to home all axes
      ;
      ; generated by RepRapFirmware Configuration Tool v3.4.1 on Sun May 26 2024 18:23:03 GMT+0800 (Australian Western Standard Time)
      G91                               ; relative positioning
      G1 H2 Z5 F6000                    ; lift Z relative to current position
      G1 H1 X-43 Y-430 U0 F1800         ; move quickly to X Y and U axis endstops and stop there (first pass)
      G1 H2 X5 Y5 U-5 F6000             ; go back a few mm
      G1 H1 X-43 Y-4300 U0 F360         ; move slowly to X Y and U axis endstops once more (second pass)
      G1 F6000 X243 Y200 
      G30
      G90                               ; absolute positioning
      G29 S1                            ; this loads the contents of /sys/heightmap.csv
      
      

      code_text

      ; homey.g
      ; called to home the Y axis
      ;
      ; generated by RepRapFirmware Configuration Tool v3.4.1 on Sun May 26 2024 18:23:04 GMT+0800 (Australian Western Standard Time)
      G91                ; relative positioning
      G1 H2 Z5 F6000     ; lift Z relative to current position
      G1 H1 Y-430 F5000     ; move quickly to Y axis endstop and stop there (first pass)
      G1 H2 Y5 F6000     ; go back a few mm
      G1 H1 Y-430 F360      ; move slowly to Y axis endstop once more (second pass)
      G90                ; absolute positioning
      
      
      ; homex.g
      ; called to home the X axis
      ;
      ; generated by RepRapFirmware Configuration Tool v3.4.1 on Sun May 26 2024 18:23:04 GMT+0800 (Australian Western Standard Time)
      G91                  ; relative positioning
      G1 H2 Z5 F6000       ; lift Z relative to current position
      G1 H1 X-43 F5000     ; move quickly to X axis endstop and stop there (first pass)
      G1 H2 X5 F6000       ; go back a few mm
      G1 H1 X-43 F360      ; move slowly to X axis endstop once more (second pass)
      G90                  ; absolute positioning
      
      

      code_text

      ; homeu.g
      ; called to home the U axis
      ;
      ; generated by RepRapFirmware Configuration Tool v3.4.1 on Sun May 26 2024 18:23:04 GMT+0800 (Australian Western Standard Time)
      G91                ; relative positioning
      G1 H2 Z5 F6000     ; lift Z relative to current position
      G1 H1 U450 F5000   ; move quickly to U axis endstop and stop there (first pass)
      G1 H2 U-5 F6000   ; go back a few mm
      G1 H1 U450 F360    ; move slowly to X axis endstop once more (second pass)
      G90                ; absolute positioning
      Rolluxundefined Proschi3Dundefined 2 Replies Last reply Reply Quote 0
      • Rolluxundefined
        Rollux @Rollux
        last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • Proschi3Dundefined
          Proschi3D @Rollux
          last edited by

          @Rollux my homall.g

          M561
          
          G91
          
          G1 H2 Z5 F6000 ; raise head 4mm to keep it clear of the bed
          
          G1 H1 X-35 Y-245 U355 F3000 ; coarse home X, Y and U
          
          G1 X4 Y4 U-4 F3000  ; move 4mm away from the homing switches
          
          G1 H1 X-400 Y-245 U400 F600      ; fine home X, Y and U
          
          G90 ; absolute positioning
          
          ; Now home Z using the Z probe
          
          G1 X170 Y110 F3000  ; move to bed centre for probing
          
          G30 ; probe the bed and set Z height
          
          G1 x-35 y-245 U365 F3000
          
          G29 S1
          

          Love my Duet 3 Mini.
          https://www.instagram.com/proschi3d
          https://youtube.com/@proschi3d
          https://www.proschi3d.de

          Rolluxundefined 1 Reply Last reply Reply Quote 0
          • Rolluxundefined
            Rollux @Proschi3D
            last edited by

            @Proschi78 Cheers for that, adjusted the stops to both min and max and still the same issue as follows.

            X axis moves 10mm, stop, feed another 5mm (effectivevely the "double tap" without touching the endstop) and then stop.
            Y axis moves 5mm in the opposite direction of the end stop and moves no further.
            U axis homes as expected.
            Bltouch now fails to deploy the probe.

            Hard power off reset.

            Home all, axis work as expected.

            Try both home all and individual homing and all but the U axis fails, showing movements as described above. Zero consistency in why the homing of the axis is random at best.

            Proschi3Dundefined 1 Reply Last reply Reply Quote 0
            • Proschi3Dundefined
              Proschi3D @Rollux
              last edited by Proschi3D

              @Rollux Thats my Home U

              ; generated by RepRapFirmware Configuration Tool v3.3.14 on Wed Nov 16 2022 15:37:19 GMT+0100 (Mitteleuropäische Normalzeit)
              G91               ; relative positioning
              G1 H2 Z5 F6000    ; lift Z relative to current position
              G1 H1 U430 F3000; move quickly to U axis endstop and stop there (first pass)
              M400
              G1 H2 U-5 F6000    ; go back a few mm
              G1 H1 U430 F360  ; move slowly to U axis endstop once more (second pass)
              G1 H2 Z-5 F6000   ; lower Z again
              G90               ; absolute positioning
              

              the only thing that strikes me is that your G30 for G90 is in homeall.g

              Love my Duet 3 Mini.
              https://www.instagram.com/proschi3d
              https://youtube.com/@proschi3d
              https://www.proschi3d.de

              Rolluxundefined 1 Reply Last reply Reply Quote 0
              • Rolluxundefined
                Rollux @Proschi3D
                last edited by

                @Proschi78 U axis is the only axis that is working as it should. X and y are not for some reason not working properly.
                Have erased and re flashed the sd card, tried a fresh config from the 3.5 configurator and it gets even worse i.e x axis goes the opposite direction to the end stop regardless of changing directions, min/max parameters, y axiis jolts and stops.
                as for the 3.4 config, x axis speeds up then slows down, travels along incredibly slowly then does it's double tap. Y axis is hit and miss as to whether it will home or jolt and stop. U axis on 3.4 config works as expected every time without fail. very confusing as there is zero consistency as to the behaviors as when all axis will home, they wont home again due to the aforementioned erratic behaviors.

                Proschi3Dundefined deckingmanundefined 2 Replies Last reply Reply Quote 0
                • Proschi3Dundefined
                  Proschi3D @Rollux
                  last edited by

                  @Rollux Are your end stops working properly? Are the motors running in the right direction?

                  Love my Duet 3 Mini.
                  https://www.instagram.com/proschi3d
                  https://youtube.com/@proschi3d
                  https://www.proschi3d.de

                  Rolluxundefined 1 Reply Last reply Reply Quote 0
                  • Rolluxundefined
                    Rollux @Proschi3D
                    last edited by

                    @Proschi78 end stops trigger when either touched by motor or by finger for testing, motors all go in correct direction (when working). When homing z, the axis still drops back 5 mm after touching off, lifting 5 and dropping again, these lines have been removed so shouldn't be doing that but only probes once and not twice.

                    1 Reply Last reply Reply Quote 0
                    • deckingmanundefined
                      deckingman @Rollux
                      last edited by

                      @Rollux Looking at your config.g, unless I missed it, I don't see any M669 command to define the Kinematics for your machine. I'm not sure what the default is but it may be Cartesian - it almost certainly won't have a U axis by default. Send M669 without any parameters to see what it reports. Link to documentation is here https://docs.duet3d.com/User_manual/Reference/Gcodes#m669-set-kinematics-type-and-kinematics-parameters

                      Ian
                      https://somei3deas.wordpress.com/
                      https://www.youtube.com/@deckingman

                      Rolluxundefined 2 Replies Last reply Reply Quote 0
                      • Rolluxundefined
                        Rollux @deckingman
                        last edited by

                        @deckingman said in IDEX HOMING ISSUES:

                        M669

                        6/3/2024, 4:48:42 PM M669
                        Kinematics is Cartesian, no segmentation, matrix:
                        1.00 0 0 0
                        0 1.00 0 0
                        0 0 1.00 0
                        0 0 0 1.00

                        im wondering if there is some stuff "stuck" in the mb6hc cache/memory that might be affecting things?

                        1 Reply Last reply Reply Quote 0
                        • Rolluxundefined
                          Rollux @deckingman
                          last edited by

                          @deckingman U Axis.mp4 X Axis.mp4 Y Axis.mp4

                          Proschi3Dundefined 1 Reply Last reply Reply Quote 0
                          • Proschi3Dundefined
                            Proschi3D @Rollux
                            last edited by Proschi3D

                            @Rollux
                            increase the x value to x-450

                            ; called to home all axes
                            ;
                            ; generated by RepRapFirmware Configuration Tool v3.4.1 on Sun May 26 2024 18:23:03 GMT+0800 (Australian Western Standard Time)
                            G91                               ; relative positioning
                            G1 H2 Z5 F6000                    ; lift Z relative to current position
                            G1 H1 X-450 Y-430 U0 F1800         ; move quickly to X Y and U axis endstops and stop there (first pass)
                            G1 H2 X5 Y5 U-5 F6000             ; go back a few mm
                            G1 H1 X-450 Y-4300 U0 F360         ; move slowly to X Y and U axis endstops once more (second pass)
                            G90
                            G1 F6000 X243 Y200 
                            G30                               ; absolute positioning
                            G29 S1                            ; this loads the contents of /sys/heightmap.csv
                            

                            Love my Duet 3 Mini.
                            https://www.instagram.com/proschi3d
                            https://youtube.com/@proschi3d
                            https://www.proschi3d.de

                            Rolluxundefined 1 Reply Last reply Reply Quote 0
                            • Rolluxundefined
                              Rollux @Proschi3D
                              last edited by

                              @Proschi78
                              Increased the x value to x-450.
                              Individual homing works fine when selected separately.
                              Home all on the other hand is inconsistent still. During "home all", when the x axis triggers the end stop, the y axis will also trigger even though it has not yet hit the end stop. Bltouch will lower, trigger, raise 5mm then drop 5mm (not sure where else the lines of code for this are found as i have removed all i can find as i want the z axis to not drop down after probing).
                              Also, the z axis moves up or down when making manual moves via the panel due or dwc. Ifeel there is something somewhere that is conflicting. All the boards were well outdated (3.3 beta from memory) as they have been sitting for a while so wondering if a hard reset of the main board and the 3xc are in order?

                              Proschi3Dundefined 1 Reply Last reply Reply Quote 0
                              • Proschi3Dundefined
                                Proschi3D @Rollux
                                last edited by

                                @Rollux
                                try this as homeall

                                M561
                                G91
                                G1 H2 Z5 F6000               ; raise head 4mm to keep it clear of the bed
                                G1 H1 X-450 Y-450 U0 F3000 ; coarse home X, Y and U
                                G1 X5 Y5 U-5 F3000           ; move 4mm away from the homing switches 
                                G1 H1 X-400 Y-430 U0 F600      ; fine home X, Y and U
                                G90 ; absolute positioning
                                ; Now home Z using the Z probe
                                G1 X243 Y200 F3000  ; move to bed centre for probing
                                G30 ; probe the bed and set Z height
                                G1 x-450 y-430 U0 F3000
                                G29 S1
                                

                                Love my Duet 3 Mini.
                                https://www.instagram.com/proschi3d
                                https://youtube.com/@proschi3d
                                https://www.proschi3d.de

                                Rolluxundefined Proschi3Dundefined 2 Replies Last reply Reply Quote 0
                                • Rolluxundefined
                                  Rollux @Proschi3D
                                  last edited by

                                  @Proschi78
                                  Y axis doesnt move. Wont re home manually without a re boot. Reboot the board, Y axis "triggers" at the same point as the x axis regardless of position.
                                  Thinking will reset the mainboard and re flash firmware as something may be hanging around from all the updates and the like.

                                  deckingmanundefined 1 Reply Last reply Reply Quote 0
                                  • deckingmanundefined
                                    deckingman @Rollux
                                    last edited by

                                    @Rollux If all the individual homing files work, then you could call them individually for home all.

                                    e.g. homeall could be..........

                                    M98 P"homex.g"
                                    M98 P"homeu.g"
                                    M98 P "homey.g"
                                    M98 P"homez.g"
                                    

                                    Try that - if it works, then the problem is with your homeall.g, if it doesn't then the problem is elsewhere.

                                    Ian
                                    https://somei3deas.wordpress.com/
                                    https://www.youtube.com/@deckingman

                                    Rolluxundefined 1 Reply Last reply Reply Quote 0
                                    • Rolluxundefined
                                      Rollux @deckingman
                                      last edited by

                                      @deckingman
                                      Success there on the first try. Then move everything around and try again. X and U axis home perfectly. . Y axis jumps and then does nothing and get the following error: Error: in file macro line 17: M98: expected a string expression.

                                      Going to have a look at the y axis endstop
                                      m119
                                      Endstops - X: at min stop, Y: at min stop, Z: no endstop, U: at max stop, Z probe: not stopped

                                      As it is one the "pcb board" style ones, wondering if it has failed but that doesnt explain why it works once or twice then nothing.

                                      Rolluxundefined 1 Reply Last reply Reply Quote 0
                                      • Rolluxundefined
                                        Rollux @Rollux
                                        last edited by

                                        Replaced the endstop with a pare makerbot pcb style. Same issue. Check wiring, all is good. Hard reset. All homed perfectly, repeatedly. Then back to the same issue of the y axis bumping in the opposite direction if the end stop and failing to home.

                                        Rolluxundefined 1 Reply Last reply Reply Quote 0
                                        • Rolluxundefined
                                          Rollux @Rollux
                                          last edited by

                                          "Home all" using individual axis works as expected. However, homing individual axis via dwc or panel due, Y axis does not want to work. Incredibly confusing.

                                          Rolluxundefined 1 Reply Last reply Reply Quote 0
                                          • Rolluxundefined
                                            Rollux @Rollux
                                            last edited by

                                            Current homeall.g
                                            This works somewhat, the U axis homes after x,y,z regardless of U axis position.

                                            Also when homing z, the z jumps up and down and the x and y jump around. Video Attached of whats happening.

                                            G91                               ; relative positioning
                                            G1 H2 Z5 F6000                    ; lift Z relative to current position
                                            G1 H1 X-450 F5000        ; move quickly to X Y and U axis endstops and stop there (first pass)
                                            G1 H1 U0 F5000
                                            G1 H1 Y-450 F5000
                                            G1 H2 X5 F6000             ; go back a few mm
                                            G1 H2 U-5 F6000
                                            G1 H2 Y5 F6000
                                            G1 H1 X-450 F360         ; move slowly to X Y and U axis endstops once more (second pass)
                                            G1 H1 U0 F360
                                            G1 H1 Y-450 F360
                                            G1 F6000 X243 Y200 
                                            G30
                                            G90                               ; absolute positioning
                                            G29 S1                            ; this loads the contents of /sys/heightmap.csv
                                            
                                            [Home All.mp4](/assets/uploads/files/1717502002687-home-all.mp4) 
                                            
                                            Rolluxundefined 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA