04-11-2017 11:01 PM
Dear All,
I am using CodeSys OPC server to establish OPC communication with Rexroth PLC.
I can see all the variables from PLC in CodeSys test client and i can see the updated value continuously for a particular BOOL variable all the time.
Now i checked with NI Quick client. Here also data is updating when we perform read.
Now i tried do the same with LabVIEW 2013 with Windows 10.
But what i have observed is when i initialize data socket, OPC server is opened in Tray. and when i tried to read the read the value in a loop, it is reading the value first time, but it is not updating the value though it is changed, which i can see in CodeSys test client.
Then i tried to keep datacocked init, read and close all functions inside loop with 1 sec dealy. N1ow i can see the updated value. but if i make timer less than 1 sec, it is not updating. but i can see always codesys server open and close everytime. So it is not ideal way to do it.
Experts, please suggest the solution. Thanks.
04-12-2017 07:30 AM