FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
05-02-2024 04:08 PM - edited 05-02-2024 04:39 PM
I have successfully established a connection between a CtrlX core and an IndraDrive (CSH02) via EtherCAT. However, I am encountering an issue where I cannot power up the drive using the Motion App. Furthermore, I am able to power up the drive and execute movements through the PLC by changing bits 14 and 15 of S-0-0134. Powering up the drive through the datalayer (motion/axs/Axis_1/cmd/power) resulting the same error as using the motion app.
Could you provide assistance or troubleshooting steps to resolve this issue? Thank you.
Solved! Go to Solution.
05-03-2024 08:56 AM
Hello,
from your description it seems, that you have configured the drive control word cyclic to the plc. So you can change bits from plc.
But this means that the plc sends cyclic data to this control word and the motion does not have acces anymore.
You can either use the plc to control the drive, but then you have to do everything by your own or you do not configure the control word cyclic in plc and use instead the motion functions for power and movements. (e.g. from CXA_Motion ML_AxisPower or from CXA_PLCOpen MC_Power)
The first option is for example for users that do not want to use the motion app and control the drive fully by plc.
05-24-2024 12:27 PM
Hi, thank you for your reply. May I know how can I stop the plc sending cyclic data to the control word? Thanks
05-24-2024 12:58 PM
Simply do not use the cyclic data via the "Realtime Data Layer" in the PLC. You could still access the data acyclic via the CXA_DataLayer library or drive parameter directly via CXA_EthercatMaster.
05-24-2024 02:26 PM
Despite deleting all instances of the 'Realtime Data Layer' and disabling the corresponding function in the PLC, I continue to encounter the same error. Could there be an aspect I am overlooking?
05-24-2024 02:58 PM
Is there already DC bus power available when you try to enable the drive?
05-24-2024 03:01 PM
Yes, the drive shows ab status.
06-03-2024 11:33 AM
Hi,
I have identified that the problem may lie with the EFC in the EtherCAT chain. I am able to run the IndraDrive with the motion app without the EFC connected. However, once the EFC is connected, the motion app fails to command the IndraDrive. The EFC does not play any role in the system except for its connection in the EtherCAT chain.
Could you please advise if there is a way for the EFC to coexist with the IndraDrive while allowing the motion app to exclusively control the IndraDrive and the PLC to control the EFC?
Thank you.
06-04-2024 09:33 AM
So the question is how did you do your setup? There is no reason why the EFC should prevent commanding the Indradrive by the ctrlX MOTION. What are the changes between your working and not working setup.
It should look like this: