Is there a way to be able to set a fixed IP address or change it to acquire it automatically without the need to access the HMI’s internal settings.
The reason is a need a fixed IP to be able to access a web configurator and once the set up is finished to change the IP settings to dynamic or automatic so the HMI can connect to the Internet and be able to access the HMI using easy access and pull data out of it.
Is this something that can be done using a macro ?
You could use system tag LW-10812 to turn on DHCP for LAN1, which will obtain an IP address automatically when a value of “1” is entered, or you could do the same for LAN2 with LW-10813.
This is great ! my last question is when DHCP is disabled is it possible to write a specific static IP ? or for this I do need to access the HMI settings ?
Cody I tried to write some short macros , one to set the fixed IP address and the other one to trigger the DHCP on. But i am unable to make it work , ive put screenshot of both macros.
Also, what is the best way to display and IP i was trying to use a numeric display but was unsuccessful
No wonder it wasn’t working, I fixed my macro for the Fixed IP and it works now !
It set the IP and the subnet and I am able to access the web configurator through the browser, the only issue I am having is the DCHP now I use another macro to set it to dynamic but no response. I am turning 12094( TO REFRESH IP) off after I set the fixed IP and turn it back on after I turn the DHCP on. Do i need to leave this bit on or should i be toggle it like i am doing to be able to change between both.