LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI OPC Server Response Delay

Hello,

 

I need some help with a long delay of the NI OPC server.I have configured an NI OPC server and paired it with a Siemens S7-300 PLC.

I have to wait for a Boolean with the adress DBX0.0 in the PLC to change to True,after that I save all the data in the PLC's memory in an SQL Database and I send an answer to the PLC if the data is within parameters with a Boolean with the adress DBX0.1.

 

My problem with this is that sometimes I get the answer from the PLC and it either takes too long for DBX0.1 to change to true or sometimes I don't send an answer at all,and sometimes it works perfectly.I tried messing with the timings,it kinda helped as well but it still has some problems.

Other times the value for DBX0.0 doesn't change at all ,or doesn't change fast enough and my VI still waits for the vatiable to change it's state.

And I have to do this for 3 testing stations which are all hooked up to the same Siemens PLC.

0 Kudos
Message 1 of 1
(1,803 Views)