Unable to tune motor in closed loop mode
-
Duet 3 MB6XD in SBC mode
Duet3 EXP1HCL
RRF 3.6.0-beta.2
Nema 23 1,2Nm, 4.0A, 1000PPRHi, im struggling to enable closed loop mode on my setup. I get warning "Driver 30.0 warning: tuning/calibration failed" followed by error "M569.6: Driver 30.0 basic tuning failed, the measured motion was inconsistent". I increased motor current to 5A as suggested in other thread. I also disconnected motor from gantry, so it can move freely. I can see motor rotating and returning to position during calibration, but it always fails. This is my configuration:
M569.1 P30.0 T2 C1000
M569 P30.0 S0 D4
M569.6 P30.0 V1Thank you for your help.
-
@ketirange does the motor have a brake solenoid, if so are you disengaging it?
Are you enabling the driver with M17 or alternatively moving it in open loop mode before the calibration move?
Check the connections between the encoder and the 1HCL.
-
@dc42 Motor does not have brake, and is doing 10mm move before switching to closed loop. Im checking wiring now, but cl worked for me on RRF 3.4.6
-
@ketirange does it work for you in RRF 3.5.4 ? Note, the M569.1 parameters changed between 3.4.x and 3.5.x.
-
@dc42 Yes, i was able to calibrate drives on 3.5.4 too. I will try tuning on my Y axis. If the same problem occurs, i will get back to you.
-
@ketirange So im able to succesfully execute closed loop tunning move on both Y axis motors. X axis motor still gives same error while executing M569.6. Is there some debug mode for closed loop i can use to check what is going on? I already checked wiring and it looks the same as Y. I also checked continuity from encoder to 1HCL and measure voltage on B and A pins and it looks ok.
-
@ketirange Turns out a motor connector and cable was faulty, and after replacing it im able to perform a calibration move.
-
-