Quantcast
Channel: OPC Labs - OPC Labs - Recent Topics - OPC Labs Online Forums
Viewing all articles
Browse latest Browse all 1794

Write is synchronous or asynchronous? - by: I-Tecnology

$
0
0
Hi,
I'm converting my application from DA tecnology to UA tecnology. I have some strange behaviors so I'm using a simple test application to better underestand UA methods.

I make some multiple subscription to 160 bit variables. Here there are some bit that blinks. Only 10 bit are ON every 0,2 seconds (I make a simple register shift on 16 words). I turn on and off 160 labels on the screen. Everything is ok.
If in datachange event I enable a write instruction of a bit (also the same bit, it's just a test), the change color of the label slow enormously. It seems that the write instruction is syncronous, but I can't set it.
When I disable the write option, the labels turn on and off very quickly and after some seconds return to right frequence. it seems that the datachange event were stored and thay run all in a moment.

Here the datachange event:


If you need I can send you my test program.
I'm using:
- last version of EasyOpc 5.53.225.1
- Topserver V.6.3.279
- plc siemens S7-315
- framework 4.5.2
- VS 2013

Thank you

PS I have already tryed to use two different easyUAClient Objects (as you can check) and to set the isolated property to true for the two objects.

Viewing all articles
Browse latest Browse all 1794

Trending Articles