Scheduled Network Connections for a WITS Outstation
Some WITS Field Devices can be configured to initiate a network connection with ClearSCADA automatically, on a time basis. For example, you could configure a Schneider Electric Talus T4e to initiate a network connection to ClearSCADA every 4 hours.
Scheduled network connections are often used for:
-
Regularly testing that a Field Device can initiate a connection. Any unsuccessful scheduled connection attempt will be detected by ClearSCADA and an appropriate alarm will be raised.
For details on ad-hoc testing, see Callback (Network).
- Setting Field Devices to communicate with ClearSCADA at certain times.
NOTE: When you configure the Scheduled Connection settings, you need to enter time values in the OPC Relative Time Format. For more information on this format, see: OPC Relative Time Format in the ClearSCADA Guide to Core Configuration.
To configure a WITS Field Device to initiate a Scheduled Connection:
- Log on to ViewX via a user account that has the Configure permission, and then display the Form for the Outstation that represents your Field Device (see Display a Form in the ClearSCADA Guide to Core Configuration).
- Select the Network tab.
-
Use the Scheduled Connection settings to define whether scheduled connections are used, and if so, when they will occur:
- Enabled—Select to enable the Scheduled Connection feature or clear to disable the feature.
Offset and Interval—If Scheduled Connection is enabled, use the Offset and Interval to define when, and how often, the scheduled connections occur.
The Device Profile for your Field Device may specify certain limits for the frequency of scheduled connections (see Display a WITS Device Profile).
NOTE: The epoch for the Offset is Thursday, 1-Jan-1970 00:00:00. You will need to account for this when the Interval is greater than one day, as the epoch date is not the beginning of a week.
Examples:
Every fifteen minutes (on the hour, 15 minutes past the hour, thirty minutes past the hour, forty-five minutes past the hour):
Offset: 0; Interval 15M
Every day at 06:00
Offset: 6H; Interval 1D
Every Tuesday at 08:00
Offset: 5D 8H; Interval: 1W.
The Offset is 5 days as the start of the week is calculated from Thursday (as Thursday is the day of the epoch).
-
Use the Connection Window settings to define thresholds for either side of the expected Scheduled Connection time.
The Connection Window is a period of time that is applied around the expected scheduled connection time. A scheduled connection does not occur at exactly the expected time (due to the time taken to establish a connection, and time differences caused by the Field Device's clock drifting). The connection window defines how early or late a scheduled connection is permitted to be.
If a scheduled connection is early or late, but still within the connection window, ClearSCADA regards the connection as successful.
ClearSCADA only raises a Scheduled Connection alarm if:
- A scheduled connection occurs outside the Connection Window.
- A scheduled connection does not occur when expected (within the Connection Window).
To define the Connection Window, use the Lower and Upper fields:
- Lower—Enter the amount of time by which a scheduled connection can be early.
Upper—Enter the amount of time by which a scheduled connection can be late.
- Save the configuration.
- Download the configuration to the Field Device by using the Outstation item's Download Configuration (WITS Outstation) action. If your Field Device does not support configuration download, you will need to configure the network settings using the device's Configuration Application.