
martinav (Customer) asked a question.
Is there a way to set a switch to determine if the network is connected or not? I want to use this to show a graphic on my c-more panel that will tell the operator the network is not connected, and other things too.
Use the PING instruction. You can ping something local on the network, such as the router, and if it fails, set a coil that the HMI uses to alert the operator. Depending on your application, you could also ping external to your network, such as google's server, for that you would have to use DNSLOOKUP first to determine the IP address to use in your PING instruction.