DUEX 5 V0.8 TO DUEX 5 V0.11
-
@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
-
M574 Z2 S1 P"!zstop" ?
M574 Z1 S1 P"e1stop" ?but Forgive me Excuse me for what reason it always worked even after when we made the changes I did the print tests it worked after we also made the changes and now it doesn't work anymore it's a very strange thing You can help me understand Thanks
-
@paolozampini1973 said in DUEX 5 V0.8 TO DUEX 5 V0.11:
M574 Z2 S1 P"!zstop" ?
M574 Z1 S1 P"e1stop" ?NO. Z parameter in M574 sets where the endstop is physically, on the axis. High or low. Both endstops are low, and combined together. Listing them separately is incorrect. You also seem to have lost the inversion on the e1stop. It should be:
M574 Z1 S1 P"!zstop+!e1stop"
Ian
-
M574 Z2 S1 P"!zstop"
M574 Z1 S1 P"!e1stop"
So this is how it works that it goes towards the plus and then returns towards the minus but the first switch intervenes you can see both AXES -
@droftarts said in DUEX 5 V0.8 TO DUEX 5 V0.11:
@paolozampini1973 said in DUEX 5 V0.8 TO DUEX 5 V0.11:
M574 Z2 S1 P"!zstop" ?
M574 Z1 S1 P"e1stop" ?NO. Z parameter in M574 sets where the endstop is physically, on the axis. High or low. They both should be Z1. Listing them separately is incorrect, too. You also seem to have lost the inversion on the e1stop. It should be:
M574 Z1 S1 P"!zstop+!e1stop"
so it doesn't do the inversion it goes towards the plus and it doesn't come back towards the minus but the thing I don't understand why it doesn't work anymore has always worked even after we put our hands on it
-
@paolozampini1973 What does M119 report when:
No switch is pressed
Z1 endstop is pressed
Z2 endstop is pressed
Both endstops are pressed
?And post the endstop configuration you are using when testing.
Ian
-
@droftarts So the problem is not the speech of switches that have to close and open because practically when you give it back home it goes up 15 mm and then it has to do the inversion towards minus putting the separated the inversion towards minus does it however I repeat not get to the switches I have now done a try to take it myself manually the switches work both tested they work it is not a problem of the switches it is a problem towards the plus and then return towards the minus towards the Switch clearly if only one axis works only l the axis is rightly placed sideways
-
@paolozampini1973 Please just do the test and report, using
M574 Z1 S1 P"!zstop+!e1stop"
for configuration. It won't work with two separate M574 commands.Ian
-
@droftarts said in DUEX 5 V0.8 TO DUEX 5 V0.11:
@paolozampini1973 Please just do the test and report, using
M574 Z1 S1 P"!zstop+!e1stop"
for configuration. It won't work with two separate M574 commands.Ian
25/3/2022, 17:34:11 M574 Z2 S1 P"!zstop!+!e1stop"
Error: M574: Unknown pin name 'zstop!' -
@paolozampini1973 Also, the last homeall.g does not home z; it just sets Z=0 wherever Z is.
G91 ; relative positioning G1 S2 H2 Z15 F1500 ; lift Z relative to current position G1 S1 H1 X-500 Y-500 F1500 ; move quickly to X and Y axis endstops and stop there (first pass) G1 S2 H2 X5 Y5 F1500 ; go back a few mm G1 S1 H1 X-500 Y-500 F360 ; move slowly to X and Y axis endstops once more (second pass) G1 S1 H1 Z-300 F360 ; move Z down stopping at the endstop G90 ; absolute positioning G92 Z0 ; set Z position to axis minimum (you may want to adjust this)
homez.g does a move towards home, then sets Z=0 when the endstops are triggered.
G91 ; relative positioning G1 H2 Z15 F700 ; lift Z relative to current position G1 H1 Z-300 F700 ; move Z down until the endstop is triggered G92 Z0 ; set Z position to axis minimum (you may want to adjust this)
However, your M208 is
M208 X500 Y500 Z320 S0
, so Z axis is longer than the Z-300 move. In homez.g, changeG1 H1 Z-300 F700
toG1 H1 Z-400 F700
: it must be a bigger move than the axis length. Did you change M208 recently?Ian
-
@paolozampini1973 said in DUEX 5 V0.8 TO DUEX 5 V0.11:
25/3/2022, 17:34:11 M574 Z2 S1 P"!zstop!+!e1stop"
Error: M574: Unknown pin name 'zstop!'You have an extra ! in there.
AND CHANGE Z2 to Z1
Ian
-
@droftarts config (27).g
you correct the files please and I start as you send me