PlcStatus Class

Namespace: IPS7Lnk.Advanced
Assemblies: IPS7LnkNet.Advanced.dll

Provides all available status metadata provided through the interoperability layer of the software driver.

C#

public class PlcStatus : ISupportInitialize


Inheritance Object › PlcStatus


Implements ISupportInitialize

Name Description
PlcStatus Initializes a new instance of the PlcStatus class.
Name Description
Changed Occurs when the PlcStatus changed.
Name Description
Code Gets the recent code of the status represented.
Exception Gets the PlcException which is thrown in case there the evaluation of the PlcStatus does indicate an exceptional situation.
InnerException Gets the Exception which occured during the most recent operation.
SocketCode Gets the code of the recent socket operation performed its status is represented.
Text Gets the string representation of the Code.
TimeStamp Gets the date and time of the most recent update of the status data provided by this PlcStatus.
Type Gets the PlcType affected by the most recent operation.
Name Description
GetText(PlcStatusCode) Retrieves a meaningful string value which describes the status represented by the code.
GetText(PlcStatusCode, Int32) Retrieves a meaningful string value which describes the status represented by the code and socketCode.
GetText(PlcStatusCode, Int32, PlcType) Retrieves a meaningful string value which describes the status represented by the code, socketCode and type.
OnChanged(EventArgs) Raises the Changed event.
ToString Returns a string that represents the PlcStatus.