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

    Problem with homing

    Scheduled Pinned Locked Moved
    General Discussion
    3
    15
    1.8k
    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.
    • deckingmanundefined
      deckingman
      last edited by

      That's really strange but it reminds me of a couple of similar threads. Can you tell me what the compatibility is set to in your config.g. That is to say, what comes after M555? Is it P1 (RepRap) as in the example in the Wiki or is it P2 (Marlin). I have a hunch…......

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

      1 Reply Last reply Reply Quote 0
      • Bravojulundefined
        Bravojul
        last edited by

        M555 P2 ; Set firmware compatibility to look like Marlin

        I just upgraded from RAMPS / Marlin and thought it would be wise to have compatibility.

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

          Ahh OK. That blows that theory then.

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

          1 Reply Last reply Reply Quote 0
          • Bravojulundefined
            Bravojul
            last edited by

            I have another question : is it normal behavior that G28 turns off heaters ?
            In Marlin, you can preheat the nozzle without waiting (with M104) while homing and probing the bed.

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

              Homing doesn't turn off any heaters for me and yes, M104 will do a heat without waiting. Maybe there is something in your homing file(s) that is overriding it?. e.g. selecting a (different) tool.

              You can put the heating command at the start of your homing file. For example, I use my nozzle to probe the bed so I need any filament that has oozed out of the tip to be soft. So the start of my and home all has T0 (select a tool) then M104 S140 to start heating the nozzle. Then I home X and Y, then use M109 S140 to finish heating the nozzle before homing Z. Then finally I do M140 S0 to turn the heater off again.
              HTH

              Edit - but I start heating the bed before doing any of this and it continues to heat while homing is being carried out.

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

              1 Reply Last reply Reply Quote 0
              • Bravojulundefined
                Bravojul
                last edited by

                G28 stops heaters (and print actually) but G28 X0; G28 Y0; G28 Z0 doesn't. There something corrupted with that file.

                Now Wifi stopped working :-(((

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

                  G28 with no parameters runs the home all file. G28 X, Y or Z will run the individual axis homing files. See here https://duet3d.com/wiki/G-code#G28:_Home

                  So, the problem must be in your homeall.g file. Of course homing will stop the print - what other behaviour would you expect?

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

                  1 Reply Last reply Reply Quote 0
                  • Bravojulundefined
                    Bravojul
                    last edited by

                    G28 in the starting code of a part file abort the print. I have G28; G29 in my slic3r start g-code settings

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

                      Here is my start code for Slic3r. I use a diamond mixing hot end so have multiple tools but it might help you.

                      G28; home all
                      ; layer_height =[layer_height]
                      G10 P0 S210 R210 ; Set tool 0 operating and standby temperatures
                      G10 P1 S210 R210 ; Set tool 1 operating and standby temperatures
                      G10 P2 S210 R210 ; Set tool 2 operating and standby temperatures
                      G10 P3 S210 R210 ; Set tool 3 operating and standby temperatures
                      G1 Y0 F9000 ; move to Y =zero
                      T0; select a tool 0
                      M109 S210 ; complete tool heating to 210 and wait.
                      M83; Set extruder to relative

                      And this is my homeall.g but note that I have a CoreXY. This file works so check mine against yours and see if you spot what is wrong with yours.

                      ; Relative positioning
                      G91

                      M906 X400 Y400 Z1200; Reduce motor currents to limit damage in the event of an endstop failure

                      ; Lift Z
                      G1 Z5 F300

                      ; Move towards X and Y axis endstops (first pass)
                      G1 X-380 Y-360 F3000 S1 ; S1 flag checks for end stop

                      G1 S1 X-323 ; Course home X
                      G1 S1 Y-335 ; Course home Y

                      ; Go back a few mm
                      G1 X5 Y5 F600

                      ; Move slowly to axis endstops once more (second pass)
                      G1 S1 X-10 F360 ; fine home x
                      G1 S1 Y-10 F360 ; fine home y

                      ; Absolute positioning
                      G90

                      G92 X-5; set x zero in 5mm to clear bed clamp
                      G92 Y-2; set y zero to be 2mm in from front to get it over the glass

                      ; Go to centre of bed and home the Z axis
                      G1 X185 Y175 F12000 ; move quickly to centre

                      M109 S140 ; continue heating bed to 140 but this time wait

                      G30

                      ; Uncomment the following line to lift the nozzle after probing
                      ;G91 ;relative
                      G1 Z5 F300
                      G90 ; back to absolute

                      M906 X1800 Y1800 Z1800 ; set motor currents back to defaults

                      M104 S0; set hot end temp back to zero

                      ;G1 X0 Y0 F6000 ; move to x and Y home
                      ;G1 Z0 F180 ; move to Z home

                      HTH

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

                      1 Reply Last reply Reply Quote 0
                      • Bravojulundefined
                        Bravojul
                        last edited by

                        Thank you. I was able to have a working homeall.g file by copying and tweaking the one in /sys-CoreXY
                        Regards

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