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?
Hi @omer.alumur, what is the status of your topic? can you provide information colleagues asked you for?
Hello Jaroslav,
We discussed the situation with the B&R service serving in our country, but they said that there is not exactly the structure we want. For this reason, we continued to use the old structure by updating it a little as I mentioned at the beginning of the subject. In the structure proposed to us by B&R support, the controller structure could not be fully created by us, but we only want the driver to send it to the motor with minimal intervention after giving the current reference.