This is my archive

Creating a C# function block library

Creating a C# function block library With Visual Studio®, you can program functions, function blocks, function containers and programs in C# which you can subsequently import using the PLCnext Technology engineering software, PLCnext Engineer and use on a PLCnext Technology device. Tutorial video Note: Tutorial videos are embedded from the Phoenix Contact Technical Support YouTube channel.  With playing… Read More

Referenceable libraries in the System namespace

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

How C# fits into PLCnext Technology

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

The eCLR programming system

The eCLR programming system The eCLR programming system for C# programming consists of the three main components: CIL compiler  embedded Common Language Runtime (= eCLR) eCLR core libraries CIL compiler The CIL compiler is responsible for translating the CIL code. The eCLR CIL compiler… Read More

Remote debugging of C# code

Remote debugging of C# code Works for PLCnext Control devices running firmware 2019.0 LTS up to 2022.9 – for newer firmware see Remote debugging from 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

Remote debugging of C# code

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

Advanced use of IComponent and IProgram

Advanced use of IComponent and IProgram Using the PLCnext CLI (see PLCnext CLI ), Eclipse® Add-in or Visual Studio® extension creates the meta configuration files (*.libmeta, *.compmeta, *.progmeta) required for PLCnext Engineer as well as the following functions with a functional implementation during compiling. If you have special requirements that go beyond this, the following descriptions will help you… Read More

Creating a new C++ project in Eclipse®

Creating a new C++ project in Eclipse® This section describes the general approach to C++ programming on PLCnext Technology with Eclipse® IDE. Of course, you might use any other IDE or code editor instead.  Creating a new C++ project Tip: There’s a short tutorial video to all of… Read More

Creating and using shared (consumable) libraries

Creating and using shared (consumable) libraries Available from 2021.0 LTS Creating a shared (consumable) library Developing a library which can be consumed by other projects is a useful feature. A project with the type consumablelibrary can be created by means of the PLCnext CLI or one of the IDE tools provided… Read More

PLCnext Technology API documentation

PLCnext Technology API documentation In the the PLCnext Technology API documentation find all the modules, namespaces, classes and files for C++ programming. These are the releases that are publicly available (ordering: newer first): 2024 releases API documentation 2024.0 LTS release API documentation 2024.6 release 2023 releases API documentation… Read More