10.20 ConnectionStateEnum

The ConnectionStateEnum provides information about the current state of the Connection, as determined by the ConnectionManager. See 10.19 for a description of the ConnectionState. The ConnectionStateEnum values are formally defined in Table 166.

Table 166 - ConnectionStateEnum items
Name Value Description
ConnectionNotMonitored0ConnectionManager does not monitor the state of the Connection
ConnectionNotEstablished1Connection does not exist
ConnectionInitial2Connection is being established, but the communication model is not linked to the ConnectionEndpoint.
ConnectionReady3Connection is established, but the communication model is disabled
ConnectionPreOperational4Connection is established and enabled, but communication has not started
ConnectionOperational5Connection is established, and communication is flowing
ConnectionError6Connection is established and enabled, but communication is not possible due to an endpoint error.

ConnectionNotEstablished can result from any of the following:

ConnectionManager has not yet established the Connection;

ConnectionManager has successfully removed the Connection;

ConnectionManager detected that one or both ConnectionEndpoints have been removed (e.g., due to ConnectionEndpoint auto-cleanup or AutomationComponent power-cycle).

ConnectionStateEnum combines the Status of all ConnectionEndpoints participating in a Connection (see 10.20).

For Connection types bidirectional, unidirectional and unidirectional with heartbeat, the value is calculated according to Figure 58.

Figure 58 - Non-Unidirectional ConnectionState Mapping

For Connection types autonomous publisher and autonomous subscriber, the value is calculated according to Figure 59.

Figure 59 - Unidirectional ConnectionState mapping

The ConnectionStateEnum representation in the AddressSpace is formally defined in Table 167.

Table 167 - ConnectionStateEnum definition
Attribute Value
BrowseName4:ConnectionStateEnum
IsAbstractFalse
References NodeClass BrowseName DataType TypeDefinition Other
Subtype of the 0:Enumeration defined in OPC 10000-5
0:HasPropertyVariable0:EnumValues0:EnumValueType[]0:PropertyType
ConformanceUnits
UAFX ConnectionManager Diagnostics