PlcDeviceConnectionState Enumeration

Defines the states in which a PlcDeviceConnection can exist.

Namespace: IPS7Lnk.Advanced
Assembly:  IPS7LnkNet.Advanced (in IPS7LnkNet.Advanced.dll) Version: 1.0.0.0 (1.7.2.0)

C#

public enum PlcDeviceConnectionState


—– Member name Value Description
Created 0 Indicates that the connection has been instantiated and is configurable, but not yet open or ready for use.
Opening 1 Indicates that the connection is being transitioned from the Created state to the Opened state. During this state does the connection try to establish a connection to a device.
Opened 2 Indicates that the connection is now open and ready to be used, because of the successfully established connection to a device.
Connecting 3 Indicates that the connection is being transitioned from the Opened state to the Connected state. During this state does the connection try to fully establish a connection to a device.
Connected 4 Indicates that the connection is now fully established to a device.
Disconnected 5 Indicates that a previously fully established connection or an attempt to connect to a device has been broken/failed.
Faulted 6 Indicates that the connection has encountered an error or fault from which it cannot recover and from which it is no longer usable.
Closing 7 Indicates that the connection is transitioning to the Closed state. During this state does the connection try to close an previously opened connection to a device.
Closed 8 Indicates that the connection has been closed to a device.


Reference