Switch Line

Associated with: Shared or Switched outstation sets; Shared outstations (other than those for which communications is fixed on one channel)

Security permission required to access this pick action: Switch Line

Some simple driver channels support two lines and therefore also support the Switch Line pick action. Whenever the Switch Line pick action is supported, its functionality is summarized in the relevant driver-specific guide.

Most simple driver channels only support single connections and for such channels, any attempts to trigger the ‘Switch Line’ pick action or method in ClearSCADA will have no effect and will be ignored.

Shared and Switched outstations can communicate with ClearSCADA via either of two direct channels. With outstations on a Switched outstation set, all of the outstations have to use the same channel (see Switched Dual Channel). With outstations on a Shared outstation set, communications can be ‘shared’ between the channels, so that some outstations use one channel, and other outstations use the other channel (see Shared Outstations). The Balance status attribute indicates the percentage of outstations that are communicating via each line on a Shared outstation set.

With either setup, should ClearSCADA detect that communications on one channel (line) has failed, communications will usually switch to the other channel automatically. The exceptions to this are:

If ClearSCADA detects that communications on both lines has failed:

With Shared outstations and both Shared and Switched outstation sets, you can use the Switch Line pick action to force switching to continue, or to force outstation(s) to use a particular line. Use the pick action on a set to force each of the outstations on that set to switch (other than any fixed outstations); use the pick action on a Shared outstation to change communications on that outstation only (or, if the outstation is configured as a Group Master, the communications of both that outstation and its Group Slaves).

Select the Switch Line pick action to display the Switch Line window.

Select the required option from the combo box:

When using this pick action on a Shared Set, be aware that there may be a delay between individual outstations switching channels. Such a delay is specified on the Shared Set Form.

With both Switched and Shared outstations, should ClearSCADA detect that communications has failed on the chosen channel, it will automatically switch communications back to the other channel. With Switched Sets, ClearSCADA might need to detect that a specified number of outstations has failed before communications are switched back—such a requirement is specified on the Switched Set Form. This requirement does not apply should ClearSCADA detect that the channel itself has failed (for example, by detecting a COM port failure). In such circumstances, ClearSCADA will automatically switch communications back to the other channel, regardless of the number of outstations that it has detected as failed. Automatic switching of outstations in Switched Sets will not occur if the other channel was last reported to be in a failed state. With such a situation, use the Switch Line pick action to switch the outstations to the other channel once that channel is known to be healthy. (A channel’s state only updates when an attempt is made to communicate via that channel.) This also applies if ClearSCADA detect that both channels used by a Switched set have failed: once both channels are believed to be healthy, use the Switch Line pick action to switch the outstations to each of those channels. This will update each channel’s State in the database, allowing automatic switching to occur should the channel in use be detected as failed in future. For more information, see Switched Dual Channel.


Disclaimer

ClearSCADA 2017 R2