h-opc
h-opc copied to clipboard
Check Plc Connection Status
When I Connect to Opc Server, I get Client.Status is Connected But How I Check connection quality between Opc Server And Lg Plc In C# Code after Connect to Opc Server. I use below sample code:
public static DaClient client = new DaClient(new Uri("opcda://localhost/LGIS.LGEOPC"));
...
client.Connect();
...
if (PLCCommon.client.Status == OpcStatus.Connected)
{
// Connect To Opc Server is Ok.
}
...
if (OpcQualityConnectToPlc==Good)
{
// Connect To Lg PLc is Ok.
}
Do you help me a sent to me file install LGIS OPC [email protected]