Motion with PLCOpen

Hello,

I am testing the promoter kit version RM20.07.
I want to move the real axis with the PLCOpen FBs.
There is a real axis declared in CtrlX with the name AxisX.

I insert the PLCOpen library and use the MC_Power Fb , but I have compilation errors (see attached).
How do I declare the Axis_Reference?

How to manage an axis created in CtrlX from PLC engineering with PLCOpen?
ย 
Thanks in advance.
Best reply by LiuPengfei

Hello David,

Generally, the compatible version of all plc libraries will be installed during installation of ctrlX works.

In your plc project, PLCopen library is the newest version that we released. But the problem is CXA_Utilites, the version you are using is 0.1.0.0 which is a very old version and CXA_PLCopen is not compatible with it (because CXA_PLCopen will use it internally).

So, I my recommendation is to upgrade the CXA_Utilites to 1.2.1.0. CXA_Utilites 1.2.1.0 has already been installed in you PLC Engineering enviroment if your installation of ctrlX work 1.4.0.0 successfully. Left mouse click on CXA_UTILITIES, then all versions will be listed, select the newest version.

If you can not find CXA_UTILIES 1.2.1.0, repair installation of ctrlX works may work.

View original
1.png
64.97KB
2.png
35.1KB
3.png
39.5KB
7 replies