I tried to manage IP-addresses through codesys/Control SL but that was not successful. What works though is manually editing the network-interfaces config file. /etc/network/interfaces.
Is there a way to set this up so that IP-addresses can be managed from within codesys instead?
Thanks! / Per
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi pernockham, I think you should ask your device vendor.
For some time I used one from an Italian company where they had made a library where you can manage the ip with a function (something like SetIPAddr...), it was based on connmann on linux.
From my little experience is better to use the "default" way, so for me is to manage the config file on interfaces or use the ip addr utility
Last edit: simone 4 days ago
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have a debian linux host running Control SL.
I tried to manage IP-addresses through codesys/Control SL but that was not successful. What works though is manually editing the network-interfaces config file. /etc/network/interfaces.
Is there a way to set this up so that IP-addresses can be managed from within codesys instead?
Thanks! / Per
Hi pernockham, I think you should ask your device vendor.
For some time I used one from an Italian company where they had made a library where you can manage the ip with a function (something like SetIPAddr...), it was based on connmann on linux.
From my little experience is better to use the "default" way, so for me is to manage the config file on interfaces or use the ip addr utility
Last edit: simone 4 days ago
Maybe this helps:
https://forge.codesys.com/forge/talk/Runtime/thread/fa012acc3e/#9506