How to link the modbus IP address with a data point
I´m working with a GPRS modem with Modbus TCP and dynamic IP. I´d like to know if it´s possible to do this:
- When the GPRS modem starts, it sends the IP address to the HTML receiver (Datapoint "IP Address") WORKING OK
- When the data point "IP Address" changes, it modifies the IP address of the modbus IP datasource and start the conection with de GPRS modem.
Can I link the modbus IP address with a data point? any suggestion?
Thanks in advance!