Synchronous Polling
You can configure synchronous polling in Advance OPC groups and/or individual points. If you intend to use synchronous polling to request data you need to enable and complete the Synchronous Pollingsections on the relevant Advanced OPC configuration Forms.
This section only applies to setups in which the Read Type has been set to Synchronous on the Advanced OPC Servers, (see Configure OPC DA Server Properties).
Synchronous Polling for a group
Use the fields within the Synchronous Polling section of an Advanced OPC Group Form to specify the polling that Geo SCADA Expert is to apply to all active points within that Group.
Synchronous Polling for a Point
Use the fields within the Synchronous Polling section on an Advanced OPC Point Form to specify polling that Geo SCADA Expert is to apply to that particular point. The individual point polling occurs in addition to the group polls.
To configure synchronous polling complete the following fields:
- Enabled—Select the check box to enable synchronous polling, and define the settings in the fields described below.
- Interval—Use to define the synchronous polling frequency. Enter the required interval in the OPC Time Format. You can enter the value directly in the field, or use the Interval window (accessed via the field's browse button) to specify the required value.
If you configure synchronous polling in both a group and some or all of the points within the group, then it is likely that the two polls may be scheduled to occur simultaneously.
Example:
If the synchronous polling interval for a group is set at 5 minutes and the synchronous polling interval for a point within that group is set at 1 minute, then every 5th minute the polls will occur simultaneously.
The configuration of the Source in both polls determines which poll is performed. The source types are ranked as follows:
Cache - lowest
Maximum Age
Device - highestWhen two polls are scheduled at the same time only the 'higher' of the two polls is performed. If both sources are set to Maximum Age the poll will use the shortest age.
If you configure both Synchronous Polling and Confidence Polling (group and/or point) then two (or more) polls may be scheduled simultaneously and similar rules are applied regarding the sources.
- Offset—Use this field to specify the actual time at which polling takes place. Enter the required offset in the OPC Relative Time Format. You can enter the value directly in the field, or use the Offset window (accessed via the field's browse button) to specify the required value.
- Source—Use to select the source of the data, the options are:
- Cache—Use to select the cache as the source of data. Access to the cache data on the OPC DA server is expected to be 'fast' and should contain the latest value of the data (this depends on the polling interval (update rate) and deadband optimizations) as well as the quality and time stamp. The time stamp should indicate the time that the value and quality was obtained by the device (if this is available) or the time that the server updated or validated the value and quality in its cache.
Example:
If a device or server is checking a value every 10 seconds then the time stamp of that value will be updated every 10 seconds (even if the value is not actually changing). The time stamp reflects the time at which the server knows the corresponding value is accurate.
- Device—Use to select the OPC device as the source of data. Accessing data from the device is usually slower than from the cache and is expected to be used primarily for diagnostics or for particularly critical operations.
- Maximum Age—This option is only available with OPC DA 3.0.When you use this option the server makes a determination whether to obtain the data from the cache or the device. If you select this option you need to complete the Maximum Age interval field.
- Cache—Use to select the cache as the source of data. Access to the cache data on the OPC DA server is expected to be 'fast' and should contain the latest value of the data (this depends on the polling interval (update rate) and deadband optimizations) as well as the quality and time stamp. The time stamp should indicate the time that the value and quality was obtained by the device (if this is available) or the time that the server updated or validated the value and quality in its cache.
- Maximum Age—When you select the Maximum Age as the source you need to enter the Maximum Age interval in milliseconds. Enter the required interval in the OPC Time Format. You can enter the value directly in the field, or use the Interval window (accessed via the field's browse button) to specify the required value.
The server checks the time stamp on each item. Where the data for an item has been updated within the Maximum age interval the data is obtained from the cache. If the time stamp is not within the Maximum Age interval the data is obtained from the device.
Further Information