Here, a short example of the needed parameters to configure, if using static IP adress (PLC doesn’t act as DHCP client) but needing a internet connection with DNS.
This is the network which my notebook is connected to:
So, I have to setup:
- a static IP address out of my network which is not already in use (ETH IF configuration)
- the default gateway of my network, and a DNS server (CPU configuration)
The usage of 192.168.168.1 as DNS server would also work in my example, because my internet router (= the default gateway) also acts as a DNS server for the local network… but of course, this depends on the internet router hardware.