Accessing Gateway IP

Hello folks!

I have been trying to create a label inside of a vision window which references a tag storing the Gateway IP. This has given me a lot of trouble, and I can't quite seem to figure out how to approach this problem. Can anyone give me some insight on this?

If you need further clarification, then let me know!

Since gateways can and usually do have multiple IPs, Vision only exposes the host name that it is currently using in the [System] tag provider. If a host name (typical if using SSL), you will need to resolve it yourself.

Have a look at system.util.getGatewayAddress | Ignition User Manual and see if that does what you need.

That is the same value as you get from binding [System]Client/Network/GatewayAddress. No scripting for the tag binding, and you get automatic updates to the label.

1 Like