This is my archive
Creating a new C++ project in Eclipse® Suitable from 2019.0 LTS up to 2021.6 – for newer firmware see Working with 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++… Read More
Common classes Common classes provide functions that may be helpful for programming. The PLCnext Technology-specific common classes are made available via the PLCnext Technology SDK. With the help of the SDK, it is possible to generate high-level-language programs in C++ for the PLCnext Technology framework. The SDK provides Arp firmware header files… Read More
Structure of a C++ program PLCnext Technology follows an object-oriented approach. The following base classes are relevant for creating a C++ program running on a PLCnext Control. Depending on the functional needs, such a program can be integrated as either ACF component or PLM component. Library LibraryBase class The… Read More
Working with Eclipse® Valid from toolchain 2021.6 (for former releases see Creating a C++ project with Eclipse) This section describes the general approach to C++ programming on PLCnext Technology with Eclipse® IDE. Note: If preferred, you might as well use Visual Studio® , the other officially supported IDE. Or instead you can rely on… 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
Advanced use of IComponent and IProgram Using the 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 understand the… 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
ACF (Application Component Framework) The ACF (Application Component Framework) is the foundation for the PLCnext Technology platform architecture. The ACF is a framework that enables component-based platform development and the configurative composition of the firmware for the devices. It can configuratively distribute the firmware to one or more processes. The… Read More
Supported data types in C# The following table illustrates how the IEC 61131‑3 data types are linked to the .Net framework and to C#, respectively. Note: Variables of data types that are marked with a + in the Attribute mandatory column must have the (otherwise optional) attribute DataType for unambiguous assignment. Read More
Remote debugging of C++ code Suitable with AXC F x152 with inactive Security Profile only PLCnext Technology has an integrated GDB server, so you can set up a remote debugging session. Read more about the GDB server if you’re new to this tool or interested in the complete functionality of this tool. Setting… Read More