FB_ServiceErrorClass

FB_ServiceErrorClass 1:

The function block FB_ServiceErrorClass implements the I_ServiceErrorClass interface for error query and storage. The methods of the object instances of the TwinCAT IEC 61850 data model and some services for establishing/disconnecting the connection return the interface pointer of type I_ServiceErrorClass in the event of an error. This pointer can be used to perform a more detailed error analysis.

Namespace: Tc3_Collections
Library: Tc3_Collections (Tc3_Collections.compiled-library)

Inheritance hierarchy

FB_ServiceErrorClass

FUNCTION_BLOCK FB_ServiceErrorClass IMPLEMENTS I_ServiceErrorClass

FB_ServiceErrorClass 2: Interfaces

Type

Description

I_ServiceErrorClass

Interface for error query and storage.

FB_ServiceErrorClass 3: Methods

Name

Description

CopyFrom

Copies object data from another object instance.

Dump

Converts own object data to a formatted string (e.g. for log outputs).

Equal

Value comparison of own object data (error information) with external data values.

EqualEx

Value comparison of own object data (error information) with external data values.

EqualTo

Value comparison of own object data (error information) with the data of another object instance.

IsFailed

Checks own object data (error information) for failure.

IsSucceeded

Checks own object data (error information) for success.

SetFailedEx

Stores error information in its own object instance.

SetSucceeded

Stores success information in its own object instance.

FB_ServiceErrorClass 4: Properties

Name

Type

Access

Description

stError

ST_ServiceErrorClass

Get

Object data as a structured type.