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

I could use some help

Scheduled Pinned Locked Moved
Duet Hardware and wiring
11
682
63.5k
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
    droftarts administrators @A Former User
    last edited by droftarts 30 Jun 2022, 08:57

    @mac 12V or 24V doesn’t matter too much. Motors work better with 24V, and can usually run faster (it’s like having more water in a dam; there’s more potential energy) but 12V is fine for most cases. If you switch to 24V you’ll have to change your bed and hot end heaters heaters too. 24V may or may not work better with your current motors and the Duet Mini 5+, I’m not sure.

    Can you post a link for the actual motors you have purchased? I’m not quite sure which ones you got in the end.

    One thing I’m still slightly concerned about is the quality of your crimping. Did you do all the motor crimps? Did you use the tool you posted a picture of, which is for ferrules rather than crimps? Poor connections could be causing some of the issues, too.

    Lastly, it’s also possible that a lot of the problems is down to the endstops being wired NO. The endstop wires run next to the motor wires, and may well be picking up interference and registering false activations. I’d suggest running the endstop wires separately from the motor wires, or changing the connections on micro switches to NC.

    Ian

    Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

    ? 3 Replies Last reply 30 Jun 2022, 09:08 Reply Quote 1
    • ?
      A Former User @droftarts
      last edited by 30 Jun 2022, 09:08

      @droftarts well, that’s a lot to think about. If I can find 12v motors maybe that’s a better solution. But then I’ll still have a problem with my bed not passing the pid tests. Thanks for the input.

      1 Reply Last reply Reply Quote 0
      • ?
        A Former User @fcwilt
        last edited by 30 Jun 2022, 09:10

        @fcwilt the real problem here is the motors you like are 24volts. That means a new power supple and a new bed and a new heater for the hot end. Too many new parts. I need 12 volt motors.

        undefined ? 3 Replies Last reply 30 Jun 2022, 09:15 Reply Quote 0
        • undefined
          deckingman @A Former User
          last edited by 30 Jun 2022, 09:14

          @mac said in I could use some help:

          @fcwilt you're not going to like this, but here goes:

          G1 H1 Y-10 F3600 would NOT move the bed. I tried twice, and I clicked multiple times each time.

          Then I changed H1 to H2.

          The command sent the bed back to the endstop 10 mm's at a time. When it was at -220 I looked to see what's what. There was another 10mm's to go, so I clicked on the send button. The bed went back that 10mm's, and depressed the endstop.

          Then I clicked on the Y+50 joy button at the far right of Home Y. Instead of going 50mm's, the bed went all the way to the front of the printer, and stopped without pounding on the adjustment cap.

          This machine has a mind of it's own. My apologies for such bad news.

          This is a marathon thread and I haven't read more than a small portion of it so I've likely missed much of what has gone before. But I'll take a stab at helping if I can.

          The first thing I noticed is that the configuration file does not have a M669 command to define the kinematics. I'm not sure but I think the default setting is for Cartesian so it should be OK (if this is a Cartesian (bed slinger) printer. But it might be an idea to add M669 K0 to the start of config.g.

          Is there a config_override.g file (check the .sys folder). If there is, comment out anything that is in it at this point in time (or delete the file completely). Config_override does just what it's name suggests and override any commands that are in config.g and we don't want that happening.

          Secondly, (and I'm not trying to be condescending here) but do you understand the difference between absolute and relative positioning? In case you don't, relative positioning means make a move n mm from the current position. Absolute positioning is still relative but it's relative to the origin. To expand on that, if your x min and Y min are at say the left hand front corner of the bed, then that's the origin. So a relative G1 X10 move will move the head 10mm from wherever it is currently at. But an absolute G1 X 10 move will move the bed to a position which is 10mm from the edge of the bed (or wherever the origin is set to).

          Obviously it follows that you can't make absolute moves when the printer is first turned on, because it won't have been homed. That is to say, the printer has no idea of whereabouts X0 Y0 is. So if you try to move to absolute position from an unknown position, strange things are going to happen. Now your config.g file has G90 at the beginning so when you first turn it on, it will be in absolute positioning mode.

          Taking each line of the above quoted post at a time............

          G1 H1 Y-10 F3600 would NOT move the bed. I tried twice, and I clicked multiple times each time.

          This means that the end stop must have already been triggered so the machine "thinks it's already at Y min so won't go any further back. Now if the switch wasn't depressed, then you have a wiring or configuration issue with that end stop.

          Then I changed H1 to H2.

          That will ignore the end stop status.

          The command sent the bed back to the ends top 10 mm's at a time.

          Assuming you used the same G1 command and not the buttons on DWC, this means that the machine must have been in relative positioning mode. So at some point in time after it was powered up, it must have received a G91 command. Do you send it? If not what else did you do that might have sent that command?

          Then I clicked on the Y+50 joy button at the far right of Home Y. Instead of going 50mm's, the bed went all the way to the front of the printer, and stopped without pounding on the adjustment cap.

          This is where it gets really weird. It sounds like the machine was in absolute positioning mode and sent the bed to the absolute position of Y=50mm . Yet, as far as I'm aware, when you use the buttons on DWC it runs the sequence G91 (to put the machine into relative mode) then does the G1 move, then G90 (to put the machine back into absolute mode.

          Can you repeat what you did to nudge the printer back 10mm at a time but instead of using the buttons on DWC to move it forward by 50mm, send G91, then G1 H2 Y50 F3600 and let us know what happens.

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

          ? 1 Reply Last reply 30 Jun 2022, 09:44 Reply Quote 0
          • undefined
            deckingman @A Former User
            last edited by 30 Jun 2022, 09:15

            @mac said in I could use some help:

            @fcwilt the real problem here is the motors you like are 24volts. That means a new power supple and a new bed and a new heater for the hot end. Too many new parts. I need 12 volt motors.

            No you don't. Duet boards use constant current drivers - the stepper motor voltage is largely irrelevant.

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

            ? 1 Reply Last reply 30 Jun 2022, 09:34 Reply Quote 0
            • ?
              A Former User @A Former User
              last edited by 30 Jun 2022, 09:26

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • ?
                A Former User @deckingman
                last edited by 30 Jun 2022, 09:34

                @deckingman thanks for the input. Can you provide more info? If I have a 12 volt power supply, how do I provide for 4-24 volt motors?

                undefined 1 Reply Last reply 30 Jun 2022, 11:56 Reply Quote 0
                • ?
                  A Former User @deckingman
                  last edited by 30 Jun 2022, 09:44

                  @deckingman well, that was very enlightening. I read your second post about 24 volt motors first, and that confused me a bit.

                  I need to read your longer post again, to understand it better, I hope, then I’ll get back to you.

                  What I know is kind of a mess right now because I’ve been getting a lot of input. Have you seen any of the brief videos I’ve put on YouTube? That might provide some context for your comments.

                  Yes, this thread is nuts. But it’s also a full record of what I’m sloshing through, so there’s that.

                  Thank you for contributing your know-how. It’s much appreciated.

                  Mac

                  1 Reply Last reply Reply Quote 0
                  • ?
                    A Former User @A Former User
                    last edited by A Former User 30 Jun 2022, 09:46

                    @fcwilt i found a set of 5 motors. They are a 12 volt version of your original suggestion. I’m going to get them, and keep this effort simple.

                    ? 1 Reply Last reply 30 Jun 2022, 10:07 Reply Quote 0
                    • ?
                      A Former User @droftarts
                      last edited by A Former User 30 Jun 2022, 09:58

                      @droftarts no, I used a proper crimping tool for all my crimps. I can go back and test all of them though. That wouldn’t hurt at all. If I can find a link that maintains my privacy, I’ll send it to you so you can see the motors I’m going to buy.

                      ? undefined 2 Replies Last reply 30 Jun 2022, 09:59 Reply Quote 0
                      • ?
                        A Former User @A Former User
                        last edited by 30 Jun 2022, 09:59

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • undefined
                          droftarts administrators @A Former User
                          last edited by 30 Jun 2022, 10:04

                          @mac the ‘12V rating’ does not matter. Far more important is phase resistance and phase inductance.

                          Ian

                          Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                          ? undefined 3 Replies Last reply 30 Jun 2022, 10:06 Reply Quote 1
                          • ?
                            A Former User @droftarts
                            last edited by 30 Jun 2022, 10:06

                            @droftarts here’s a picture of the motor info, please advise asap

                            0AEDBE1E-C3B3-47FA-91EE-943C37E99311.png

                            1 Reply Last reply Reply Quote 0
                            • ?
                              A Former User @A Former User
                              last edited by 30 Jun 2022, 10:07

                              @fcwilt heres the 12 volt motor info, please advise asap

                              AD7E4082-225C-45BC-B410-E6FC42877764.png

                              1 Reply Last reply Reply Quote 0
                              • ?
                                A Former User @fcwilt
                                last edited by 30 Jun 2022, 10:34

                                @fcwilt so, I ended up getting the motors you suggested. The information is somewhat misleading. They are 12-24 volts, not 24 volts only. I should have them on the 6th.

                                1 Reply Last reply Reply Quote 0
                                • ?
                                  A Former User @droftarts
                                  last edited by 30 Jun 2022, 10:36

                                  @droftarts I purchased the motors Frederick suggested. They are 12-24 volts, not 24 volts only. I’ll have them on July 6.

                                  1 Reply Last reply Reply Quote 0
                                  • undefined
                                    deckingman @A Former User
                                    last edited by deckingman 30 Jun 2022, 11:56

                                    @mac said in I could use some help:

                                    @deckingman thanks for the input. Can you provide more info? If I have a 12 volt power supply, how do I provide for 4-24 volt motors?

                                    Maybe this will help your understanding. A Watt is a unit of power. In electrical terms, Wattage is Voltage x Current. The stepper drivers use constant current but vary the voltage. To keep the maths simple, let's say you set the current to 1 amp. Now let's say for example that to move your carriage takes 3 Watts. If the current is 1 amp, then the voltage would need to be (3Watts/1Amp = ) 3 volts. But let's say you want to accelerate faster which needs more power and let's say that power is 6Watts. We still provide 1 Amps because that's how the stepper driver works, so to get 6Watts, the voltage would have to increase (in this case to 6/1 = 6V). But let's say you have a heavy hot end and want to accelerate it fast and that the power to do that would be 12 Watts. In that scenario, still keeping the current to 1 Amp, the voltage would need to be 12V. If you have a 12V power supply, that's the maximum you could go. But if you had a 24V power supply, still keeping the current at 1 Amp, you could get 24 Watts of power.

                                    So, take no notice of what the (probably Chinese) manufacturer says about driving voltage - with constant current drivers as used by Duet, it's meaningless.

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

                                    ? 1 Reply Last reply 30 Jun 2022, 12:11 Reply Quote 1
                                    • ?
                                      A Former User @deckingman
                                      last edited by 30 Jun 2022, 12:11

                                      @deckingman Ah, the lovely world of E ='s I times R. So, the 24 volt powerful has no problem supplying a 12 volt system? And providing more than 12 volts when needed? Is that why the motors I purchased are rated as 12-24 volts? They're expecting to have as much as 24 volts available to them?

                                      undefined 1 Reply Last reply 30 Jun 2022, 12:17 Reply Quote 0
                                      • undefined
                                        deckingman @A Former User
                                        last edited by deckingman 30 Jun 2022, 12:17

                                        @mac said in I could use some help:

                                        @deckingman ...............Is that why the motors I purchased are rated as 12-24 volts? They're expecting to have as much as 24 volts available to them?

                                        Not really. If you read the description carefully, you''ll see that it says "Driving Voltage" - it isn't a rating as such so don't think of them as being rated at 12-24V. It's more likely a number (probably picked of thin air) which might be relevant for ancient drivers that don't use constant current. Some CNC users on these and other forums, use 48V and higher PSUs, but still the with same motors.

                                        But, yes. The drivers will supply whatever voltage is required from almost bugger all, up to the maximum that the PSU can deliver. So 24V will always give you more headroom.

                                        It's a similar thing with heater cartridges. A 60 Watt 24 V heater will draw 2.5 Amps but a 60 Watt 12V heater will draw 5 Amps.

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

                                        ? 1 Reply Last reply 30 Jun 2022, 12:19 Reply Quote 0
                                        • ?
                                          A Former User @deckingman
                                          last edited by 30 Jun 2022, 12:19

                                          @deckingman so the voltage isn't "there," but it's available.

                                          undefined undefined 2 Replies Last reply 30 Jun 2022, 12:22 Reply Quote 0
                                          563 out of 682
                                          • First post
                                            563/682
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA