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

    First print - Error: G0/G1: insufficient axes homed

    Scheduled Pinned Locked Moved
    Duet Web Control
    4
    13
    378
    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.
    • selva_tviundefined
      selva_tvi
      last edited by

      Hi all,

      I am switching on the printer. Didnt home it.

      I am starting the print directly. After reaching the temperature it shows the error - Error: G0/G1: insufficient axes homed.

      Then I give Print again, the temp reaches and the print starts without any issues.

      Is it mandatory to home before starting the print?

      Thanks

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

        @selva_tvi said in First print - Error: G0/G1: insufficient axes homed:

        ............ Is it mandatory to home before starting the print?

        Short answer - Yes.

        Longer answer, if your print bed was say 200mm square, and you home the printer to the front left corner, then any moves up to 200mm in X and Y will work. But if the print head was anywhere other than X0 Y0 before you start a print, then any longish moves would be outside of the build area and the print head might crash into the frame and damage the printer. Homing is to establish a known start position.

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

        selva_tviundefined 1 Reply Last reply Reply Quote 0
        • selva_tviundefined
          selva_tvi @deckingman
          last edited by

          @deckingman Sorry, I hope you misunderstood my question.

          I start every print with G28 and G29, so Homing is mandatory.

          My question is different.

          I am switching on the printer. Didnt home it manually.

          I am starting the print directly (the gcode is having G28, and G29). After reaching the temperature it shows the error - Error: G0/G1: insufficient axes homed.

          Then I give Print again, the temp reaches and homing happens and the print starts without any issues.

          Whenever it is not homed manually the first time the above error comes. Then the same starts without any issues for the 2nd time

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

            @selva_tvi We'd need much more information. G28 will run the homing macros so you need to upload those. Also, if you are relying on the G28 command to be embedded in the gcode file, then please upload the slicer start code that you are using and also a sample of a the first few lines of a sliced gcode file up to the G28 command at least. You have provided very little information but it sounds like your start gcode contains an axis move command before the G28.

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

            selva_tviundefined 1 Reply Last reply Reply Quote 1
            • selva_tviundefined
              selva_tvi @deckingman
              last edited by

              @deckingman

              Slicer Start Gcode:
              G28;
              G29;

              I have attached my homeall.g

              homeall.g

              Please find the starting lines of Simplify3d:
              G90
              M82
              M106 S0
              M104 S195 T0
              M109 S195 T0
              G28 ; home all axes
              G29 ;
              ; process Process1
              ; layer 1, Z = 0.384
              T0
              G92 E0.0000
              G1 E-1.5000 F2100

              1 Reply Last reply Reply Quote 0
              • Phaedruxundefined
                Phaedrux Moderator
                last edited by

                Please post your full config.g along with the results of sending M122 and M98 P"config.g" in the gcode console tab in DWC.

                Z-Bot CoreXY Build | Thingiverse Profile

                selva_tviundefined 1 Reply Last reply Reply Quote 0
                • selva_tviundefined
                  selva_tvi @Phaedrux
                  last edited by

                  @Phaedrux

                  Please find the required files

                  M122.txt
                  config.g

                  Showing following results for 'M98 P"config.g"

                  4/25/2023, 10:42:17 PM M98 P"config.g"
                  4/25/2023, 10:42:16 PM Warning: Macro file config-override.g not found

                  OwenDundefined 1 Reply Last reply Reply Quote 0
                  • OwenDundefined
                    OwenD @selva_tvi
                    last edited by

                    @selva_tvi
                    Do you have a start.g in you /sys directory?
                    Any movement here would happen before your print called G28

                    selva_tviundefined 1 Reply Last reply Reply Quote 0
                    • selva_tviundefined
                      selva_tvi @OwenD
                      last edited by

                      @OwenD There is no start.g used.

                      selva_tviundefined 1 Reply Last reply Reply Quote 0
                      • selva_tviundefined
                        selva_tvi @selva_tvi
                        last edited by

                        @selva_tvi @Phaedrux @OwenD Can you please check and update? Thanks

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

                          @selva_tvi When you start a print and get the error message about insufficient axes homed, what does the web interface show at that point? i.e which axes show as homed and which one (or ones) show as not homed?

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

                          selva_tviundefined 1 Reply Last reply Reply Quote 0
                          • selva_tviundefined
                            selva_tvi @deckingman
                            last edited by selva_tvi

                            @deckingman None of the axis are homed.

                            'Error: G0/G1: insufficient axes homed'

                            'The following axes are not homed: X, Y, Z, U'

                            I have sliced the file properly with start Gcode having G28 and G29.

                            Scenario 1:

                            I am switching on the printer. Directly starting the print.

                            It reaches the target temperature. Then it shows the following error ' 'Error: G0/G1: insufficient axes homed'

                            I am giving the print again. It reaches temperature and starts the print without any issues.

                            Scenario 2:

                            I am switching on the printer. Manually giving home all.

                            Then starting the print. It reaches temperature and starts the print without any issues.

                            So, the issue is for the first time giving print after switching on the machine

                            1 Reply Last reply Reply Quote 0
                            • Phaedruxundefined
                              Phaedrux Moderator
                              last edited by

                              To help trace it down you can add M117 message commands between the lines in your homeall and slicer start gcode to see where it's getting thrown. That may help narrow it down.

                              Z-Bot CoreXY Build | Thingiverse Profile

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