TN - 1224 Increasing Communication Performance With AVEVA Edge And Field Devices
This article from InSource shows a few options for increasing communication performance with an end device and AVEVA Edge.
- Author: Mario Meza
- Published: 03/10/2022
- Applies to: InTouchEdge 8.1+SP2
If you want to increase the performance of your communication with your device and AVEVA Edge you can apply the following options:
1. Enable Simultaneous Requests:
The simultaneous request option is useful when you want to increase the communication performance with your driver. Please note that this option is not available for all drivers. The simultaneous request option can be accessed from the Advanced driver settings. If the driver supports this option you'll see a section called Simultaneous Requests.
By default the product uses a single thread to communicate with field devices, however when a driver is talking with many devices, the recommendation is to increase this setting to create more communication threads with the field devices.
- Maximum: This value is the maximum number of requests that may be sent simultaneously to all connected devices, we recommend changing the value gradually evaluating the performance before setting a greater value. For instance, you can start with 4, the maximum value in this filed is 32.
- Maximum per station: This value is the maximum number of requests that may be sent simultaneously to a single device. This value depends on the device and protocol specifications. Before changing this value, confirm that the field devices support simultaneous connections. We recommend this value be set to 1.
See below image:
2. Create Additional Driver Instances:
Please see the following rapid application note video that explains how to add a new driver instance.
After having the original driver and the new added instance, the number of tags can be split in both instances. The simultaneous request can be applied in each driver instance.
3. Enable the "Preload all tags" Option
In the Communication tab of the Project Settings there is Preload all tags check box. When this checkbox is checked, the Viewer will subscribe to and preload all of the Server tags that are defined for the entire project before displaying the screen. Depending on the number of tags in a project this can provide a performance increases in Viewer.
The Timeout when executing on remote setting specifies the time (in milliseconds) that a Thin Client running on a remote station will wait to load the tags. If the timeout expires before the tags are loaded, the Viewer will display the project screen even though it is not yet synchronized.
The Timeout when executing on local setting specifies the time (in milliseconds) that the Viewer program running on the local station (i.e., on the computer that hosts the project runtime) will wait to load the tags. If the timeout expires before the tags are loaded, the viewer will display the project screen even though it is not yet synchronized.
These timeouts may need to be adjusted to allow for the increased load. Enabling this setting is not recommended for projects with a high number of tags.