06-16-2008 04:36 AM
06-16-2008 10:43 AM
06-17-2008 10:55 AM
Hello Enzo,
Did you try reducing your shared variable number? Did you observe any performance changes? What about the type of your variable you are using? You can try to put these variables into an array and let the application improve its speed access. You also can modify the OPC update time and let the delay changes according to your need.
Finally could you evaluate to adopt DataSocket instead of shared variables? DataSocket connections work quite a bit faster than shared variables, even with read and write on the same machine, and they just seem to be more generally reliable on a congested network.
Let me know about your application
Regards
.
06-17-2008 11:17 AM
06-18-2008
03:01 AM
- last edited on
04-02-2025
04:11 PM
by
Content Cleaner
Hello Enzo,
I noticed that you posted few days ago a similar question on the forum, which received several replies. There's something diffent between the two projects? Anyway i suggest you not to duplicate posts that concerns the same argument and continue on the first one.
Regard using Shared Variable with DataSocket, please refer to this document.
06-18-2008 03:16 AM
Hi Matteo
I learn how read a shared variable with DataSocket, but If I want to open more variable simultaneously, I have just repeat many While loop, or there is a manner to use only one while loop?
Thanks