This is my archive
System variables – PROFINET Available for AXC F x152, AXC F 1252, RFC 4072S ‒ for RFC 4072R see System variables – Redundancy The following tables list the PROFINET system variables of the integrated PROFINET controller and PROFINET device functionality. PROFINET controller functionality System variable Type Description PNIO_SYSTEM_BF BOOL No connection to a configured… Read More
System variables System time Available for AXC F x152, AXC F 1252, RFC 4072S, and RFC 4072R Note: For RFC 4072R, see additional variables in System variables – Redundancy. The RTC system variable is a system variable organized as a data structure. The RTC system variable can be used to retrieve information on the system time of… 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
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
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
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
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® 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