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

    Loosing end stop sensors during power down and up a 1XD

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    2
    5
    172
    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.
    • Schickfusundefined
      Schickfus
      last edited by

      Hi

      I am using a 6HC and multipel 1XD.
      During some sequence I want to power down and up 1XD. But not loos the over alla control of the status by not powering down the mainboard 6HC.

      When doing this I loos control over the end stop sensors that I am using on the 1XD. Is there a way around this?

      /T

      Schickfusundefined 1 Reply Last reply Reply Quote 1
      • Schickfusundefined
        Schickfus @Schickfus
        last edited by

        Sorry I should say that I am using a 3.4 version and a SBC.

        T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
        • T3P3Tonyundefined
          T3P3Tony administrators @Schickfus
          last edited by

          @Schickfus if you power down an expansion board and then power it back up again it will need to get configured. If you cant rerun the whole of config.g due to not wanting to reset anything else, then you could just run a config macro that configured only that 1XD. Note if you have the 1XD in an axes shared with other 1XDs then all controllers on that axes will end up having a configuration update.

          If this is something you need to do routinely, then I would split your config.g file up into sections, and those sections that configure each 1XD move into individual macros, and call each of those in turn. That way you can then call just the specific 1XD configuration macro when a 1XD is reset.

          www.duet3d.com

          Schickfusundefined 1 Reply Last reply Reply Quote 0
          • Schickfusundefined
            Schickfus @T3P3Tony
            last edited by

            @T3P3Tony said in Loosing end stop sensors during power down and up a 1XD:

            If this is something you need to do routinely, then I would split your config.g file up into sections, and those sections that configure each 1XD move into individual macros, and call each of those in turn. That way you can then call just the specific 1XD configuration macro when a 1XD is reset.

            Not routinely but it is part of a stop function to cut power to the stepper engins. But I do not want to lose the control of the stepper counting and positioning as if I would send a M112. I thought that I would trigger on an input on the 6HC and store the actual positions as I cut the power to the stepper engins.

            As I write this I think you may already have run in to this problem?

            T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
            • T3P3Tonyundefined
              T3P3Tony administrators @Schickfus
              last edited by

              @Schickfus I have not run into this issue but I remember another discussion about this on the forum in the past, can't find it right now.

              Personally, if its an emergency and you hit the emergency stop, cutting power, then having the recover requiring rehoming would be acceptable in my view however that may not be the same in your case.

              Once you have reconfigured the 1XDs you can send the positions of the axes using G92. the approach of using a trigger to indicate the estop has been pressed, and then either prompting the user to clear the fault and then reset the estop, then running through the reconfiguration of the 1XDs and restoring position should work.

              www.duet3d.com

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