1

I have OPC server on CodeSys. I am trying to read variables using LabView.

I have tried two options:

  • using DataBinding to OPC Variables in controls
  • using DataSocket Open, Read, Write, Close VI

LabView returns no error. When I use data binding control it is green and the message is "Active: Connected to OPC server".

enter image description here

Unfortunately when I force variables in CodeSys i see no changes in LabView.

krzych
  • 2,126
  • 7
  • 31
  • 50

1 Answers1

0

The problem is solved. Poor diagnostics of LabView Data Socket mechanism was really confusing in this case. The icon shown that variable is "Active: Connected to OPC Server" while it was not.

I have used Server Explorer from http://www.opcconnect.com/freecli.php and then reconfigured everything in CodeSys OPC Server configuration and firewall.

krzych
  • 2,126
  • 7
  • 31
  • 50