DUEX 5 V0.8 TO DUEX 5 V0.11
-
@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 paceM569 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 paceM569 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? -
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:
- Find a value for each that works, eg M566 X300, M201 X2000, M203 X5000
- Change one value, find where there is step loss, eg M201 X10000
- 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
- Repeat using the highest value that works, and lowest value that does not work.
- 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
-
@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 ?
-
@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
-
@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
-
@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?
-
@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
-
@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
-
@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
-
@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.gI 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
-
@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 -
@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 toZ1
.
See https://docs.duet3d.com/User_manual/Reference/Gcodes/M574Ian
-
@droftarts No I think I have not explained myself iswitch have absolutely nothing to do with it I try to explain myself anyway Thanks thanks you made me feel it is not a hardware problem I will also explain to you why Z moves towards the more regularly when I go home with y and then comes back towards the less than 15 mm and this is regular if I do it with X it goes 15 mm towards the plus and then returns towards the less than 15 mm and this is also regular but if I do it with Z it goes home they rise towards the plus 15 mm and then only one axis returns 15 mm the basket what comes home with everything Iasi but it has absolutely nothing to do switch no Switch it is a configuration problem that I am seeing somewhere it is wrong with this I'm sure to 1000 * 1000 I hope I have been able to explain to me why the switch is not getting there but I have a configuration problem Suicide tested and work well Everyone changes Status no problem with Switches
-
@droftarts I can make a very short video but I don't know if I can publish it here
I have probably changed a parameter that I cannot understand which parameter I have changed the problem I have it only with Z it comes home and with it returns home all the axes coach X returns home I have no problems Z gets up and yes lowers both axes at the same time and is correct with Y the same thing goes up by 15 mm and low series regularly with both axes of Z and works regularly I hope I explained Thanks
-
@paolozampini1973 I would say post a video, sometimes it is an easier way to solve problems
-
@droftarts i reversed the problem before it was configured like this M584 X0 Y1 Z2: 1 E3: 4: 5: 6 Now I configured it this other way M584 X0 Y1 Z1: 2 E3: 4: 5: 6 the result that before I had the problem on the left Now I have what you say on the right now I understand But why why has it always worked like this for months and now I have the problem I do not understand and above all it has also worked so the day before yesterday after we made all the changes
M574 Z1 S1 P"!zstop+e1stop"
please help me because it doesn't make sense. It always worked because now it doesn't work anymore. The thing is too weird -
@paolozampini1973 Did you use two different motors for the z axis ?
M569 P1 S0 R1 ; Y physical drive 1 goes forwards M569 P2 S1 ; Z physical drive 2 goes forwards
If you use the same motors with the same wiring, I would say you need to configure both motors the same way
-
@siam Listen Thanks for the intervention but the machine has been running like this for months
How do I cut a video ? you tell me the size is too big -
@paolozampini1973 The order you define the axes in M584 and endstops in M574, configures the endstop for the axis. We moved them around the other day, so it's possible they got swapped.
With
M584 X0 Y1 Z2:1 E3:4:5:6 M574 Z1 S1 P"!zstop+e1stop"
Z2 uses zstop, Z1 uses e1stop.
The same is true of leadscrew position, M671; the first leadscrew is the first one defined in M584.
Ian
-
@paolozampini1973 said in DUEX 5 V0.8 TO DUEX 5 V0.11:
@siam Listen Thanks for the intervention but the machine has been running like this for months
How do I cut a video ? you tell me the size is too bigUse youtube, post link. Can't upload videos to Duet3D forum.
Ian