Hello,
is here any documented way how to change IP settings of eth0 interface from Codesys?
There is a possibility in Ethernet / General (see the screenshot please) but after login/run nothing change and I just got an error message in the device log "eth0 is disabled fro changing communication settings"
Any ideas?
Thanks,
Regards
Jan.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Edwin,
perfect, works fine. Thanks.
By the way - it is very often when somebody ask you about a feature, there is usually a solution via this mysterious file CODESYScontol.cfg.
Is it somewhere documented and possible to read all variables and meanings?
Thanks again,
Kind Regards
Jan.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
We aren't using linux but are having similar issues. Is this similar for Windows10 environment? Not sure where to locate "/etc/" for updating CODESYScontrol.cfg.
Thank you,
Chuck
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
is here any documented way how to change IP settings of eth0 interface from Codesys?
There is a possibility in Ethernet / General (see the screenshot please) but after login/run nothing change and I just got an error message in the device log "eth0 is disabled fro changing communication settings"
Any ideas?
Thanks,
Regards
Jan.
Hi,
you need to add in /etc/CODESYSControl.cfg the following section to enable this:
[SysSocket]
Adapter.0.Name="eth0"
Adapter.0.EnableSetIpAndMask=1
BR
Edwin
Hi Edwin,
perfect, works fine. Thanks.
By the way - it is very often when somebody ask you about a feature, there is usually a solution via this mysterious file CODESYScontol.cfg.
Is it somewhere documented and possible to read all variables and meanings?
Thanks again,
Kind Regards
Jan.
Hi,
We aren't using linux but are having similar issues. Is this similar for Windows10 environment? Not sure where to locate "/etc/" for updating CODESYScontrol.cfg.
Thank you,
Chuck