Navigation

    Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Homeall Slams head to far corner

    Tuning and tweaking
    4
    15
    87
    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.
    • mrenz999
      mrenz999 last edited by

      This has been an ongoing issue I can't seem to resolve. I can home x y z. Everything works fine. When I homeall it slams the head to the far back corner. Same when I do a G32 bedleveling command. I am going to post all my files and see if anyone sees anything I am doing wrong there.

      homeall.g
      ; generated by RepRapFirmware Configuration Tool v3.1.1 on Thu Jun 04 2020 11:20:25 GMT-0700 (Pacific Daylight Time)

      G91 ; relative positioning
      G1 H2 Z5 F6000 ; lift Z relative to current position
      G1 H1 X-500 Y-500 F3000 ; move quickly to X and Y axis endstops and stop there (first pass)
      G1 H1 X-500
      G1 H1 Y-500
      G1 X5 Y5 F6000 ; go back a few mm
      G1 H1 X-500 Y-500 F360 ; move slowly to X and Y axis endstops once more (second pass)
      G90 ; absolute positioning
      G1 X222 Y201 F9000 ; go to first bed probe point and home Z
      G30 ; probe the bed

      config.g

      ; Configuration file for Duet 3 (firmware version 3)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool v3.1.3 on Tue Jun 16 2020 08:02:01 GMT-0700 (Pacific Daylight Time)

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

      ;Network
      ;M552 S1 ; enable network
      M586 P0 S1 ; enable HTTP
      M586 P1 S0 ; disable FTP
      M586 P2 S0 ; disable Telnet

      ; Drives
      M569 P0.0 S1 ; physical drive 0.0 goes forwards
      M569 P0.1 S0 ; physical drive 0.1 goes backwards
      M569 P0.2 S1 ; physical drive 0.2 goes forwards
      M569 P0.3 S1 ; physical drive 0.3 goes forwards
      M569 P0.4 S0 ; physical drive 0.4 goes backwards
      M569 P0.5 S1 ; physical drive 0.5 goes forwards
      M569 P1.0 S0 ; physical drive 1.0 goes forwards
      M584 X0.0 Y0.1 Z0.2:0.3:0.4 E0.5:1.0 ; set drive mapping
      M350 X16 Y16 Z16 E16:16 I1 ; configure microstepping with interpolation
      M92 X100.00 Y100.00 Z400.00 E408:408 ; set steps per mm
      M566 X600.00 Y600.00 Z24.00 E300.00:300.00 ; set maximum instantaneous speed changes (mm/min)
      M203 X20000 Y20000 Z600 E2000.00:2000.00 ; set maximum speeds (mm/min)
      M201 X3000.00 Y3000.00 Z600.00 E5000.00:5000.00 ; set accelerations (mm/s^2)
      M906 X1300 Y1300 Z1300 E1200:1200 I30 ; set motor currents (mA) and motor idle factor in per cent
      M84 S30 ; Set idle timeout
      M671 X-55:465:465 Y180:310:45 S9 ; leadscrews at rear left, front middle and rear right

      ; Axis Limits
      M208 X Y0 Z0 S1 ; set axis minima
      M208 X410 Y410 Z465 S0 ; set axis maxima

      ; Endstops
      M574 X1 S1 P"io4.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 S2 ; configure Z-probe endstop for low end on Z

      ; Z-Probe
      ;M950 S0 C"io7.out" ; create servo pin 0 for BLTouch
      ;M558 P9 C"^io7.in" H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds height + speeds
      ;G31 P500 X-40 Y-10 Z1.192 ; set Z probe trigger value, offset and trigger height
      ;M557 X20:430 Y15:410 S20 ; define mesh grid
      Z-Probe
      M558 P8 C"^io7.out" H10 F120 T6000
      G31 P50 X16.795 Y25.4 Z.3
      M557 X20:400 Y20:400 S50

      ; Heaters
      M308 S0 P"temp0" Y"thermistor" T100000 B3950 ; configure sensor 0 as thermistor on pin temp0
      M950 H0 C"out0" T0 ; create bed heater output on out0 and map it to sensor 0
      M307 H0 B0 S1.00 ; 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"temp1" Y"thermistor" T100000 B4388 ; configure sensor 1 as thermistor on pin temp1
      M950 H1 C"out1" T1 ; create nozzle heater output on out1 and map it to sensor 1
      M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
      M143 H1 S300
      M307 H0 R0.276 C683.100:683.100 D0.20 S1.00 V24.1 B0
      M307 H1 R2.032 C110.1 D4.50 S1.00 V24.2

      ; Fans
      M950 F0 C"out7" Q500 ; create fan 0 on pin out7 and set its frequency
      M106 P0 S1.0 H1 T45 ; set fan 0 value. Thermostatic control is turned on
      M950 F1 C"out8" Q500 ; create fan 1 on pin out8 and set its frequency
      M106 P1 S1 H-1 ; set fan 1 value. Thermostatic control is turned off
      M950 F2 C"out9" Q500 ; create fan 2 on pin out9 and set its frequency
      M106 P2 S1 H-1 ; set fan 2 value. Thermostatic control is turned off

      ; Tools
      M563 P0 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

      ; Tools
      ;M563 P1 D1 H1 F0
      ;G10 P1 X0 Y0 Z0
      ;G10 P1 R0 S0

      ; Custom settings are not defined

      ; Miscellaneous
      T0
      M575 P1 S1 B57600 ; enable support for PanelDue
      M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
      M501

      Bed.g

      ; bed.g
      ; called to perform automatic bed compensation via G32
      ;
      ; generated by RepRapFirmware Configuration Tool v3.1.1 on Thu Jun 04 2020 11:20:24 GMT-0700 (Pacific Daylight Time)
      M561 ; clear any bed transform
      G28 ; home
      ;M401 ; deploy Z probe
      G30 P0 X10 Y180 Z-99999 ; probe near an adjusting screw
      G30 P1 X360 Y310 Z-99999 ; probe near an adjusting screw
      G30 P2 X360 Y60 Z-99999 S3 ; probe near an adjusting screw and calibrate 3 motors
      ;G29
      ;M402 ; retract probe

      o_lampe 1 Reply Last reply Reply Quote 0
      • fcwilt
        fcwilt last edited by fcwilt

        @mrenz999 said in Homeall Slams head to far corner:

        I re-posted your files using the </> tag - it improves readability and provides scrolling sections for each file.

        Please posts your other homing files that you say are working for you.

        Thanks.

        config.g

        config.g
        
        ; Configuration file for Duet 3 (firmware version 3)
        ; executed by the firmware on start-up
        ;
        ; generated by RepRapFirmware Configuration Tool v3.1.3 on Tue Jun 16 2020 08:02:01 GMT-0700 (Pacific Daylight Time)
        
        ; General preferences
        G90 ; send absolute coordinates...
        M83 ; ...but relative extruder moves
        G21 ; Set units to MM
        M550 P"Duet 3" ; set printer name
        M669 K1 ; select CoreXY mode
        
        ;Network
        ;M552 S1 ; enable network
        M586 P0 S1 ; enable HTTP
        M586 P1 S0 ; disable FTP
        M586 P2 S0 ; disable Telnet
        
        ; Drives
        M569 P0.0 S1 ; physical drive 0.0 goes forwards
        M569 P0.1 S0 ; physical drive 0.1 goes backwards
        M569 P0.2 S1 ; physical drive 0.2 goes forwards
        M569 P0.3 S1 ; physical drive 0.3 goes forwards
        M569 P0.4 S0 ; physical drive 0.4 goes backwards
        M569 P0.5 S1 ; physical drive 0.5 goes forwards
        M569 P1.0 S0 ; physical drive 1.0 goes forwards
        M584 X0.0 Y0.1 Z0.2:0.3:0.4 E0.5:1.0 ; set drive mapping
        M350 X16 Y16 Z16 E16:16 I1 ; configure microstepping with interpolation
        M92 X100.00 Y100.00 Z400.00 E408:408 ; set steps per mm
        M566 X600.00 Y600.00 Z24.00 E300.00:300.00 ; set maximum instantaneous speed changes (mm/min)
        M203 X20000 Y20000 Z600 E2000.00:2000.00 ; set maximum speeds (mm/min)
        M201 X3000.00 Y3000.00 Z600.00 E5000.00:5000.00 ; set accelerations (mm/s^2)
        M906 X1300 Y1300 Z1300 E1200:1200 I30 ; set motor currents (mA) and motor idle factor in per cent
        M84 S30 ; Set idle timeout
        M671 X-55:465:465 Y180:310:45 S9 ; leadscrews at rear left, front middle and rear right
        
        ; Axis Limits
        M208 X Y0 Z0 S1 ; set axis minima
        M208 X410 Y410 Z465 S0 ; set axis maxima
        
        ; Endstops
        M574 X1 S1 P"io4.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 S2 ; configure Z-probe endstop for low end on Z
        
        ; Z-Probe
        ;M950 S0 C"io7.out" ; create servo pin 0 for BLTouch
        ;M558 P9 C"^io7.in" H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds height + speeds
        ;G31 P500 X-40 Y-10 Z1.192 ; set Z probe trigger value, offset and trigger height
        ;M557 X20:430 Y15:410 S20 ; define mesh grid
        Z-Probe
        M558 P8 C"^io7.out" H10 F120 T6000
        G31 P50 X16.795 Y25.4 Z.3
        M557 X20:400 Y20:400 S50
        
        ; Heaters
        M308 S0 P"temp0" Y"thermistor" T100000 B3950 ; configure sensor 0 as thermistor on pin temp0
        M950 H0 C"out0" T0 ; create bed heater output on out0 and map it to sensor 0
        M307 H0 B0 S1.00 ; 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"temp1" Y"thermistor" T100000 B4388 ; configure sensor 1 as thermistor on pin temp1
        M950 H1 C"out1" T1 ; create nozzle heater output on out1 and map it to sensor 1
        M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
        M143 H1 S300
        M307 H0 R0.276 C683.100:683.100 D0.20 S1.00 V24.1 B0
        M307 H1 R2.032 C110.1 D4.50 S1.00 V24.2
        
        ; Fans
        M950 F0 C"out7" Q500 ; create fan 0 on pin out7 and set its frequency
        M106 P0 S1.0 H1 T45 ; set fan 0 value. Thermostatic control is turned on
        M950 F1 C"out8" Q500 ; create fan 1 on pin out8 and set its frequency
        M106 P1 S1 H-1 ; set fan 1 value. Thermostatic control is turned off
        M950 F2 C"out9" Q500 ; create fan 2 on pin out9 and set its frequency
        M106 P2 S1 H-1 ; set fan 2 value. Thermostatic control is turned off
        
        ; Tools
        M563 P0 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
        
        ; Tools
        ;M563 P1 D1 H1 F0
        ;G10 P1 X0 Y0 Z0
        ;G10 P1 R0 S0
        
        ; Custom settings are not defined
        
        ; Miscellaneous
        T0
        M575 P1 S1 B57600 ; enable support for PanelDue
        M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
        M501
        

        homeall.g

         ; generated by RepRapFirmware Configuration Tool v3.1.1 on Thu Jun 04 2020 11:20:25 GMT-0700 (Pacific Daylight Time)
         G91 ; relative positioning
         G1 H2 Z5 F6000 ; lift Z relative to current position
         G1 H1 X-500 Y-500 F3000 ; move quickly to X and Y axis endstops and stop there (first pass)
         G1 H1 X-500
         G1 H1 Y-500
         G1 X5 Y5 F6000 ; go back a few mm
         G1 H1 X-500 Y-500 F360 ; move slowly to X and Y axis endstops once more (second pass)
         G90 ; absolute positioning
         G1 X222 Y201 F9000 ; go to first bed probe point and home Z
         G30 ; probe the bed
        

        bed.g

        ; bed.g
        ; called to perform automatic bed compensation via G32
        ;
        ; generated by RepRapFirmware Configuration Tool v3.1.1 on Thu Jun 04 2020 11:20:24 GMT-0700 (Pacific Daylight Time)
        M561 ; clear any bed transform
        G28 ; home
        ;M401 ; deploy Z probe
        G30 P0 X10 Y180 Z-99999 ; probe near an adjusting screw
        G30 P1 X360 Y310 Z-99999 ; probe near an adjusting screw
        G30 P2 X360 Y60 Z-99999 S3 ; probe near an adjusting screw and calibrate 3 motors
        ;G29
        ;M402 ; retract probe
        

        Printers: A FT-5 with the 713 upgrade bits. A custom MarkForged style. A small Utilmaker style and a CoreXY from kits. Various hotends. Using Duets (2 and 3) running 3.4.1

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

          @fcwilt

          ; homex.g
          ; called to home the X axis
          ;
          ; generated by RepRapFirmware Configuration Tool v3.1.3 on Sat Jun 13 2020 19:59:21 GMT-0700 (Pacific Daylight Time)
          G91               ; relative positioning
          G1 H2 Z5 F6000    ; lift Z relative to current position
          G1 H1 X-530 F1800 ; move quickly to X axis endstop and stop there (first pass)
          G1 X5 F6000       ; go back a few mm
          G1 H1 X-530 F360  ; move slowly to X axis endstop once more (second pass)
          G1 H2 Z-5 F6000   ; lower Z again
          G90               ; absolute positioning
          
          
          ; homey.g
          ; called to home the Y axis
          ;
          ; generated by RepRapFirmware Configuration Tool v3.1.3 on Sat Jun 13 2020 19:59:22 GMT-0700 (Pacific Daylight Time)
          G91               ; relative positioning
          G1 H2 Z5 F6000    ; lift Z relative to current position
          G1 H1 Y-530 F1800 ; move quickly to Y axis endstop and stop there (first pass)
          G1 Y5 F6000       ; go back a few mm
          G1 H1 Y-530 F360  ; move slowly to Y axis endstop once more (second pass)
          G1 H2 Z-5 F6000   ; lower Z again
          G90               ; absolute positioning
          
          
          
          ; homez.g
          
          ; called to home the Z axis
          ; generated by RepRapFirmware Configuration Tool v3.1.1 on Thu Jun 04 2020 11:20:25 GMT-0700 (Pacific Daylight Time)
          
          G91 ; relative positioning
          G1 H2 Z5 F6000 ; lift Z relative to current position
          G1 X222 Y201 F9000 ; go to first bed probe point and home Z
          G30 ; home z by probing the bed
          
          fcwilt 1 Reply Last reply Reply Quote 0
          • fcwilt
            fcwilt last edited by

            @fcwilt said in Homeall Slams head to far corner:

            M574 X1 S1 P"io4.in"
            M574 Y1 S1 P"!io1.in

            Why is one of these inverted and not the other?

            Did you verify that each is working by manually triggering them and running M119?

            Frederick

            Printers: A FT-5 with the 713 upgrade bits. A custom MarkForged style. A small Utilmaker style and a CoreXY from kits. Various hotends. Using Duets (2 and 3) running 3.4.1

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

              @mrenz999

              I forgot to mention that issue with G32 having the same problem is bed.g issues G28 which runs homeall.g which is where the problem is.

              Frederick

              Printers: A FT-5 with the 713 upgrade bits. A custom MarkForged style. A small Utilmaker style and a CoreXY from kits. Various hotends. Using Duets (2 and 3) running 3.4.1

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

                @fcwilt both work correctly. Different end stop switches.

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

                  @fcwilt so remove the G28 ?

                  Veti fcwilt 2 Replies Last reply Reply Quote 0
                  • Veti
                    Veti @mrenz999 last edited by

                    @mrenz999 said in Homeall Slams head to far corner:

                    so remove the G28 ?

                    no fix the problem in homeall.g

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

                      @mrenz999 said in Homeall Slams head to far corner:

                      @fcwilt so remove the G28 ?

                       G1 H1 X-500 Y-500 F3000 ; move quickly to X and Y axis endstops and stop there (first pass)
                       G1 H1 X-500
                       G1 H1 Y-500
                       G1 X5 Y5 F6000 ; go back a few mm
                      

                      Why do you have lines 2 and 3?

                      Frederick

                      Printers: A FT-5 with the 713 upgrade bits. A custom MarkForged style. A small Utilmaker style and a CoreXY from kits. Various hotends. Using Duets (2 and 3) running 3.4.1

                      1 Reply Last reply Reply Quote 0
                      • Veti
                        Veti last edited by

                        @fcwilt said in Homeall Slams head to far corner:

                        Why do you have lines 2 and 3?

                        that for corexy because they cant move independently.

                        execute each line of homeall separately and see where the problem is

                        fcwilt mrenz999 2 Replies Last reply Reply Quote 0
                        • o_lampe
                          o_lampe @mrenz999 last edited by

                          @mrenz999 said in Homeall Slams head to far corner:

                          G1 X222 Y201 F9000 ; go to first bed probe point and home Z
                          G30 ; probe the bed

                          Is that the line that makes your head crash?
                          Why probe at X222 Y201?

                          mrenz999 1 Reply Last reply Reply Quote 0
                          • fcwilt
                            fcwilt @Veti last edited by

                            @Veti said in Homeall Slams head to far corner:

                            execute each line of homeall separately and see where the problem is

                            This isn't my problem - @mrenz999 was the OP - I'm just trying to help him.

                            Frederick

                            Printers: A FT-5 with the 713 upgrade bits. A custom MarkForged style. A small Utilmaker style and a CoreXY from kits. Various hotends. Using Duets (2 and 3) running 3.4.1

                            1 Reply Last reply Reply Quote 0
                            • mrenz999
                              mrenz999 @o_lampe last edited by

                              @o_lampe To probe the center of the bed.

                              1 Reply Last reply Reply Quote 0
                              • mrenz999
                                mrenz999 @Veti last edited by

                                @Veti So this is what I did. One line at a time. Commented out the first line G92 and it works correctly now. Strange.

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

                                  @mrenz999 said in Homeall Slams head to far corner:

                                  @Veti So this is what I did. One line at a time. Commented out the first line G92 and it works correctly now. Strange.

                                  I don't see a G92 in your homeall.g file.

                                  Is that where it was?

                                  Frederick

                                  Printers: A FT-5 with the 713 upgrade bits. A custom MarkForged style. A small Utilmaker style and a CoreXY from kits. Various hotends. Using Duets (2 and 3) running 3.4.1

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