Duet 3. ? faulty Driver0. Post requested by Duet
-
slightly offtopic: you might want to redact your original post so the phone number isn't shared.
-
@davidsimcock I can't see anything in any of the files that indicates why the X motor would be turned off after homing. With the motor on driver 0 does the axis stall easily during homing?
-
@t3p3tony
No stalling at all. The homing move is completed. Thereafter minus X movements do not happen (the DWC reports that the x position HAS changed according to the request). And the x motor is no longer energised (sorry for repetition).
Changing to Driver5, and everything behaves as would be expected. -
@DavidSimcock I should have been clearer. When the X homing move runs, can you easily stop it with your hand? (Obviously be careful not to put your hand anywhere it could get trapped/pinched) if you can't stop it.
-
@davidsimcock where in those files do you use M906 to set the motor current?
-
@t3p3tony
re stalling...I cannot stop the movement with even strong pressure.
In the process of trying this I have more information though. When the x axis is homed (homex.g) independently of the y axis, the x axis motor holds torque after the homing sequence. When the y axis is subsequently homed (homey.g), holding torque disappears from the x axis motor. I hope I have explained that adequately. -
@dc42 said in Duet 3. ? faulty Driver0. Post requested by Duet:
@davidsimcock where in those files do you use M906 to set the motor current?
M906 is set in the config-axes.g
-
@davidsimcock the G92 commands in your homing files are redundant, although I don't see how they would cause this problem. The M584 P3 command in homey.g also appears to me to be redundant. What happens if you remove all those G92 and M584 commands?
-
@dc42 said in Duet 3. ? faulty Driver0. Post requested by Duet:
@davidsimcock the G92 commands in your homing files are redundant, although I don't see how they would cause this problem. The M584 P3 command in homey.g also appears to me to be redundant. What happens if you remove all those G92 and M584 commands?
Thanks dc42. Suspending those commands, unfortunately, makes no difference.
-
@davidsimcock said in Duet 3. ? faulty Driver0. Post requested by Duet:
@t3p3tony
re stalling...I cannot stop the movement with even strong pressure.
In the process of trying this I have more information though. When the x axis is homed (homex.g) independently of the y axis, the x axis motor holds torque after the homing sequence. When the y axis is subsequently homed (homey.g), holding torque disappears from the x axis motor. I hope I have explained that adequately.Hi David, that's interesting. what happens if you reverse the sequence, from startup, first home Y, then home X I note that Z is home in both those individual files.
-
@t3p3tony said in Duet 3. ? faulty Driver0. Post requested by Duet:
@davidsimcock said in Duet 3. ? faulty Driver0. Post requested by Duet:
@t3p3tony
re stalling...I cannot stop the movement with even strong pressure.
In the process of trying this I have more information though. When the x axis is homed (homex.g) independently of the y axis, the x axis motor holds torque after the homing sequence. When the y axis is subsequently homed (homey.g), holding torque disappears from the x axis motor. I hope I have explained that adequately.Hi David, that's interesting. what happens if you reverse the sequence, from startup, first home Y, then home X I note that Z is home in both those individual files.
In the above case, i.e homey followed by homex, the x axis motor retains it's holding torque.
-
@davidsimcock ok so something is causing the X axis to loose its holding torque as part of the Y homing.
Can you try the following minimalistic homey.g temporarily.
; homey.g
; called to home the Y axisG91 ; relative positioning G1 H1 Y1500 F1500 ; move quickly to Y axis endstops and stop there (first pass) G1 Y-3 F150 ; go back a few mm G1 H1 Y1500 F150 ; move slowly to Y axis endstops once more (second pass) G90 ; absolute positioning
Caution this file no longer homes homes Z as part of the Y move so please ensure the Z axis is in a safe position before running it.
The idea is to see if the X axis is still disabled if X is homes first, then Y homed. both as individual moves. (so homeall.g is not modified yet.)
-
@t3p3tony said in Duet 3. ? faulty Driver0. Post requested by Duet:
@davidsimcock ok so something is causing the X axis to loose its holding torque as part of the Y homing.
Can you try the following minimalistic homey.g temporarily.
; homey.g
; called to home the Y axisG91 ; relative positioning G1 H1 Y1500 F1500 ; move quickly to Y axis endstops and stop there (first pass) G1 Y-3 F150 ; go back a few mm G1 H1 Y1500 F150 ; move slowly to Y axis endstops once more (second pass) G90 ; absolute positioning
Caution this file no longer homes homes Z as part of the Y move so please ensure the Z axis is in a safe position before running it.
The idea is to see if the X axis is still disabled if X is homes first, then Y homed. both as individual moves. (so homeall.g is not modified yet.)
Just to check Tony...are you suggesting I suspend all the commands in my homey.g and paste your commands beneath? Followed by sending homex.g and following this with sending homey.g ?
-
@davidsimcock I would rename the current homey.g to homey.g.backup then make a new homey.g with the contents above. then yes G28 X, then G28 Y
-
@t3p3tony said in Duet 3. ? faulty Driver0. Post requested by Duet:
@davidsimcock I would rename the current homey.g to homey.g.backup then make a new homey.g with the contents above. then yes G28 X, then G28 Y
OK...I've done that. The result is that the x axis motor is de-energised at the end of the process.
-
After homing is complete can you send M906 and M913 by itself and report back what it says?
Another thing to try is to completely backup your current config, remove it all, and start with a fresh basic config from the online tool.
-
@phaedrux said in Duet 3. ? faulty Driver0. Post requested by Duet:
After homing is complete can you send M906 and M913 by itself and report back what it says?
Another thing to try is to completely backup your current config, remove it all, and start with a fresh basic config from the online tool.
Thanks. Here are the M906 and M913
-
@davidsimcock from your config-axes.g file:
; Axes configuration executed by config.g
M584 X0.0 Y0.1:0.3 Z0.2:0.4
...
M669 K0 X1:0:0:0 Y0:1:0:1 Z0:0:1:0You are defining 3 physical axes but your M669 command assumes 4. Try changing the M669 command to this:
M669 K0 X1:0:0 Y0:1:0 Z0:0:1
-
@dc42 said in Duet 3. ? faulty Driver0. Post requested by Duet:
@davidsimcock from your config-axes.g file:
; Axes configuration executed by config.g
M584 X0.0 Y0.1:0.3 Z0.2:0.4
...
M669 K0 X1:0:0:0 Y0:1:0:1 Z0:0:1:0You are defining 3 physical axes but your M669 command assumes 4. Try changing the M669 command to this:
M669 K0 X1:0:0 Y0:1:0 Z0:0:1
Right...I've revised the M669 as suggested. Homing now functions as it should, with the x axis motor holding torque. Thanks for the suggestion!
-
@davidsimcock The issue does seem to be resolved with changing the kinematics M669 command.
A BIG THANKS to all who have made suggestions to resolve the issue. It is much appreciated. -
-