Is the event handler for the ModbusTCP_ConnectionEstablished able to be used? I am trying to create an indication that a device is connected using this code but when I use ModRsim, I do not get any response from the BasicIndicator. Does anyone have code to show how to implement this? Thank you
Private Sub ModbusTCPCom1_ConnectionEstablished(sender As Object, e As EventArgs) Handles ModbusTCPCom1.ConnectionEstablished
BasicIndicator1.SelectColor2 = True
End Sub
Private Sub ModbusTCPCom1_ComError(sender As Object, e As Drivers.Common.PlcComEventArgs) Handles ModbusTCPCom1.ComError
'BasicIndicator1.SelectColor3 = True
End Sub