I'm working on a project where I need to run a motor with a constant speed. I know that in IndraWorks there was a mode called velocity mode that could do this. I don't know if I'm missing something but I can't find this mode in the CtrlX libraries. Is it possible that this feature will be added later or is this feature removed? Thanks in advance.
Solved! Go to Solution.
You may use CXA_PLCOPEN.MC_MoveVelocity to drive a constant velocity movement.
Before this, you have to:
1. In IO Engineering, config velocity command S-0-0036 in to MDT, config velocity feedback S-0-0040 in to AT;
2. In drive Engineering, set velocity control in secondary mode. S-0-0034.
3. In axisprofile config page of WebUI, link velocity command and feedback in to axisprofile.
4. Use MC_MoveVelocity to move velocity, motion will switch the axis to velocity mode internally, and switch back to position mode when you using MC_MovAbs/Rel and so on.
Thank you for your answer. I'm currently using a virtual core because the hardware hasn't arrived yet. Is it still possible to apply these changes even if I don't have the hardware yet?
Secondly, Previously it was possible to use velocity mode with only the axis interface. Why is it now only possible to use move velocity with the plcopen library? our previous experience with plcopen wasn't that great and that's why we used the axis interface up until this point.
I think I see where the problem is. When i add the library with the add library button the version I have is 22.214.171.124. In the picture you send, I see that there the version is 126.96.36.199. But how can I cet a newer version for this library because the add library will only install the 188.8.131.52 version. Can I update the library manager to fix this?
After I checked, ctrlX 1.12.x dose not support velocity mode yet.
The velocity mode support start from
However, 1.16 has not relase yet, the version will come very soon. So you can't use AxisInterface yet.
But firmware inferface is avialiable, that is CXA_Motion, you can take this way:
Example code like this:
please contact your Rexroth sales contact person, in order to get ctrlX MOTION V1.14. This version is actual under test and only available for registered customers for pre-series products. After you was released the software can be downloaded here in folder V1.14.
If you still have problems give me privat message. Then we will make a teams session.