Server - Base Sample Project

This example shows the basic TwinCAT implementation of the Client-Server communication of a TwinCAT IEC 61850 Server. The GOOSE components and reporting are not included in this example in the interests of simplicity. These and other functionalities are covered in separate examples. The Server implemented here has a default host address: "127.0.0.1" and a default port number: 102. These values can be adapted in the PLC sample code. The PLC development environment will output a warning with a note about this when translating. Double-clicking on this message will take you to the corresponding location in the PLC code.

Download TwinCAT XAE Project (*.zip): Sample20.zip

The example described here uses the state machine that is described in the "General Server project structure" chapter. The States 0, 1, 10 and 100 are identical to the state machine described there. Other states were modified for the example or new states were also added.