Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched.
Close
Im trying to setup a WeidmΓΌller WL2000 to run with MODBUS, to get some data from a server.
Codesys V3.5 SP20.
The issue is, that whenever i attach an ethernet port and add MODBUS Master und also a Slave, codesys will compile the project, but there always seem to be some remaining errors, which or only visible, when setting the messages window to "Pre-Compiled".
I tried a lot of stuff to get rid of these errors, but cant find to seem the reason.
New installation of codesys, cleaned project, setup completely empty new project, manually adding libs. Nothing helps.
Any help is apreciated. Maybe we are doing something wrong..
Example Project is available, if somebodey wants to take a look.
Most likely related to the Device Diagnostics functionality.
Double click on your device (PLC), go to the tab "PLC settings".
Enable the advanced option "Enable diagnosis for devices".
Build your application again.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
Im trying to setup a WeidmΓΌller WL2000 to run with MODBUS, to get some data from a server.
Codesys V3.5 SP20.
The issue is, that whenever i attach an ethernet port and add MODBUS Master und also a Slave, codesys will compile the project, but there always seem to be some remaining errors, which or only visible, when setting the messages window to "Pre-Compiled".
I tried a lot of stuff to get rid of these errors, but cant find to seem the reason.
New installation of codesys, cleaned project, setup completely empty new project, manually adding libs. Nothing helps.
Any help is apreciated. Maybe we are doing something wrong..
Example Project is available, if somebodey wants to take a look.
Greetings and thanks alot
more posts ...
Most likely related to the Device Diagnostics functionality.
Double click on your device (PLC), go to the tab "PLC settings".
Enable the advanced option "Enable diagnosis for devices".
Build your application again.
Thanks alot for your time and help!
I quickly tested the suggestion, as it makes a lot of sense.
Unfortunately the erros still appear as before.
The settings was already set before, and i tried turning it off.. no effect..
Last edit: mbmik 2024-04-16
I'm having this same issue. I upgraded to 3.5.20.0 from 3.5.19.20. Now I have the precompile errors shown above.
I am also having this same issue after upgrading to 3.5.20.0. Any help Codesys?
known issue hopefully solved to next version
Currently seeing the same issue here, with a project moved from 3.5.19.
Diving into it too to see if i can find the cause
error need to be solved by CODESYS. hopefully next release