Can't set it to OP when configPdos is true

More
14 Aug 2024 10:06 - 14 Aug 2024 10:10 #307707 by nmsk
Hello, I've had this issue for a while now and I haven't found a proper solution for it, when my drives boot up first I need to configure the pdo mapping, I've done this first in Twincat 3 and I copied it to my xml file. When configpdos is true I get this error while it's trying to go to OP:
13726.682821] EtherCAT ERROR 0-0: Failed to set SAFEOP state, slave refused state change (PREOP + ERROR).
[13726.684821] EtherCAT ERROR 0-0: AL status message 0x001E: "Invalid input configuration".

I've found a workaround to this by first launching linuxcnc with configpdos as false,i get an error saying that it can't find the pdo then disconnecting the ethernet cable and connecting it again and then launching linuxcnc again, this always works and keeps the mapping I did at the beginning.

Is there a way to do this automatically, or maybe there's an issue I've overlooked.
Last edit: 14 Aug 2024 10:10 by nmsk.

Please Log in or Create an account to join the conversation.

Time to create page: 0.079 seconds
Powered by Kunena Forum