This is my archive
Required installations for C# programming Valid from toolchain 2021.6 Mandatory installations In order to develop C# functions, function blocks, and programs and use them in a PLCnext Technology real-time application, the following installations are required. PLCnext Engineer automation engineering software The PLCnext Engineer software suite is required… Read More
Supported functions for C# programming C# language functions Types All the integrated types are supported, except for decimal. Type system namespaces, structs, classes, interfaces, enumerations, nested types indexers, properties, operations events, delegates, MultiCastDelegates arrays constructors, static constructors, destructors (finalizers)… Read More
Real-time programming in C# and the eCLR To develop real-time critical function blocks (FB), libraries and applications (apps) using C# and the .Net™ framework of the eCLR, certain fundamental aspects must be considered during development. Note: This guideline including its software examples is provided “as is”, without… Read More
Remote debugging of C# code Works for PLCnext Control devices running firmware 2023.0 LTS or newer – for former firmware see Remote debugging pre-2023 Because PLCnext Technology includes an implementation of eCLR, you have the option to establish a C# remote session on a PLCnext Control. This topic describes the basic steps needed for setting… Read More
Supported elementary data types The following table shows all supported data types throughout the standards. Note: All these data types can be used in a one-dimensional array. All these data types but arrays can be used a structure. PLCnext Engineer OPC UA® C++… Read More
How C# fits into PLCnext Technology Here’s a short overview to the key concept before starting your first C# programming session. C# programming in PLCnext Technology is based on the embedded Common Language Runtime (eCLR) by ProConOS. This runtime system is able to transform both standard hardware and specific… Read More
Java RSC API ‒ Getting started Valid with firmware releases up to 2024.6 Note: The Java RSC API has been replaced by a better solution, see Using gPRC communication. Therefore the support for this tool is already discontinued. If you decide to use the Java RSC API anyway you’ll… Read More
Referenceable libraries in the System namespace The PLCnext Technology programming system for C# needs referenced libraries which are specifically built for the eCLR runtime. For this, we introduced our own framework (similar to .NET framework) and the eCLR base class libraries. This approach takes care that it’s always downward compatible: libraries… Read More
Example usage ‒ Creating a service interface Valid with firmware releases up to 2024.6 Note: The Java RSC API has been replaced by a better solution, see Using gPRC communication. Therefore the support for this tool is already discontinued. If you decide to use the Java RSC API… Read More
C# core libraries The C# core libraries are part of the PLCnext Technology Toolchain and will be available in the PLCnext Technology Toolchain installation folder. These libraries are necessary to program and build real-time C# applications for PLCnext Control devices. They are replacing the equally named .NET libraries with a subset… Read More