I built my HMI for a machine to monitor values etc. , I have several identical machines on the same network , different ip's . The same HMI will be valid for any one of them . I want to easily switch between them.
I tried this ,
a textbox and button to change the IP in the plc driver , it changes the ip i think but does not connect to the new ip
Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
EthernetIPforPLCSLCMicroCom1.CloseConnection()
EthernetIPforPLCSLCMicroCom1.IPAddress = TextBox1.Text
Darrell