Error With Dc motor after configuration

Hello community, i m working with BLHM450K - GFs for the first time, i did this configuration below, but when i write , the motor don t run, (he turn little bit when i do the calibration), I was sure about the error when i dont get an input while i check the phases resistance and the phase inductance.
The is a configuration missing in mine or it s an error related on the value that I put it ? Thanks in advance

odrv0.axis0.motor.config.motor_type = 0
odrv0.axis0.motor.config.pole_pairs = 5 
odrv0.axis0.motor.config.resistance_calib_max_voltage = 4
odrv0.axis0.motor.config.current_lim = 20
odrv0.axis0.motor.config.calibration_current =10
odrv0.axis0.motor.config.current_control_bandwidth =100


odrv0.axis0.motor.config.requested_current_range = 25


odrv0.axis0.controller.config.vel_limit =10
odrv0.axis0.motor.config.torque_constant = 1

odrv0.axis0.controller.config.pos_gain = 1
odrv0.axis0.controller.config.vel_gain = 0.02
odrv0.axis0.controller.config.vel_integrator_gain = 0.1
odrv0.axis0.controller.config.vel_limit =12

CONTROL_MODE_VELOCITY_CONTROL = 2

What does

dump_errors(odrv0)

return?

1 Like