Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check Plc Connection Status #72

Open
trycatchjs opened this issue Feb 5, 2018 · 1 comment
Open

Check Plc Connection Status #72

trycatchjs opened this issue Feb 5, 2018 · 1 comment

Comments

@trycatchjs
Copy link

trycatchjs commented Feb 5, 2018

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.
 }
@Hoan96
Copy link

Hoan96 commented May 11, 2022

Do you help me a sent to me file install LGIS OPC SERVER?khaihoanhaui@gmail.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants