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

    DUEX 5 V0.8 TO DUEX 5 V0.11

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    9
    283
    19.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.
    • paolozampini1973undefined
      paolozampini1973 @droftarts
      last edited by paolozampini1973

      @droftarts if it is possible for you we can see the problem of the loss of pace because the rest everything works
      for other small problems I look at myself I do not want to take advantage of your kindness we see the biggest problem of the loss of the Step of X and Y

      1 Reply Last reply Reply Quote 0
      • droftartsundefined
        droftarts administrators @paolozampini1973
        last edited by

        @paolozampini1973

        ; Endstops
        M574 X0 S1 P"!xstop"     ; configure active-high endstop for low end on X via pin xstop
        M574 Y1 S1 P"!ystop"     ; configure active-high endstop for low end on Y via pin ystop
        M574 Z2 S1 P"!zstop+!e1stop"
        
        ;Filament Sensing
        M591 P2 C"e0stop" S0 D0
        M591 P2 C"duex.e2stop" S1 D2
        M591 P2 C"duex.e3stop" S1 D3
        M591 P2 C"duex.e4stop" S1 D4
        

        With this configuration, homez.g works? And the filament sensing works?

        Ian

        TronXY X5S with Duet 3 MB6HC and Roto toolboard : Cartesian bed-slinger with Duet 3 Mini 5+ WiFi and 1LC : RRP Fisher Delta v1 with Duet 2 Maestro : Polargraph with Duet 2 WiFi

        paolozampini1973undefined 1 Reply Last reply Reply Quote 0
        • paolozampini1973undefined
          paolozampini1973 @droftarts
          last edited by

          @droftarts said in DUEX 5 V0.8 TO DUEX 5 V0.11:

          @paolozampini1973

          ; Endstops
          M574 X0 S1 P"!xstop"     ; configure active-high endstop for low end on X via pin xstop
          M574 Y1 S1 P"!ystop"     ; configure active-high endstop for low end on Y via pin ystop
          M574 Z2 S1 P"!zstop+!e1stop"
          
          ;Filament Sensing
          M591 P2 C"e0stop" S0 D0
          M591 P2 C"duex.e2stop" S1 D2
          M591 P2 C"duex.e3stop" S1 D3
          M591 P2 C"duex.e4stop" S1 D4
          

          With this configuration, homez.g works? And the filament sensing works? YES

          Ian

          paolozampini1973undefined 1 Reply Last reply Reply Quote 0
          • paolozampini1973undefined
            paolozampini1973 @paolozampini1973
            last edited by paolozampini1973

            @droftarts

            M566 X1000.00 Y1000.00
            M201 X2000.00 Y2000.00
            I tried to make a print with this configuration without extruding the pitch I don't lose it but if I increase it I lose it
            DM860H V3.3 act英文 (1).pdf 17HS19-2004S1.pdf

            I made the print at 100 mm and the displacement 130 mm

            1 Reply Last reply Reply Quote 0
            • droftartsundefined
              droftarts administrators
              last edited by

              @paolozampini1973 said in DUEX 5 V0.8 TO DUEX 5 V0.11:

              @droftarts if it is possible for you we can see the problem of the loss of pace because the rest everything works

              Okay, back to the original problem. DM860H driver is made by Leadshine. I expect you have a Chinese clone version. All documentation I have found, except for the one you posted, has a different timing specification for the DM860H drivers. eg:
              http://www.jdsmotion.com/products1/dma860h.pdf
              https://manuals.plus/microrostep/leadshine-microstep-dm860-user-s-manual

              I suggest trying the following timing:

              M569 P7 S0 R1 T3:3:6:6                         ; E4 X physical drive 7 goes forwards
              M569 P8 S1 R1 T3:3:6:6                         ; E5 Y physical drive 8 goes forwards
              

              Stated timing is minimum length. Timings can be longer than stated in documentation, but not shorter. This will not affect the speed you can achieve with the axis.

              But note that even the pdf you linked says that signal level must be >3.5V.

              Ian

              TronXY X5S with Duet 3 MB6HC and Roto toolboard : Cartesian bed-slinger with Duet 3 Mini 5+ WiFi and 1LC : RRP Fisher Delta v1 with Duet 2 Maestro : Polargraph with Duet 2 WiFi

              paolozampini1973undefined 1 Reply Last reply Reply Quote 0
              • paolozampini1973undefined
                paolozampini1973 @droftarts
                last edited by

                @droftarts said in DUEX 5 V0.8 TO DUEX 5 V0.11:

                @paolozampini1973 said in DUEX 5 V0.8 TO DUEX 5 V0.11:

                @droftarts if it is possible for you we can see the problem of the loss of pace because the rest everything works

                Okay, back to the original problem. DM860H driver is made by Leadshine. I expect you have a Chinese clone version. All documentation I have found, except for the one you posted, has a different timing specification for the DM860H drivers. eg:
                http://www.jdsmotion.com/products1/dma860h.pdf
                https://manuals.plus/microrostep/leadshine-microstep-dm860-user-s-manual

                I suggest trying the following timing:

                M569 P7 S0 R1 T3:3:6:6                         ; E4 X physical drive 7 goes forwards
                M569 P8 S1 R1 T3:3:6:6                         ; E5 Y physical drive 8 goes forwards
                

                Stated timing is minimum length. Timings can be longer than stated in documentation, but not shorter. This will not affect the speed you can achieve with the axis.

                But note that even the pdf you linked says that signal level must be >3.5V.

                Ian

                Ok so I apply this configuration and do a test test without instructions

                paolozampini1973undefined 1 Reply Last reply Reply Quote 0
                • paolozampini1973undefined
                  paolozampini1973 @paolozampini1973
                  last edited by

                  @paolozampini1973 said in DUEX 5 V0.8 TO DUEX 5 V0.11:

                  3:3:6:6

                  EN+ EN- they are not connected because if I reconnect the motors remain disabled In fact I tried to see if the voltage changes but there is no change in voltage when it prints and when it stops

                  paolozampini1973undefined 1 Reply Last reply Reply Quote 0
                  • paolozampini1973undefined
                    paolozampini1973 @paolozampini1973
                    last edited by

                    @droftarts
                    M566 X1000.00 Y1000.00
                    M201 X2000.00 Y2000.00
                    Listen I don't know how the accelerations are calculated because with this configuration indicated above I have no problem printing at 100 mm

                    paolozampini1973undefined 1 Reply Last reply Reply Quote 0
                    • paolozampini1973undefined
                      paolozampini1973 @paolozampini1973
                      last edited by paolozampini1973

                      @droftarts test without extrusion is 100mm print and 130mm shift

                      M569 P7 S0 R1 T3:3:6:6
                      M569 P8 S1 R1 T3:3:6:6
                      M566 X1000.00 Y1000.00 No loss of pace
                      M201 X2000.00 Y2000.00 No loss of pace

                      M569 P7 S0 R1 T3:3:6:6
                      M569 P8 S1 R1 T3:3:6:6
                      M566 X1200.00 Y1200.00 No loss of pace
                      M201 X2000.00 Y2000.00 No loss of pace

                      M569 P7 S0 R1 T3:3:6:6
                      M569 P8 S1 R1 T3:3:6:6
                      M566 X1500.00 Y1500.00 so i have step loss
                      M201 X2000.00 Y2000.00 so i have step loss
                      What do you advise me to do?

                      droftartsundefined 1 Reply Last reply Reply Quote 0
                      • droftartsundefined
                        droftarts administrators @paolozampini1973
                        last edited by

                        @paolozampini1973

                        M566 is 'instantaneous speed change'. See gcode dictionary M566. If the axis is not moving, then you command movement, it will try to start moving at this speed. All machines will skip steps if you set this too high. Because you try to move the axis at high speed immediately. Usual setting for M566 is between 300 and 900. if you set it too high, it can limit acceleration, and will cause a lot of shake in your machine from violent starts. If your axis is heavy, it will have to be lower. Generally, it is better to set M566 low (eg 300) and set acceleration (M201) higher. This should reduce violent movement of the machine, but still give good speed.

                        M201 is acceleration. See gcode dictionary M201. Increase this for the axis to achieve high speed quicker. 2000 is quite low. Some machines can reach 20000.

                        M203 is maximum speed. See gcode dictionary M203. Even if you send a GCode command with a feed rate faster than this, the firmware will limit the speed to this setting.

                        For these three, it is dependent on the machine what can be set, and you will need to experiment to find the best values, for each axis (X, Y and Z). The usual procedure to tune these settings is to:

                        1. Find a value for each that works, eg M566 X300, M201 X2000, M203 X5000
                        2. Change one value, find where there is step loss, eg M201 X10000
                        3. Halve the difference between the values, eg M201 X6000, then test
                        • If it works, halve the difference with the higher number, and test again, eg M201 X8000
                        • If it doesn't work, halve the difference with the lower number and test, eg M201 X4000
                        1. Repeat using the highest value that works, and lowest value that does not work.
                        2. When you find the highest value that works, eg M201 X5000, set to 80% of this value, eg M201 X4000. This gives you some flexibility.

                        This technique is called a 'binary search'. You can use it to tune all the settings, for each axis.

                        Ian

                        TronXY X5S with Duet 3 MB6HC and Roto toolboard : Cartesian bed-slinger with Duet 3 Mini 5+ WiFi and 1LC : RRP Fisher Delta v1 with Duet 2 Maestro : Polargraph with Duet 2 WiFi

                        paolozampini1973undefined 1 Reply Last reply Reply Quote 1
                        • paolozampini1973undefined
                          paolozampini1973 @droftarts
                          last edited by

                          @droftarts Ok thanks I will do these tests one thing but the dwelling is disabling that is EN how important is it for step loss why i disconnected it because it doesn't work ?

                          1 Reply Last reply Reply Quote 0
                          • droftartsundefined
                            droftarts administrators
                            last edited by

                            @paolozampini1973 Do you mean that the external driver is turning off the power to the motor when it is stationary, even during printing?

                            In the pdf you linked, it says:

                            T1: ENA (enable signal) should be determined to be high by a DIR of at least 5μs.
                            In general, it is recommended that ENA+ and ENA- be left floating.

                            ie they recommend leaving ENA+ and ENA- unconnected. But if the driver is switching off power during printing, you need to connect them. Usually ENA+ to 5V, ENA- to ground. This will cause the motor to be powered all the time the Duet is on, though.

                            But... are these the motors you are using on X and Y??? 17HS19-2004S1.pdf
                            Because according to that pdf, they are 2.0A motors. The Duet 2 or DueX can control these directly! Why use the external drivers? Or are you going to fit bigger motors in the future?

                            Ian

                            TronXY X5S with Duet 3 MB6HC and Roto toolboard : Cartesian bed-slinger with Duet 3 Mini 5+ WiFi and 1LC : RRP Fisher Delta v1 with Duet 2 Maestro : Polargraph with Duet 2 WiFi

                            paolozampini1973undefined 2 Replies Last reply Reply Quote 0
                            • paolozampini1973undefined
                              paolozampini1973 @droftarts
                              last edited by

                              @droftarts said in DUEX 5 V0.8 TO DUEX 5 V0.11:

                              @paolozampini1973 Do you mean that the external driver is turning off the power to the motor when it is stationary, even during printing?

                              In the pdf you linked, it says:

                              T1: ENA (enable signal) should be determined to be high by a DIR of at least 5μs.
                              In general, it is recommended that ENA+ and ENA- be left floating.

                              ie they recommend leaving ENA+ and ENA- unconnected. But if the driver is switching off power during printing, you need to connect them. Usually ENA+ to 5V, ENA- to ground. This will cause the motor to be powered all the time the Duet is on, though.

                              But... are these the motors you are using on X and Y??? 17HS19-2004S1.pdf
                              Because according to that pdf, they are 2.0A motors. The Duet 2 or DueX can control these directly! Why use the external drivers? Or are you going to fit bigger motors in the future?

                              Ian

                              Yes maybe one day you will intend to get bigger maybe but the problem is that colleague you direct I remember that the speed was very lowHowever at the moment I am doing some tests from what I understood in the explanation above M 201 the higher the better the lm566 I leave it at 1000 I have 900 which I think I understand that it is more than enough

                              1 Reply Last reply Reply Quote 0
                              • paolozampini1973undefined
                                paolozampini1973 @droftarts
                                last edited by

                                @droftarts however from the photos The structure is very rigid and also very heavy. I do not know if you have observed it carefully what idea did you get?

                                droftartsundefined 1 Reply Last reply Reply Quote 0
                                • droftartsundefined
                                  droftarts administrators @paolozampini1973
                                  last edited by

                                  @paolozampini1973 said in DUEX 5 V0.8 TO DUEX 5 V0.11:

                                  I do not know if you have observed it carefully what idea did you get?

                                  Yes, I had a look. A rigid and heavy frame is good, but in other areas I think you are going to have difficulties.

                                  Four nozzles on one carriage:

                                  • unless there is some lifting device for the nozzles not in use, you have 4x the opportunity for a nozzle to hit the print. A tool changing system doesn't have this issue.
                                  • controlling oozing from four nozzles is, likewise, difficult. Better to park the unused nozzles, eg like a tool changer.
                                  • The carriage is heavy. Jerk and acceleration will be limited.

                                  Ballscrews (I think?) for linear motion:

                                  • These are going to limit your top speed. At some point, the long unsupported span means that the ballscrew will wobble.
                                  • The other limit is how fast the stepper motor can turn, ie number of steps per mm. You have them set to 200 steps per mm, which actually isn't too bad compared to belt systems.

                                  Moving bed (Y axis)

                                  • For large machines, it's a large bed. That's a lot of mass to move around. The weight will limit jerk and acceleration.
                                  • With a moving bed, you move the print around a lot too. If you print large objects, this adds even more weight to the bed.
                                  • I always worry when mains electricity wires are connected to an axis the moves a lot. Please be careful!

                                  I think your machine will be slow (because of the weight of each axis), but accurate. If you can overcome the problems of the nozzles hitting the print, and oozing, and if it works for you, then great!

                                  There is a reason large machines with multiple extruders are built as CoreXY (or Cartesian XY gantry) and bed that moves in Z, or doesn't move at all. Machines like Voron, RatRig, SecKit, E3D toolchanger, Jubilee and others (sorry to all those I forgot). It keeps the working axis light, for speed, and unused tools out of the way.

                                  Ian

                                  TronXY X5S with Duet 3 MB6HC and Roto toolboard : Cartesian bed-slinger with Duet 3 Mini 5+ WiFi and 1LC : RRP Fisher Delta v1 with Duet 2 Maestro : Polargraph with Duet 2 WiFi

                                  paolozampini1973undefined 1 Reply Last reply Reply Quote 0
                                  • paolozampini1973undefined
                                    paolozampini1973 @droftarts
                                    last edited by paolozampini1973

                                    @droftarts However, the singer I must tell you that she is very precise Consider that I printed a 30 mm circle and an error of about 1 or 2 cents Measured by a micrometer clearly and repetitive I seem to have solved the bulk of course there is to be optimized but with all the cables in that state it is unthinkable that then we can make perfect calibrations In fact I will still have to fix the cables and in any case I will have to put a shielded cable for signals to the external drivers even the vertical line is almost imperceptible However, then I will keep you updated And another thing the top is perfectly flat which is not an easy thing I'll give you an example a print of 35 cm I repeat 30 cm there is a difference in height from 0.02 to 0.05 Maximumconfig (24).g
                                    25706940-b6ee-428f-9029-c7f64f380632-image.png

                                    paolozampini1973undefined 1 Reply Last reply Reply Quote 0
                                    • paolozampini1973undefined
                                      paolozampini1973 @paolozampini1973
                                      last edited by

                                      @droftarts A TIP I WANT TO CHANGE NEMA 17 17HS19-2004S1 TO NEMA 23 23HS22-2804S BECAUSE WITH THE WEIGHT TO MOVE, HAVING DOUBLE TORQUE, I COULD INCREASE PERFORMANCE

                                      17HS19-2004S1.pdf
                                      23HS22-2804S.pdf

                                      paolozampini1973undefined 1 Reply Last reply Reply Quote 0
                                      • paolozampini1973undefined
                                        paolozampini1973 @paolozampini1973
                                        last edited by paolozampini1973

                                        @droftarts
                                        I have a problem with the Z axis manual override works fine driver 0 direction + and - driver 2 direction + and -
                                        but when I give the command home all or home z it works only driver 0 direction + driver 2 direction + and - and drive 0 not returning in direction z- that towards z- there are the two switches of driver 0 and driver 2 which are used for self-leveling problem I don't understand that it has always worked until yesterday and today it doesn't work. I have not made any changesconfig (26).g homez.g homeall.g

                                        I forgot to say that if I follow the command return home X the Z axis moves direction + driver 0 and driver 2 waits for x to return home and then moves driver 0 and driver 2 - and normal operation occurs the same way too y regularly performs the same function

                                        paolozampini1973undefined 1 Reply Last reply Reply Quote 0
                                        • paolozampini1973undefined
                                          paolozampini1973 @paolozampini1973
                                          last edited by

                                          @droftarts Hello I haven't been able to do the print tests yet because I have the problem with Z
                                          please can you help me i can't understand the problem i have Z It's since yesterday i can't find the problem

                                          droftartsundefined 1 Reply Last reply Reply Quote 0
                                          • droftartsundefined
                                            droftarts administrators @paolozampini1973
                                            last edited by

                                            @paolozampini1973 I have been testing this, and I think one of your endstops is not working. Either broken wiring, connected in the wrong place, or incorrect configuration.

                                            When you send M119 with no endstop triggered, it should report "Z: not stopped". When you press either, or both, of the endstops, it should report "Z: at min stop". If one of the endstops does not report a change, check the wiring.

                                            I have also tested endstop inputs on a DueX5 v0.11 in DueX2 mode, and all endstop inputs on the DueX worked correctly.

                                            This is your current configuration:

                                            ; Endstops
                                            M574 X0 S1 P"!xstop"                                ; configure active-high endstop for low end on X via pin xstop
                                            M574 Y1 S1 P"!ystop"                                ; configure active-high endstop for low end on Y via pin ystop
                                            M574 Z2 S1 P"!zstop+!E1stop"
                                            

                                            'X0' means 'no endstop'. If it is at the low end (ie when triggered, X is at 0), change to X1.
                                            'Z2' means 'at the high end', ie when Z is at 320. But I think your machine homes Z when the nozzle is close to the bed, which is the 'low end'. Change to Z1.
                                            See https://docs.duet3d.com/User_manual/Reference/Gcodes/M574

                                            Ian

                                            TronXY X5S with Duet 3 MB6HC and Roto toolboard : Cartesian bed-slinger with Duet 3 Mini 5+ WiFi and 1LC : RRP Fisher Delta v1 with Duet 2 Maestro : Polargraph with Duet 2 WiFi

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