You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, i'm new to Opc UA and I need a little help...
I'm testing h-opc libraries for read from a OPC UA server plc....
I'm able to connect to the plc, I can read the tags without problem...
I'm just facing the problem that when I read some tags with Read function, I must set a thread sleep (>100ms) between the reads or the OPC UA server stucks for a while (about 500ms) every program loop :
So for read the tags without stuck the server I must set sleeps between the read functions :
Hi, i'm new to Opc UA and I need a little help...
I'm testing h-opc libraries for read from a OPC UA server plc....
I'm able to connect to the plc, I can read the tags without problem...
I'm just facing the problem that when I read some tags with Read function, I must set a thread sleep (>100ms) between the reads or the OPC UA server stucks for a while (about 500ms) every program loop :
So for read the tags without stuck the server I must set sleeps between the read functions :
`Min_AngleLeft = client.Read(Of Single)("PLC.DataBlocksGlobal.VAngMinAct").Value
Threading.Thread.Sleep(PollWait)
Max_AngleLeft = client.Read(Of Single)("PLC.DataBlocksGlobal.VAngMaxAct").Value
Threading.Thread.Sleep(PollWait)
Min_AngleRight = client.Read(Of Single)("PLC.DataBlocksGlobal.PceLenMax").Value
Threading.Thread.Sleep(PollWait)
Max_AngleRight = client.Read(Of Single)("PLC.DataBlocksGlobal.PceLenMaxp").Value
Threading.Thread.Sleep(PollWait)
`
Is necessary to monitor the tags for avoid this problem ?
Thanks
DagUd
The text was updated successfully, but these errors were encountered: