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

Possible bug observed after V3.3 to 3.4.1 update

Scheduled Pinned Locked Moved
Firmware installation
7
13
410
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.
  • undefined
    gloomyandy @AstroSmoke
    last edited by 10 Jul 2022, 07:38

    @astrosmoke I think you have misunderstood what a H2 move does. With H2 moves X and Y no longer refer to the X and Y axis, rather they refer to individual motors. So in your code G1 H2 X5 F600 will be telling RRF to move a single motor by 5mm, in the case of a corexy a single motor move actually causes a diagonal movement of the print head (in corexy moving in just X or Y requires movement of both motors). From your description I would say that what you are seeing is the expected motion.

    See:

    H2 Individual motor mode. X refers to the X motor, Y refers to the Y motor, and so on. Normally used with relative motor coordinates (see G91).
    

    From: https://docs.duet3d.com/en/User_manual/Reference/Gcodes#usage

    undefined 1 Reply Last reply 10 Jul 2022, 22:34 Reply Quote 0
    • undefined
      AstroSmoke @gloomyandy
      last edited by 10 Jul 2022, 22:34

      @gloomyandy
      @dc42

      Ah, it just dawned on me what you and dc42 said.
      Please excuse my ignorance, I am somewhat new to G codes and their nuances, specifically to coreXY movement.

      Please note that I did not write the base setup code, these are typical RatRig predefined files that I have been slowly massaging into shape for my setup as I learn the structure. It appears I have observed an error in these setup files. Although I didn't notice the unintended movement prior to the 3.4.1 update.

      1 Reply Last reply Reply Quote 0
      • undefined
        Phaedrux Moderator
        last edited by 11 Jul 2022, 03:40

        H2 should never be used in homing files for the back off moves. This is one issue that it can cause, another is that it can mask endstop issues by allowing an unhomed axis to do the back off move. Without the H2 the backoff move would give an error that the axis isn't homed rather than phantom movement in the wrong direction.

        Z-Bot CoreXY Build | Thingiverse Profile

        undefined undefined 2 Replies Last reply 11 Jul 2022, 06:08 Reply Quote 0
        • undefined
          jay_s_uk @Phaedrux
          last edited by 11 Jul 2022, 06:08

          @phaedrux I think you'll find the config tool generates files with H2 used in the back off move, unless the machine is a core.. kinematic machine
          https://github.com/Duet3D/ConfigTool/blob/c7efec3af7a400c4a57ae2b487b682e7374cb2d5/public/templates/homex.ejs#L21

          Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

          undefined 1 Reply Last reply 11 Jul 2022, 10:25 Reply Quote 2
          • undefined
            AstroSmoke @Phaedrux
            last edited by 11 Jul 2022, 08:23

            @phaedrux

            I have raised the problem on Ratrig Discord, and "H2 removal" has been raised as a pull request on git-hub for main config files. So it should be addressed in revisions, anyone else following can be pointed to updating their system homing files.

            Thanks all

            1 Reply Last reply Reply Quote 2
            • undefined
              oliof @jay_s_uk
              last edited by 11 Jul 2022, 10:25

              @jay_s_uk @Phaedrux you will also find that H2 moves are in the documentation in https://docs.duet3d.com/en/User_manual/Machine_configuration/Configuration_cartesian#homing-x-and-y
              (but not in https://docs.duet3d.com/en/User_manual/Machine_configuration/Configuration_coreXY). But if it never should be used by a backoff move, it should be removed from the cartesian examples and not generated by the Configurator.

              <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

              1 Reply Last reply Reply Quote 2
              • undefined
                oliof
                last edited by 11 Jul 2022, 10:27

                also, coincidentally, what would be the equivalent to an "unhomed" move on a Core* system (which is what H2 moves are in Cartesian)? I couldn't find an equivalent in the documentation (G91 is relative but also requires homing, right?) ... Maybe we need a H2.1 for "unhomed" move for those who insist on breaking their motion system in case of error?

                <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

                undefined 1 Reply Last reply 11 Jul 2022, 13:07 Reply Quote 1
                • undefined
                  deckingman @oliof
                  last edited by 11 Jul 2022, 13:07

                  @oliof I'd have thought that the only time one would need an alternative to H2 would be on a coreXZ. i.e. the only time one needs an H2 is to lift Z prior to homing X and Y.

                  I remember the good old days prior to firmware 1.21 when it was easy to crash the head into the frame 🙂 But one tends to learn from such mistakes so since firmware 1.21, I always put M564 H0 at the end of my config.g. Then I can nudge the axes around to my heart's content without the printer being homed and without "nanny firmware" telling me I can't do that. On a more serious note, I guess one could always put M564 H0 at the start of one's homeall.g then not have to worry about any H2 parameters.

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

                  undefined 1 Reply Last reply 11 Jul 2022, 13:42 Reply Quote 1
                  • undefined
                    oliof @deckingman
                    last edited by 11 Jul 2022, 13:42

                    @deckingman thanks for reminding me of M564 H0, I wasn't able to find it when I looked for unhomed moves ... that would indeed be an option for the homing files; I'll think about it.

                    <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      oliof
                      last edited by 11 Jul 2022, 15:09

                      And just for closure, the RatRig sample configuration has been updated and the H2 moves removed.

                      <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

                      1 Reply Last reply Reply Quote 1
                      • undefined sebkritikel referenced this topic 2 Jan 2023, 22:02
                      13 out of 13
                      • First post
                        13/13
                        Last post
                      Unless otherwise noted, all forum content is licensed under CC-BY-SA