This is my archive
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
Advanced C++ programming features Note: Some of these features have become available with newer toolchain releases over time. Check the availability note at each heading bar . Features: Connecting ports using the Port Wizard Adding an ACF library version and description Using multiple namespaces Using multiple… 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
C++ programs in PLCnext Technology With PLCnext Technology, you can use programs created with C++ in the real-time context of a PLC along with conventional IEC 61131‑3 programs. To use programs and program parts created in C++ within the scope of PLCnext Technology, Phoenix Contact provides tools and add-ins that help to integrate… Read More
Datatype Worksheet Datatype worksheets can be deployed with the PLCnext Engineer library and there for being an optional part of the PLM and ACF project types. The plcncli generate config command or in IDE as part of the build process, generates a DataTypes.dt file in the intermediate folder. Each struct,… Read More
PLM (Program Library Manager) The Program Library Manager (PLM) is part of the PLC Manager. It loads and unloads components during the runtime of the PLCnext Technology firmware. The PLM controls the entire service life of the component instance in accordance with the states of the controller and changes of… Read More
Remote debugging of C++ code Suitable with AXC F x152 PLCnext Technology has an integrated GDB server, so you can set up a remote debugging session using the Eclipse® IDE. Read more about the GDB server if you’re new to this tool or interested in the complete functionality of this tool. Setting up… Read More
Creating functions and function block libraries written in C++ Available from 2023.0 LTS of the PLCnext Technology Toolchain This topic describes the general approach to program functions and function block libraries in C++ for use with PLCnext Engineer. This feature is based on Shared Native Libraries and is a combination of C++ implementation… 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
Creating a new C++ project in Visual Studio Available from 2020.6 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, or any other IDE or code… Read More