1HCL: steppers not moving
-
@JoergS5 Thank you. The documentation says:
Tn Encoder type: 0=none (default), 1=linear quadrature encoder plus Duet3D magnetic shaft encoder (RRF 3.5 only), 2=quadrature motor shaft encoder, 3=Duet3D magnetic motor shaft encoder using AS5047D (RRF 3.5 only)I am only using the Duet magnetic motor shaft encoder. I do not know what the AS5047D means. Should I set this parameter as T3?
-
This post is deleted! -
@dc42 @JoergS5 thank you for your help. For anyone finding this later, the commands to set up a Duet3Mini 5+ with magnetic Duet encoders are:
; Configure EXP1HCL as the X motor and pretend to home the axis
M584 X50.0
M569.1 P50.0 T3 S200 ; configure magnetic encoder (try T1?)
M906 X2500 ; set motor current
M569 P50.0 D2 ; set open loop mode
M17 X
G92 X0 Y0 Z0 ; pretend that all axes have been homed
M203 X10800.00
M201 X3000.00; Switch to closed loop and calibrate
G4 P300
M569 P50.0 D4
G4 P300
M569.6 P50.0 V2; Configure EXP1HCL as the Y motor and pretend to home the axis
M584 Y51.0
M569.1 P51.0 T3 S200 ; configure magnetic encoder (try T1?)
M906 Y2500 ; set motor current
M569 P51.0 D2 ; set open loop mode
M17 Y
G92 X0 Y0 Z0 ; pretend that all axes have been homed
M203 Y10800.00
M201 Y3000.00; Switch to closed loop and calibrate
G4 P300
M569 P51.0 D4
G4 P300
M569.6 P51.0 V2 -
@tylersuard said in 1HCL: steppers not moving:
AS5047D
this is a chip name. Every time you see such a name with some letters and numbers, it's probably a special chip which you can search for, in this example https://ams.com/as5047d . You can check the documentation of your encoder which chip it uses or you look onto the encoder board whether one of the chips has a name. If your encoder is accessible and the board visible, you can also make a snapshot and post it to get help. If there is a version number on the board, this is also valuable information.
This page is probably interesting also: https://github.com/Duet3D/Duet3-Magnetic-Encoder
together with the links mentioned in the starting readme page. -
@tylersuard said in 1HCL: steppers not moving:
I am only using the Duet magnetic motor shaft encoder. I do not know what the AS5047D means. Should I set this parameter as T3?
Yes, T3 is correct for the Duet3D magnetic encoder, unless you also have a linear encoder on the axis.
-
@JoergS5 Thank you, this is very helpful
-
@dc42 Thank you for your help! I could not have done it without you.
-
@tylersuard is it working now?
-
@dc42 Yes, the steppers are working now, much quieter than before too.
-
-
-
@tylersuard thanks, I'll mark this as solved.
I have written a draft closed loop motor tuning guide for RRF 3.5 at https://docs.duet3d.com/User_manual/Tuning/Duet_3_1HCL_tuning#manual-tuning-when-using-reprapfirmware-35x.