-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Read XML problem #8
Comments
Hi, your xml is simply malformed, I can't actually try it right now, but I fixed couple of obvious mistakes in your file, try it like that. |
Thanks for the answer! Yes, that's how the variables appeared. I have the list but I don't get a value. This is what I get. I have the ESI file. how can i start root@SoftPLC:/etc/openplc# ethercat states OP -a 0 Thank you very much for your quick reply |
What exactly do commands |
Dear rainer-kordmaa-foxconn! I uploaded the factory ESI file and the ethercat xml files. Thank you very much for your help! |
Dear developer!
Thank you very much for your work!
I encountered this problem, what am I doing wrong?
Thank you for your help!
Bash out:
./ethercat_src_test ./ethercat.cfg
09:48:13 reading file './ethercat.cfg'
09:48:13 xmlfilenameparam: /etc/openplc/ethercat.xml
09:48:13 ethercat_device_indexparam: 0
09:48:13 verboseparam: 0
09:48:13 configonlyparam: 1
09:48:13 ERROR /root/OpenPLC_v3/utils/ethercat_src/src/xml_conf_parser/xml_conf_parser.c:305: Invalid configuration file, expected root name EtherCATInfoList but got EtherCATInfo
09:48:13 ERROR /root/OpenPLC_v3/utils/ethercat_src/src/ethercat_src.c:95: failed to parse configuration file
XML:
ethercat.xml.txt
The text was updated successfully, but these errors were encountered: