FB_iec61850ClientClass

The function block FB_iec61850CommonClass implements interfaces for communication and data exchange between the TwinCAT PLC client application and the IEC 61850 server.
Namespace: Tc3_iec61850
Library: Tc3_iec61850 (Tc3_iec61850.compiled-library)
Inheritance hierarchy
FB_iec61850ClientClass
FUNCTION_BLOCK FB_iec61850ClientClass IMPLEMENTS
I_ScsmClientClass,
I_ScsmSystemClockEventSink,
I_ScsmAbortIndEventSink,
I_ScsmAssociateCnfEventSink,
I_ScsmReleaseIndEventSink,
I_ScsmReleaseCnfEventSink,
I_ScsmGetDataValuesCnfEventSink,
I_ScsmSetDataValuesCnfEventSink,
I_ScsmControlCnfEventSink,
I_ScsmGetServerDirectoryCnfEventSink,
I_ScsmGetLogicalDeviceDirectoryCnfEventSink,
I_ScsmGetLogicalNodeDirectoryCnfEventSink,
I_ScsmCreateDataSetCnfEventSink,
I_ScsmDeleteDataSetCnfEventSink,
I_ScsmGetDataSetDirectoryCnfEventSink,
I_ScsmReportIndEventSink,
I_ScsmLastApplErrorIndEventSink,
I_ScsmCommandTerminationIndEventSink,
I_ScsmIdentifyCnfEventSink,
I_ScsmStatusCnfEventSink
VAR_INPUT
settings : FB_ScsmClientSettingsClass;
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. | |
Interface of the GetDataValues service event handling routine. | |
Interface of the SetDataValues event handling routine. | |
Interface of the control service event handling routine for switch control (Operate, Cancel, Select, SelectWithValue). | |
Interface of the GetServerDirectory service event handling routine. | |
Interface of the GetLogicalDeviceDirectory service event handling routine. | |
Interface of the GetLogicalNodeDirectory service event handling routine. | |
Interface of the CreateDataSet service event handling routine. | |
Interface of the DeleteDataSet service event handling routine. | |
Interface of the GetDataSetDirectory service event handling routine. | |
Interface of the SystemClock service event handling routine. | |
Interface of the Report service event handling routine. | |
Interface of the LastAppError service event handling routine. | |
Interface of the command termination event handling routine interface for switch control. | |
Interface of the MMS-Identify service event handling routine. | |
Interface of the MMS-Status 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. |
Enables the service: Associate. | |
Enables the service: Release. | |
Responds to the service: Release. | |
Enables the service: Abort. | |
Enables the service: Cancel. | |
Enables the service: Operate. | |
Enables the service: Select. | |
Enables the service: SelectWithValue. | |
Enables the service: CreateDataSet. | |
Enables the service: DeleteDataSet. | |
Enables the service: GetAllDataValues. | |
Enables the service: GetAllLogicalDeviceValues (TwinCAT specific). | |
Enables the service: GetAllServerValues (TwinCAT specific). | |
Enables the service: GetBRCBValues. | |
Enables the service: GetDataSetDirectory. | |
Enables the service: GetDataSetValues. | |
Enables the service: GetDataValues. | |
Enables the service: GetGoCBValues. | |
GetGsCBValuesReq | Enables the service: GetGsCBValues. |
GetLCBValuesReq | Enables the service: GetLCBValues. |
Enables the service: GetLogicalDeviceDirectory. | |
Enables the service: GetLogicalNodeDirectory. | |
GetMsvCBValuesReq | Enables the service: GetMSVCBValues. |
Enables the service: GetServerDirectory. | |
GetSgCBValuesReq | Enables the service: GetSGCBValuesReq. |
Enables the service: GetURCBValues. | |
GetUsvCBValuesReq | Enables the service: GetUSVCBValues. |
Enables the service: SetAllDataValues (TwinCAT specific). | |
Enables the service: SetBRCBValues. | |
Enables the service: SetDataSetValues (TwinCAT specific). | |
Enables the service: SetDataValues. | |
Enables the service: SetGoCBValues. | |
SetGsCBValuesReq | Enables the service: SetGsCBValues. |
SetLCBValuesReq | Enables the service: SetLCBValues. |
SetMsvCBValuesReq | Enables the service: SetMSVCBValues. |
SetSgCBValuesReq | Enables the service: SetSGCBValues. |
Enables the service: SetURCBValues. | |
SetUsvCBValuesReq | Enables the service: SetUSVCBValues. |
Enables the service: MMS-Identify. | |
Enables the service: MMS-Status. |
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. | |
User-defined control service event handling routine for switch control (Operate, Cancel, Select, SelectWithValue). | |
User-defined CreateDataSet service event handling routine. | |
User-defined DeleteDataSet service event handling routine. | |
User-defined GetDataSetDirectory service event handling routine. | |
User-defined GetDataValues service event handling routine. | |
User-defined GetLogicalDeviceDirectory service event handling routine. | |
User-defined GetLogicalNodeDirectory service event handling routine. | |
User-defined GetServerDirectory service event handling routine. | |
User-defined LastApplError service event handling routine. | |
User-defined buffered report service event handling routine. | |
User-defined unbuffered report service event handling routine. | |
User-defined SetDataValues service event handling routine. | |
User-defined system clock service event handling routine. | |
User-defined command termination event handling routine for switch control. | |
User-defined MMS-identify service event handling routine. | |
User-defined MMS-Status service event handling routine. |
Properties
Name | Type | Access | Description |
---|---|---|---|
Get,Set | Interface pointer of an object with the implementation of the top-level of the IEC 61850 data model. | ||
eLinkStatus | Get | Client-Link-Status. Link status of the network adapter (client sockets). | |
eState | Get | Environmental state of the communication connection. | |
ipSettings | Get | Protocol settings for the communication layer. | |
ipAssociateCnf | Set | Interface pointer of an object with a user-defined implementation of the event handling routine: OnAssociateCnf. | |
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. | |
ipSystemClock | Set | Interface pointer of an object with a user-defined implementation of the event handling routine: OnGetSystemTime. | |
ipControlCnf | Set | Interface pointer of an object with a user-defined implementation of the event handling routine: OnControlCnf. | |
ipCreateDataSetCnf | Set | Interface pointer of an object with a user-defined implementation of the event handling routine: OnCreateDataSetCnf. | |
ipDeleteDataSetCnf | Set | Interface pointer of an object with a user-defined implementation of the event handling routine: OnDeleteDataSetCnf. | |
ipGetDataSetDirectoryCnf | Set | Interface pointer of an object with a user-defined implementation of the event handling routine: OnGetDataSetDirectoryCnf. | |
ipGetDataValuesCnf | Set | Interface pointer of an object with a user-defined implementation of the event handling routine: OnGetDataValuesCnf. | |
ipGetLogicalDeviceDirectoryCnf | Set | Interface pointer of an object with a user-defined implementation of the event handling routine: OnGetLogicalDeviceDirectoryCnf. | |
ipGetLogicalNodeDirectoryCnf | Set | Interface pointer of an object with a user-defined implementation of the event handling routine: OnGetLogicalNodeDirectoryCnf. | |
ipGetServerDirectoryCnf | Set | Interface pointer of an object with a user-defined implementation of the event handling routine: OnGetServerDirectoryCnf. | |
ipIdentifyCnf | Set | Interface pointer of an object with a user-defined implementation of the event handling routine: OnIdentifyCnf. | |
ipLastApplErrorInd | Set | Interface pointer of an object with a user-defined implementation of the event handling routine: OnLastApplErrorInd. | |
ipReportInd | Set | Interface pointer of an object with a user-defined implementation of the event handling routine: OnBufferedReportInd and OnUnbufferedReportInd. | |
ipSetDataValuesCnf | Set | Interface pointer of an object with a user-defined implementation of the event handling routine: OnSetDataValuesCnf. | |
ipStatusCnf | Set | Interface pointer of an object with a user-defined implementation of the event handling routine: OnStatusCnf. | |
ipCommandTerminationInd | Set | Interface pointer of an object with a user-defined implementation of the event handling routine: OnCommandTerminationInd. | |
ipAssociation | Get | Interface pointer of an object that identifies the client connection. | |
sDesc | STRING | Get,Set | The description of the client connection. |