Status
Section 5 Alarm and Event
58
3BSE035983-510
Status
The OPC Alarm and Event Server has the following states:
•
OPCAE_STATUS_RUNNING
•
OPCAE_STATUS_FAILED (not used for the moment)
•
OPCAE_STATUS_NOCONFIG
•
OPCAE_STATUS_SUSPENDED
The following applies to OPC Server for AC 800M:
•
When the OPC Server is started, the status is set to
OPCAE_STATUS_NOCONFIG.
•
When connected
to at least one controller, the OPC Server status is always
OPCAE_STATUS_RUNNING.
•
If all controllers are removed from the panel, the OPC
Server status returns to
OPCAE_STATUS_NOCONFIG.
•
The system variable
SetFailedAtNoConn is used to control the behavior when
all connections to controllers are lost (for information
on how to set this
variable, see
Setting System Variables
on page 61):
–
The default value of
SetFailedAtNoConn is True.
–
With
SetFailedAtNoConn set to True:
If there
are controllers in the panel, but all connections are offline, the
OPC Server status is set to OPCAE_STATUS_SUSPENDED. As soon
one
of the connections is restored, the OPC Server status returns to
OPCAE_STATUS_RUNNING.
–
With
SetFailedAtNoConn set to False:
The OPC Server status is OPCAE_STATUS_RUNNING as long as there
are
controllers in the panel, no matter if they have a working connection or
not.