FB_iec61850ConnectionClass

The function block FB_iec61850ConnectionClass implements interfaces for establishing communication and exchanging data between the TwinCAT PLC server application and the IEC 61850 client. A function block instance implements a server session (a server connection with a remote client).
Namespace: Tc3_iec61850
Library: Tc3_iec61850 (Tc3_iec61850.compiled-library)
Inheritance hierarchy
FB_iec61850ConnectionClass
FUNCTION_BLOCK FB_iec61850ConnectionClass IMPLEMENTS
I_ScsmConnectionClass,
I_ScsmAbortIndEventSink,
I_ScsmAssociateIndEventSink,
I_ScsmReleaseCnfEventSink,
I_ScsmReleaseIndEventSink
VAR_INPUT
settings : FB_ScsmConnectionSettingsClass;
END_VAR
Interfaces
Type | Description |
---|---|
Interfaces for establishment of communication and data exchange. | |
Interface of the Abort service event handling routine. | |
Interface of the Associate service event handling routine. | |
Interface of the Release service event handling routine. | |
Interface of the Release service event handling routine. |
Inputs
Name | Type | Description |
---|---|---|
settings | Protocol settings for the communication layer. |
Methods
Name | Description |
---|---|
Execute | This method triggers the execution of the communication layer. |
Responds to the service: Associate. | |
Enables the service: Release. | |
Responds to the service: Release. | |
Enables the service: Abort. |
Methods of event handling (callback methods)
Name | Description |
---|---|
User-defined Associate service event handling routine. | |
User-defined release service event handling routine. | |
User-defined release service event handling routine. | |
User-defined abort service event handling routine. |
Properties
Name | Type | Access | Description |
---|---|---|---|
eLinkStatus | Get | Server Link status. Link status of the network adapter (accepted sockets). | |
eState | Get | Environmental state of the communication connection. | |
ipSettings | Get | Protocol settings for the communication layer. | |
ipServer | Get,Set | Interface pointer of an object that implements the server (container). | |
ipAssociateInd | Set | Interface pointer of an object with a user-defined implementation of the event handling routine: OnAssociateInd. | |
ipReleaseCnf | Set | Interface pointer of an object with a user-defined implementation of the event handling routine: OnReleaseCnf. | |
ipReleaseInd | Set | Interface pointer of an object with a user-defined implementation of the event handling routine: OnReleaseInd. | |
ipAbortInd | Set | Interface pointer of an object with a user-defined implementation of the event handling routine: OnAbortInd. | |
ipAssociation | Get | Interface pointer of an object that identifies the server connection (session). | |
sDesc | STRING | Get,Set | The description of the server connection (session). |