FB_iec61850ServerClass

FB_iec61850ServerClass 1:

The function block FB_iec61850ServerClass implements an interface for establishment of communication and data exchange between the TwinCAT Server application and the IEC 61850 Client.

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

Inheritance hierarchy

FB_iec61850ServerClass

FUNCTION_BLOCK FB_iec61850ServerClass IMPLEMENTS I_ScsmServerClass
VAR_INPUT
    settings : FB_ScsmServerSettingsClass;
END_VAR

FB_iec61850ServerClass 2: Interfaces

Type

Description

I_ScsmServerClass

Interfaces for establishment of communication and data exchange.

FB_iec61850ServerClass 3: Inputs

Name

Type

Description

settings

FB_ScsmServerSettingsClass

Protocol settings for the communication layer.

FB_iec61850ServerClass 4: Methods

Name

Description

AddConnection

Adds a connection instance to the Server.

Execute

This method triggers the execution of the communication layer as well as the connection instances.

RemoveConnection

Removes a connection instance from the server.

FB_iec61850ServerClass 5: Properties

Name

Type

Access

Description

eLinkStatus

E_ScsmLinkStatus

Get

Server link status of the network adapter (listener sockets).

ipConnections

I_ScsmConnectionClass

Get

Interface pointer from an object with the implementation of the first connection instance.

ipIED

I_AcsiCommonIntelligentElectronicDeviceClass

Get,Set

Interface pointer of an object with the implementation of the top-level of the IEC 61850 data model.

ipSettings

I_ScsmServerSettingsClass

Get

Protocol settings for the communication layer.

ipSystemClock

I_ScsmSystemClockEventSink

Set

Interface pointer of an object with a user-defined implementation of the event handling routine: OnGetSystemTime.

nItems

UDINT

Get

The number of connection instances.

sDesc

STRING

Get,Set

The description of the server (container).