It’s possible to read out PFC-controller’s WAN IP from a function block or antoher method into a variable (ex. STRING?) in CoDeSys?
you can send GET (using WagoAppHttp library) to ifconfig.me/ip or other servers who reply with you WAN IP
except 8217 with modem, its not possible to know you WAN IP without using external DNS, HTTP servers, because the system doesn’t have a built-in mechanism to “know” its public IP.
1 Like