Currently, there is a structure where we control the motors with current reference. But this is a very old and complex structure. Therefore, it is very difficult to intervene. I have a sample hardware as below. Do you have a suggestion to control these motors with current reference in a C project?
Hi @omer.alumur,
I think we need some more information about your application.
A real current control (=torque control) would require to switch of position and speed controller of a servo drive. In most cases that is not what you want because there would not be any limitation in speed when load drops.
In most cases you would use something like MC_BR_VelocityControl:
With this, there is no position controller active but still a speed limitation. And with input ‘TorqueMode’ you can decide whether you just limit the torque or you use it to control the axis (within the given speed).
HI,
I agree with Christoph that we need more information about your application requirements.
There are function blocks that activate a torque control and have a speed limitation, see:
MC_TorqueControl
MC_BR_TorqueControl
How often does the current (=torque) value change in your program?