Product Overview
The TwinCAT Supplement product IEC 61850 Server contains two basic components. For the configuration of the data model you have the so called "TwinCAT Telecontrol Configurator". This configurator generates PLC code which can be integrated into a TwinCAT PLC Project. Here the second component, the TcIEC61850Server.lib comes into operation. This PLC library integrates the MMS (Manufacturing Message Specification) based communication stack and realises the communication according to IEC 61850.
This documentation is devided into these two components:
System requirements
- Programming environment:
- XP, XPe;
- TwinCAT Installation Level: TwinCAT PLC or higher;
- TwinCAT System Version 2.10.0 Build >= 1340 or higher;
- .NET Framework 3.5 for the TwinCAT Telecontrol Configurator
- Target system:
- PC or CX (x86): XP, XPe, CE 6 (Image v3.06e or higher);
- CX (ARM): CE 5 (Image v2.20e or higher);
- TwinCAT PLC runtime system version 2.10.0 or higher;
Product components
- TwinCAT Telecontrol Configurator for the configuration of the standardized data model. Logical Devices, Logical Nodes, Data Object and Data Attributes can be configurated.
- TcIEC61850Server.Lib (PLC library with the server block, this library needs to be integrated into the PLC project, all of the other libraries will automatically be added to the PLC project);
- TcACSI.Lib (Basic ACSI-Data types for the device modelling according to IEC 61850-7-2);
- TcIEC61850_8_1.Lib (SCSM: Mapping on MMS-services accoding to IEC 61850-8-1);
- TcMMS.Lib (MMS-Basic functions, function blocks, data types);
- TcULOSI.Lib (Implementation of the Session-, Presentation- and ACSE-layer);
- TcBER.Lib (BER-Decoding/Encoding);
- TcRFC1006.Lib (Implementation of the transport layer);
- TcTPKT.Lib (Transport-Packetizer);
- TcCollections.Lib (Collection-Classes);
- TcSocketHelper.Lib (TCP/IP auxiliary functions);
- TcpIp.Lib (TCP/IP basic functions);
- TwinCAT TCP/IP Connection Server;
Installation
Demo version
If you did not get a valid product key, you have the possibility to use a limited demo version of the IEC 61850/61400-25 Server. Therefore, you have to insert Demo as a product key. Now there are maximum three logical Nodes available and after an hour the connection to the Client will cut off. But this hour is enough for a basic communication test. After this hour you can do a restart of the server.
Windows XP, XPe
The PLC libraries will be copied into the ..\TwinCAT\Plc\Lib-folder during the installation. The TwinCAT TCP/IP Connection Server is going to be listed in the TwinCAT Server list. At the TwinCAT Start the TCP/IP Connection Server starts automatically and at a TwinCAT Stop the Server stops.
Windows CE
The product version for the runtime system under Windows CE is available as a separate product. Follow the following steps if you have a product version for Windows CE:
- Install the product on your programming-pc as usual. The PLC libraries will be copied in the ..\TwinCAT\Plc\Lib-folder during the installation.
- X86 CPU (CX1000, CX1020, IPC, ... ):
- After the installation you will find a Cabinet-file for the CE-runtime system in this folder: ...\TwinCAT\CE\TwinCAT PLC IEC 61850 Server CE\
- Copy the data file: TcPlcIec61850Svr_CE.I586.CAB in a folder on the CE-runtime system.
- ARM CPU (CX9000, CX9010, ... ), TwinCAT PLC Library: IEC 60870-5-104 Understation (slave) v2.0.4 and higher:
- After the installation you will find a Cabinet-file for the CE-runtime system in this folder: ...\TwinCAT\CE\TwinCAT PLC IEC 61850 Server CE\
- Copy the data file: TcPlcIec61850Svr_CE.ARMV4I.CAB in a folder on the CE-runtime system.
- On the CE-System: Install the CE-components (by double-click on the Cabinet-file).
- Reboot the CE device. The TCP/IP Connection Server is going to be started automatically with the CE-operating system.
During the installation you will be asked if you want to work "case sensitive" or not. When you choose this option, this applies for all TwinCAT projects that are on the installation device. If you do not use this option, the intended differentiation of case sensitive from IEC 61850 or IEC 61400-25 will be ignored and everything will be communicated in capital letters. |
Introduction/Tutorial
For the TwinCAT IEC 61850 Server there is a detailed step-by-step instruction available. A programming code for a fast communication test you will find under examples in the attachment of this documentation.
Further documentation
- Standard IEC 61850-7-1:2003
- Standard IEC 61850-7-2:2003
- Standard IEC 61850-7-3:2003
- Standard IEC 61850-7-4:2003
- Standard IEC 61850-8-1:2004
- Standard IEC 61400-25:2003
- Standard ISO/FDIS 9506-1
- Standard ISO/FDIS 9506-2
- TwinCAT TCP/IP Connection Server