This is my archive

Common classes

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

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

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

C++ programs in PLCnext Technology

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 pro­gram 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 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

Creating functions and function block libraries written in C++

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

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

C# core libraries

C# core libraries The C# core libraries are part of the PLCnext Technology Toolchain and will 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 of… Read More

Supported data types in C#

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

Creating a C# function block library

Creating a C# function block library With Visual Studio®, you can program functions, function blocks, function containers and programs in C# which you can subsequently import using the PLCnext Technology engineering software, PLCnext Engineer and use on a PLCnext Technology device. Tutorial video Note: Tutorial videos are embedded from the Phoenix Contact Technical Support YouTube channel.  With playing… Read More