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

    Duet Firmware Upgrade Homeall.g or G28 doesn't work

    Scheduled Pinned Locked Moved
    General Discussion
    4
    17
    1.3k
    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.
    • CEstherundefined
      CEsther
      last edited by

      I actually tried the M667 S1. This is what I started out with. I read the post where it said to look at the update notes, so I did and that is where I got the M669 K1. I thought this was done on a much earlier update. Any way when using the M667 S1 I did the home x, y, and z work as they should individually, however the homeall.g does not function and the G28 in the gcode file still won't work. I am running a print right now that has the g28 command deleted. It is about a 4 hour print. I am going to try the M564 H0 command in the config.g file when I am done with this print.

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

        Yes, as you found in the FAQ that should resolve the insufficiently homed axis error you got. You can also add S2 to the moves of unhommed axis in the homing files. Usually this is from raising the Z axis before homing X and Y.

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • CEstherundefined
          CEsther
          last edited by

          I'll try that after the print is done. What I don't understand is that my home routine starts with the z axis, then y, then x. This is the order that individual home routines work. I would have thought that if the homeall.g routing contained that same code it would work.

          Thanks for your help. I'll post my results.

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

            It would help if you posted your homing files so we could see exactly what's going on.

            Z-Bot CoreXY Build | Thingiverse Profile

            1 Reply Last reply Reply Quote 0
            • CEstherundefined
              CEsther
              last edited by

              Ok, first off. The M564 H0 WORKED!!!!!! However here are the homing files for review.

              Here is homeall.g

              M561
              G91
              G1 Z0.5 F400
              ; home Z first
              G1 Z400 F500 S1
              G1 Z-4 F200
              G1 Z10 S1

              ; then home Y
              G1 Y-500 F3000 S1
              G1 Y4 F600
              G1 Y-10 S1

              ; then home X
              G1 X-500 F3000 S1
              G1 X4 F600
              G1 X-10 S1
              G90

              1 Reply Last reply Reply Quote 0
              • CEstherundefined
                CEsther
                last edited by

                homez.g

                ;
                G91
                G1 Z400 F500 S1
                G1 Z-4 F200
                G1 Z10 S1
                G90

                1 Reply Last reply Reply Quote 0
                • CEstherundefined
                  CEsther
                  last edited by

                  homey.g

                  ;
                  G91
                  G1 Z0.5 F400
                  G1 Y-500 F3000 S1
                  G1 Y4 F600
                  G1 Y-10 S1
                  G1 Z-0.5 F400
                  G90

                  homex.g

                  ;
                  G91
                  G1 Z0.5 F400
                  G1 X-500 F3000 S1
                  G1 X4 F600
                  G1 X-10 S1
                  G1 Z-0.5 F400
                  G90

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

                    @cesther You usually have to home X and Y before you can home Z - at least that's how it used to be unless something has changed.

                    The reason being that most people use a probe to home Z and usually, that means moving the probe to the centre of the bed first. Hence it is necessary to home X and Y before the probe can find the centre in order to be able to home Z.

                    Edit - Yes I just checked on my machine and it is the same as it always used to be. i.e. the firmware won't let me home Z unless X and Y have been homed first.

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

                    1 Reply Last reply Reply Quote 0
                    • CEstherundefined
                      CEsther
                      last edited by

                      So now my question is......Should I have used an S2 in all of these files instead of the M564 H0? Should I do both? Or don't worry about it since it works? In trouble shooting I have learned to make only one change at a time. It takes a while longer, but at least I know and understand the effects of each action.

                      Stephen6309undefined 1 Reply Last reply Reply Quote 0
                      • CEstherundefined
                        CEsther
                        last edited by

                        Originally this machine homed x and y first, however, it was always my opinion that Z should be homed first as we have a home switch. Thus it drops the bed down out of the way. With the new firmware, I was excited to see that I could not home anything until Z was homed.

                        1 Reply Last reply Reply Quote 0
                        • Stephen6309undefined
                          Stephen6309 @CEsther
                          last edited by

                          @cesther I use the G1 S2 instead of the M564 in all of my homing files. It doesn't make a difference on which method used.

                          1 Reply Last reply Reply Quote 0
                          • CEstherundefined
                            CEsther
                            last edited by

                            I am printing a part right now, it will be done by lunch. After that I may try the S2 command without the M564. I'll try to post my results. Again, right now all is working great. Would still like to learn what does what and so forth.

                            Thanks everyone for your help.

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

                              @cesther It always used to be the case that one could move any axis before it had been homed. This meant that there was nothing to stop a gantry being moved outside it's normal limits by accidentally entering a wrong value. This was deemed as being potentially dangerous by some users - especially OEM manufactures and CNC users. So the firmware was changed to prohibit any moves until an axis has been homed.

                              This is a safety feature but it can be overridden either by using an S2 parameter in a specific move command or by putting M564 H0 at the end of config.g as a more "global" setting.

                              Once an axis has been homed, then any movement command will stop at the minimum and maximum values that have been defined for that axis. So for example if your gantry was sitting at 10mm away from zero and sent a command to move it 100mm towards zero, it would only move 10mm and stop. But if you use M564 H0 then whenever you turn on the machine, there is nothing to stop it acting on a command that could send the print head trying to go beyond the axis limits and crashing into the frame or worse.

                              Personally, I do use M564 H0 but I am experienced enough to understand the risks which I accept.

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

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