This is my archive

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

Creating a new C++ project in Visual Studio

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

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

System variables – Axioline F Available for AXC F 1152, AXC F 1252, AXC F 2152, and AXC F 3152  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… Read More

System variables – PLC state

System variables – PLC state Available from firmware version 2025.0 on AXC F x152, AXC F 1252, RFC 4072S and RFC 4072R 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

System variables and status information

System variables and status information Available for AXC F x152, AXC F 1252, RFC 4072S, RFC 4072R, SPLC 1000 This section describes the system variables that are available for PLCnext Control devices. These controllers have a register set that is used for diagnostics and easy control of the controller and the Axioline F local bus. The diagnostic data is… 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

PLM (Program Library Manager)

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

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 a new C++ project in Eclipse®

Creating a new C++ project in Eclipse® Suitable from 2019.0 LTS up to 2021.6 – for newer firmware see Working with Eclipse This section describes the general approach to C++ programming on PLCnext Technology with Eclipse® IDE. Of course, you might use any other IDE or code editor instead.  Creating a new C++… Read More