FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
Dear Community User! We have started the migration process.
This community is now in READ ONLY mode.
Read more: Important
information on the platform change.
05-12-2023 06:13 AM - edited 05-12-2023 06:16 AM
Hello,
I have been working with the core v1.20 apps and I did the assignment in the motion app mapped variables for the AT and MDT, and I was able to jog the Axes through the commissioning page on the Motion app like normal. I have then created a PLC project and I scanned my EtherCat master, then added the slave drives (which includes the assigned AT and MDT parameters, and gets mapped to an address within the PLC by default). After that I could not use the commissioning app to jog the drives anymore, I understand there is a conflict between the two apps to write/read the same cyclic parameters.
My question is, what is the recommended method to use the same parameters (ex: Position commnad/feedback, and Status/Control word) inside the PLC app? To rephrase the question, is there a functionality similar to AxisData in MLC for retrieving common RT/NRT axis data (ex: actual position feedback, Torque, speed, etc.) inside the PLC app?
Thanks
Solved! Go to Solution.
05-12-2023 06:56 AM - edited 05-12-2023 07:13 AM
The conflict mentioned by you is only existing for he RT output data (command word, cyclic set position). Input data (status word, actual position) can always be read without interference. The thing to consider is not to cyclically update the same output data the motion is using.
Currently there is no axisdata structure but there is the CXA_Motioninterface, similar to the known axis/kinematic interface. A template for it can be imported in ctrlX PLC Engineering via right click on your application --> "Insert templates...". But if e.g. actual torque is needed it also has to be added to the cyclic data to be available.