Getting Started and nothing happend

Hello dear community,

I have the following system:

  • DUAL SHAFT MOTOR - D6374 150KV
  • ODRIVE V3.6
  • CUI AMT102 capacitive encoder

After I did the “Getting Started” process, nothing happens.

after
In[45] odrv0.axis0.requested_state = AXIS_STATE_FULL_CALIBRATION_SEQUENCE

the motor turn slowly and all is fine but after

IN [46] odrv0.axis0.requested_state = AXIS_STATE_CLOSED_LOOP_CONTROL

In [47] odrv0.axis0.controller.pos_setpoint = 10000

the motor make nothing!

And after
In [52]: odrv0.axis0.current_state
Out[52]: 1
But it must be 8 for closed loop?!

I can not get the mistake, can someone help me?

Thanks
Tim

Check the errors.

dump_errors(odrv0, True)

(this will also clear them so that you don’t have to reboot)

Hello,

I think I solved the problem. I had set this value “.controller.config.vel_limit” too low. I have now increased the value to 50,000

Thanks
Tim

1 Like