FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
Dear Community User! We are updating our platform to a new
system.
Read more: Important
information on the platform change.
07-11-2022 04:24 PM
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.
07-12-2022 09:09 AM
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.
07-12-2022 10:11 AM
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.
07-12-2022 10:51 AM - edited 07-12-2022 11:05 AM
For virtual axis, no configuration is required. Just use the function block.
Axis inteface also suppot velocity mode in ctrlX.
07-12-2022 11:29 AM
I think I see where the problem is. When i add the library with the add library button the version I have is 1.12.2.1. In the picture you send, I see that there the version is 1.15.0.3. But how can I cet a newer version for this library because the add library will only install the 1.12.2.1 version. Can I update the library manager to fix this?
07-13-2022 03:31 AM - edited 07-13-2022 03:32 AM
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:
07-13-2022 09:21 AM
Hello,
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.
Best regards,
Michael
08-09-2022 11:51 AM
08-10-2022 08:43 PM - last edited on 08-31-2022 08:05 AM by CodeShepherd
Hello MAE
If you still have problems give me privat message. Then we will make a teams session.
Regards
Jochen
08-19-2022 09:56 AM - edited 08-19-2022 10:01 AM
Hello Jochen_Mueller,
I use ctrlX PLC 1.12.3 and I add the PLCOpen libary.
But the libary is 1.8.0.4 and there is no MC_MoveVelocity
Is there a possibility to update?
Is this the same reason why there is no status of actual velocity?
When using AxisInterface:
arAxisStatug_gb[1].Data.ActualVelocity => no data! Value remains "0"
Thanks
08-31-2022 08:10 AM - edited 05-08-2023 07:55 AM
As you can see in the picture above the version number is "1.16.x.x", it is part of the similar labled pre-release version of ctrlX PLC Engineering coming as part of ctrlX WORKS. Please see the FAQ for ctrlX WORKS how to get it.
Actual velocity can only be shown if it is known in the PLC via adding it to the cyclic data channel. See also this topic.