-
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
openplc_v3 #3
Comments
open_plc writes install logs, from there find what it sayd about ethercat and paste here if it doesn't say anything about ethercat, did you install with command |
I follow you steps,but it seems something wrong |
Alright, everything seems to install correctly, except of course that it doesn't work. First let me quickly explain the mechanism. Then with that flag defined https://github.com/thiagoralves/OpenPLC_v3/blob/master/webserver/core/main.cpp#L224 will call ethercat configuration and is supposed to log a message to be read on webui. That doesn't happen, so we need to figure out where that chain of evens breaks. Couple of notes. You have UTF shell, my shell certainly can't show Chinese characters. So maybe there is a problem there? I don't think so, but who knows, it's a point to check. _ethercat_src define doesn't seem to reach main.cpp, maybe there is something weird in your build environment, lets check. in
that way, it will definitely log something about ethercat, telling you if problem is in |
Hello engineer, the good news is that I am adding your code in main.cpp. Two errors have been found. Before that, I did the following steps : 1, sudo ethercat xml; 2. Copy the xml content into the master_config.xml; 3. Then run ./build.sh and ./isntall.sh; 4. rerun ./install.sh linux etherCat. In the end, it reported the following error, please tell me what I should do next. XML files can be used on TwinCat3 |
Okey, so it started configuring ethercat, that's good. I think maybe what functionally helped was rebuilding the project, nothing else. But the file is quite obviously broken, it's not valid xml. you forgot to copy also check that the file path is correct |
openplc web ide show nothing
The text was updated successfully, but these errors were encountered: