Slave cannot enter OP state

More
01 Nov 2022 03:28 #255633 by yi2580
Hello, everyone. I configured a slave station, which is not a servo, but an EtherCat IO device. After I configured it, it cannot enter the OP state. After starting Linuxcnc, it first enters the SAFEOP state and then reports an error. I tried many methods but failed. I hope someone can help me find out what is wrong. I can read the slave information, but I cannot change the IO status of the slave. Thank you very much for this.The following is the XML file I configured and the XML file of my IO device.   
Attachments:

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

More
01 Nov 2022 07:14 #255638 by db1981
Replied by db1981 on topic Slave cannot enter OP state
please post the output from "ethercat pdos -p3" and "ethercat pdos -p3 -v" ;

set ec debug level to 1 "ethercat debug 1" and post the output from dmesg after starting linuxcnc

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

More
01 Nov 2022 08:16 #255639 by yi2580
Replied by yi2580 on topic Slave cannot enter OP state
Hello, I have kept you waiting for a long time. Here is my output. Please check if there are any errors that need to be corrected
Attachments:

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

More
01 Nov 2022 15:13 #255666 by db1981
Replied by db1981 on topic Slave cannot enter OP state
test this xml.

look at the differences in the edited file and the picture from your last post.
There have been some errors in your pdo config.
Attachments:

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

More
02 Nov 2022 00:36 #255725 by yi2580
Replied by yi2580 on topic Slave cannot enter OP state
I have tried. Your XML file has no problem. You can run my slave and enter OP mode. Thank you very much for answering my question. Thank you again for helping me with my week's work. Another question, do you have a tutorial on the configuration of XML files and hal files? I want to learn something.

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

Time to create page: 0.112 seconds
Powered by Kunena Forum