This is my archive
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
C++ program types on PLCnext Technology Types of C++ programs Depending on the functions you want to create, there are different ways to implement C++ code in PLCnext Technology. C++ real-time applications are deterministically executed in the real-time context (ESM) on a… Read More
Creating a new C++ project in Visual Studio Suitable from 2020.6 up to 2021.6 – for newer firmware see Working with Visual Studio This topic describes the general approach to C++ programming on PLCnext Technology with Microsoft® Visual Studio® IDE using the C++ PLCnext Technology Extension from Phoenix Contact. Of course, you might use… Read More
IEC 61131‑3 languages with PLCnext Technology You can use the PLCnext Engineer software to program and configure your automation application in languages standardized in IEC 61131‑3: Structured Text (ST) Function Block Diagram (FBD) Ladder Diagram (LD) Of course you can use other programming environments for that purpose, too. Some features are… Read More
System variables – Axioline F Available for AXC F x152 Axioline F diagnostic status register Information on the operating state of the Axioline F local bus is stored in the diagnostic status register. A specific Axioline F local bus state is assigned to each bit in the diagnostic status… Read More
System variables – PLC state Available from firmware version 2025.0. The PLC Manager provides status information on the PLC via the system variable PLC_STATE. The struct data type PLC_STATE_TYPE is structured as follows: PLC_STATE_TYPE : STRUCT VALUE : UDINT; // PLC State (Ready, Stop,… Read More
Working with Visual Studio® Valid from toolchain 2021.6 – for former releases see Creating a C++ project with Visual Studio This topic describes the general approach to C++ programming on PLCnext Technology with Microsoft® Visual Studio® IDE using the C++ PLCnext Technology Extension from Phoenix Contact. Of course, you might use also the Eclipse® IDE,… Read More
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 In the the PLCnext Technology API documentation find all the modules, namespaces, classes and files for C++ programming. The latest release is also embedded into the search function of the PLCnext Community, so you get matches from the API documentation when searching for information there. These are all… Read More
Required Installations for C++ programming Valid from toolchain 2021.6 Mandatory installations In order to develop C++ 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 is required for starting up your PLCnext Control. For additional information, refer to… Read More