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

    G30 Insufficient Axes Homed For Bed Probing

    Scheduled Pinned Locked Moved
    General Discussion
    5
    79
    4.0k
    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 @Steve Lynch
      last edited by

      @steve-lynch What;s teh error message exactly? And did you put that S2 in the second G1 Z move?

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

      1 Reply Last reply Reply Quote 0
      • Steve Lynchundefined
        Steve Lynch
        last edited by

        G28! (in a little exclaimation Triangle) then below it it says G30 insufficient homing for bed probing

        uncommented fthat line, and added S2 to the second Z5...

        G91 ; relative positioning
        G1 Z5 F6000 S2 ; lift Z relative to current position
        M401 ;deploy mechanical z probe
        G1 S1 X-300 Y-300 F10000 ;move quickly to X or Y endstop and stop there (first pass)
        G1 S1 X-300 F10000 ;Now do a fast move just on X and detect end stop
        G1 S1 Y-300 F10000 ;Likewise Y

        G1 X5 Y5 F6000 ;go back a few mm

        G1 S1 X50 F360 ;move slowly to X axis endstop once more (second pass)
        G1 S1 Y50 ;then move slowly to Y axis endstop

        G1 S2 Z5 F6000 ;lift Z relative to current position
        G90 ;absolute positioning
        G1 X190 Y150 F6000 ;go to first probe point
        G30 ;home Z by probing the bed

        ; Uncomment the following lines to lift Z after probing
        G91 ;relative positioning
        G1 Z5 F100 ;lift Z relative to current position
        G90 ;absolute positioning

        M402 ;retract mechanical Z probe

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

          @steve-lynch said in G30 Insufficient Axes Homed For Bed Probing:

          G1 S1 X50 F360 ;move slowly to X axis endstop once more (second pass)
          G1 S1 Y50 ;then move slowly to Y axis endstop

          These need to be negative moves again to go back towards the endstop.

          And if you're using the BLTouch, just remove these entirely. M401 ;deploy mechanical z probe and M402 ;retract mechanical Z probe. They are not needed. The probe pin will deploy automatically with G30. Deploying it before your other moves risks it either hitting the bed and causing an error, or getting caught on something and breaking.

          Z-Bot CoreXY Build | Thingiverse Profile

          1 Reply Last reply Reply Quote 0
          • Steve Lynchundefined
            Steve Lynch
            last edited by

            Yeah, That's what I thought.. DC42 Told me to put them back in... I didn't specify what Build I was on... I read that that is handled by Type 9 probe now. Cool!
            Thanks!

            1 Reply Last reply Reply Quote 0
            • Steve Lynchundefined
              Steve Lynch
              last edited by

              UGH! Still! G30 Insufficient Axes Homed for Bed probing!

              we trim more and more off each go-round, but still we do not kill the error!

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

                @steve-lynch can you post your homeall one more time?

                Z-Bot CoreXY Build | Thingiverse Profile

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

                  @phaedrux said in G30 Insufficient Axes Homed For Bed Probing:

                  @steve-lynch can you post your homeall one more time?

                  @Steve-Lynch That - and also your deploy probe and retract probe macros - there could be a move in there that needs an S2

                  EDIT. Inore that - you aren't now using them

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

                  1 Reply Last reply Reply Quote 0
                  • Steve Lynchundefined
                    Steve Lynch
                    last edited by

                    G91 ; relative positioning
                    G1 Z5 F6000 S2 ; lift Z relative to current position
                    G1 S1 X-300 Y-300 F10000 ;move quickly to X or Y endstop and stop there (first pass)
                    G1 S1 X-300 F10000 ;Now do a fast move just on X and detect end stop
                    G1 S1 Y-300 F10000 ;Likewise Y

                    G1 X5 Y5 F6000 ;go back a few mm

                    G1 S1 X-300 F360 ;move slowly to X axis endstop once more (second pass)
                    G1 S1 Y-300 ;then move slowly to Y axis endstop

                    G1 S2 Z5 F6000 ;lift Z relative to current position
                    G90 ;absolute positioning
                    G1 X190 Y150 F6000 ;go to first probe point
                    G30 ;home Z by probing the bed

                    ; Uncomment the following lines to lift Z after probing
                    G91 ;relative positioning
                    G1 Z5 F100 ;lift Z relative to current position
                    G90 ;absolute positioning

                    1 Reply Last reply Reply Quote 0
                    • Steve Lynchundefined
                      Steve Lynch
                      last edited by

                      I posted the deploy and retract above.. they're really short...

                      deploy just contains M280 P3 S10 I1

                      retract contains: M280 P3 S90 I1

                      1 Reply Last reply Reply Quote 0
                      • Steve Lynchundefined
                        Steve Lynch
                        last edited by

                        Honestly, the more we cull from the Homeall.g, the more I see just how much unnecessary, redundant, and counter intuitive stuff I had going on there... It's like the file was fighting against itself.. lol

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

                          Can you confirm that when you hit home all the X and Y axis start moving towards the endstops and actually hit them?

                          You can remove the second Z lift as well. It's already lifted once at the start of the file, so no need to raise it again. This one before the G90. Though it shouldn't be causing the problem.

                          G1 S2 Z5 F6000 ;lift Z relative to current position
                          G90 ;absolute positioning

                          Z-Bot CoreXY Build | Thingiverse Profile

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

                            Try again stepping through the file one line at a time by copying and pasting each line exactly as you you have it in the homeall file, into the console. But before you do that, cycle the power so that you start with all axes un - homed. If you look at the "Machine Control" tab, you start with all the axes highlighted in yellow. So switch to the console, enter the first commend, then switch back to the Machine Control tab. Then repeat for the next command in your homeall file. Every time an axis homes successfully, (i.e. an endstop triggers when the move has an S1 command) each one will change from yellow to blue. At the end of the sequence, they should all be blue. If not, where did it go tits up?

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

                            1 Reply Last reply Reply Quote 0
                            • Steve Lynchundefined
                              Steve Lynch @Phaedrux
                              last edited by

                              @phaedrux yes, they physically hit the end stops, at which time they clear the "not homed" status.

                              X, Y, and Z

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

                                Yes when X and Y hit the endstops they should be marked as homed, that is correct. Are you saying they also mark the Z axis as homed?

                                Can you post your config.g file so we can see what your endstops are configured as?

                                Z-Bot CoreXY Build | Thingiverse Profile

                                1 Reply Last reply Reply Quote 0
                                • Steve Lynchundefined
                                  Steve Lynch
                                  last edited by

                                  it looks like the very first G1 Z5 F6000 S2 is the culprit

                                  deckingmanundefined 1 Reply Last reply Reply Quote 0
                                  • Steve Lynchundefined
                                    Steve Lynch
                                    last edited by

                                    excerpt from my config.g

                                    ; Axis Limits
                                    M208 X-8:300 Y0:300 ;Set Axis Limits

                                    ; Endstops
                                    M574 X1 Y0 S1 ; Set active low and disabled endstops
                                    M591 D0 P1 C3 S0

                                    ; Z-Probe
                                    M574 Z0 S2 ; Set endstops controlled by probe
                                    M307 H3 A-1 C-1 D-1 ; Disable heater on PWM channel for BLTouch
                                    M558 P9 H5 F120 T9000 ; Set Z probe type to bltouch and the dive height + speeds
                                    G31 P500 X-39 R0.2 Y0 A3 Z1.34 ; Set Z probe trigger value, offset and trigger height
                                    M557 X50:230 Y10:270 S50 ; Define mesh grid

                                    Phaedruxundefined 1 Reply Last reply Reply Quote 0
                                    • Steve Lynchundefined
                                      Steve Lynch
                                      last edited by

                                      should the Y axis be negative here as well? Or is the end stop establishing "Hard Zero"?

                                      1 Reply Last reply Reply Quote 0
                                      • Steve Lynchundefined
                                        Steve Lynch
                                        last edited by

                                        OK, didn't I read that Z cannot make a move without Homing the other exes first? I had the comment to allow moves before homing, but I was told to remove that. S2 denotes a move ignoring limits though, correct?

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

                                          @steve-lynch said in G30 Insufficient Axes Homed For Bed Probing:

                                          it looks like the very first G1 Z5 F6000 S2 is the culprit

                                          Why do you think that? What happens? What should happen is that the bed moves 5mm away from the nozzle and nothing else. You shouldn't get an error message. The homing state won't change because of the S2 parameter. If you do get an error message at this point, try deleting that line and re-typing it, just in case there is a hidden character or some such that is screwing things up.

                                          OK, didn't I read that Z cannot make a move without Homing the other exes first? I had the comment to allow moves before homing, but I was told to remove that. S2 denotes a move ignoring limits though, correct?

                                          You can move Z if you include the S2 parameter. S2 ignores end stop detection.

                                          M574 X1 Y0 S1 ; Set active low and disabled endstops

                                          This looks odd.

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

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

                                            @steve-lynch said in G30 Insufficient Axes Homed For Bed Probing:

                                            ; Axis Limits
                                            M208 X-8:300 Y0:300 ;Set Axis Limits

                                            That would indicate that your X axis is potentially longer than just 300mm. It's 308 actually. so in the rare case that your X axis is all the way to the max end, it won't be able to reach the endstop switch if your homing file only tells it to move 300mm. So your X axis homing move would need to be more than 300.

                                            So your first X and Y moves should be:

                                            G1 S1 X-400 Y-400 F10000 ;move quickly to X or Y endstop and stop there (first pass)
                                            G1 S1 X-400 F10000 ;Now do a fast move just on X and detect end stop
                                            G1 S1 Y-400 F10000 ;Likewise Y
                                            

                                            S2 denotes a move ignoring limits though, correct?

                                            The G1 S2 switch will allow that move even if the axis isn't homed. So for the Z axis, it is raising it out of the way a short amount to prevent any collisions.

                                            ; Endstops
                                            M574 X1 Y0 S1 ; Set active low and disabled endstops

                                            This is incorrect. Y0 indicates there is no endstop for Y.

                                            https://duet3d.dozuki.com/Wiki/Gcode#Section_M574_Set_endstop_configuration

                                            If the X and Y endstops are on the low end, it should be M574 X1 Y1 Z0 S1

                                            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