Client

Client 1:

Custom enum types:

User-defined enum types that do not exist in the standard system.

GVL:

The global variable list instantiates and initializes the client connection instance, the IED data model function block instance, and, optionally, one or more Sampled Values and GOOSE communication block instances.

The code version that is used during code generation is stored there. The version of the TwinCAT Telecontrol Configurator is also stored there.

Datamodel:

The entire hierarchical structure of the IED data model as function blocks. Also includes the IED block that is instantiated in the Global Variable List.

Client:

This block contains a state machine, the basic states of which are used in every Client example.

The block instance is required for connection management and data exchange.

GSE / GSE Adapter:

This function block connects a network adapter of the TwinCAT control computer with the GOOSE control blocks in the data model and controls the execution of these control blocks.

To be able to use GOOSE communication, the real-time network adapter must be commissioned and linked. This is explained in RT Ethernet adapter configuration.

The GSE adapter is a network adapter for GOOSE communication whose network status is constantly queried by the GSE function block.

Main:

The TwinCAT PLC project contains a "MAIN" program as standard. This is called cyclically by a TwinCAT task and in turn calls the program "P_IEC61850MAIN".

The program "P_IEC61850MAIN" encapsulates the call of the Client block and of the optional GSE block, separates the IEC 61850 communication from the remainder of the PLC machine program and helps, for example, with the implementation of further Clients.