This is my archive

System variables – INTERBUS master

System variables – INTERBUS master Available for AXC F x152 On INTERBUS master devices, three diagnostic registers map the diagnostic display to the control system: diagnostic status registers diagnostic parameter registers extended diagnostic parameter registers They inform the control system about the current state of the INTERBUS system. In the application… Read More

Redundancy-specific system variables

Redundancy-specific system variables Available for RFC 4072R from 2022.0 LTS In addition to the general PLCnext Technology system variables, the following system variables are available for operating a redundant system of controllers.  Information on the redundant control system Redundancy role The LOCAL_RDNCY_INFO system variable is organized as a data structure. Read More

Structure of a C++ program

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®

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

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

Advanced C++ programming features

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

Working with Visual Studio®

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

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. 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

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