Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Change Stepper Online

    Duet Hardware and wiring
    3
    5
    536
    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.
    • JoergS5
      JoergS5 last edited by

      I have a new idea: having two or more printer hardware printing on the same heatbed, Duet switches between the two (or more) hardware while printing.

      For example, printing with a CoreXY printer, then switch to a SCARA to print fine structures, (or coarse structure for the infill) then switch back proceeding with the normal print.

      My questions are:

      • is it possible to disconnect and reconnect different steppers while printing (e.g. through 4 relais of the 4 wires)
      • is it possible to change firmware setup while printing, to change configuration settings for example. First some basic settings like stepper and extruder, later printer type. I will try to change firmware, this is second priority.

      It is possible to use two Duet with their separate printer setups, but then one have to coordinate the printing. I would like to use the switching to begin with.

      My question is for electric security and whether it's possible: steppers, hotend, end stops switching while running a print.

      1 Reply Last reply Reply Quote 0
      • Danal
        Danal last edited by

        Generaly speaking disconnecting and reconnecting a "stepper driver" <> "stepper motor" while powered up runs a VERY LARGE chance of blowing the stepper driver.

        With regard to "changing the firmware setup", YES. Duet/RepRap are entirely configured by G-Code commands, "M" and "G". There is absolutely nothing with regard to configuration "compiled in" to the firmware. In fact, it would be EXTREMELY unusual for an end-user of Duet/RepRap to build (re-compile) the firmware... and it takes a fairly complex tool-chain to do so.

        For most of the "M" configuration commands, the effect is immediate. For a very few, sequence is important. For example, assigning motors (really drivers) to Axis should come before you configure other things for those Axis. Most of this is common sense.

        To be clear: ALL configuration is stored in g-code files. There are a few specific names, such as /sys/config.g that are "auto-printed" (run) a boot time. It would be very easy to have a file call /sys/config-this.g and another file called /sys/config-that.g that have completely different contents, for different printers kinematics, or whatever, and to "print" these files, thus re-configuring, at any time. Even the things I mentioned above that are "Sequence Dependent" can be re-done at any time, as long as the re-configuration re-does all parts of the sequence.

        In short: Yes. Configuration is all dynamic, and by "M" command.

        Again, hardware is different. Switching driver-hardware cabling would require a LOT of thought... a simple four pole relay is likely to kill the driver. It MIGHT, repeat MIGHT be OK to totally de-energize a driver, switch and the re-energize it. Experimenting on this could be interesting... you'd need a pile of driver chips and a way to quickly swap them... or similar.

        Delta / Kossel printer fanatic

        JoergS5 1 Reply Last reply Reply Quote 0
        • JoergS5
          JoergS5 @Danal last edited by

          @danal Thank you for your response, I didn't realize that all behaviour of Duet is G-Code based and can be changed on-the-fly. I am still used to old firmware marlin thinking. That's good news.

          For Hardware, maybe using the external connectors switching the CNC based boards with TMC2130 could be a solution with not too bad drivers.

          1 Reply Last reply Reply Quote 0
          • dc42
            dc42 administrators last edited by dc42

            In theory you could switch between motors using a 4-pole relay as you say, taking care to de-energise the motors first. However, a Duet+DueX5 can drive 10 stepper motors independently, plus another two using external drivers. You can configure on-the-fly which drivers are used for each axis. So it would be much simpler and safer to connect each motor to a separate driver.

            Why do you think that a SCARA mechanism would be better able to print fine detail than a CoreXY mechanism?

            Duet WiFi hardware designer and firmware engineer
            Please do not ask me for Duet support via PM or email, use the forum
            http://www.escher3d.com, https://miscsolutions.wordpress.com

            JoergS5 1 Reply Last reply Reply Quote 0
            • JoergS5
              JoergS5 @dc42 last edited by

              @dc42 Thank you, Duex5 is a good idea!

              I've a plan for a multiple scara printer
              https://reprap.org/forum/read.php?185,824669
              and to be more stable, parallel scara.

              The reason is not detail, but to be flexible, and maybe speed.
              And Scara is the only mechanism I know that's not in the other's way.

              But harmonic drives are very expensive (I bought two "affordable" ones now), so I want to start with CoreXY and one Scara.

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