This is my archive
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
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 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 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 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
System variables – ESM tasks, HMI clients and AlarmProgram status ESM task handling Available for AXC F x152, AXC F 1252, RFC 4072S, RFC 4072R Programs and program parts are treated as tasks in PLCnext Engineer. Individual tasks are coordinated and processed in the Execution and Synchronization Manager (ESM). The ESM_DATA system variable can be used to… Read More
System variables – EtherNet/IP™ targets Available for AXC F 2152 from firmware release 2019.3, for AXC F 1152, AXC F 1252, and AXC F 3152 (with all available firmware releases), and for Virtual PLCnext Control from 2026.0 LTS A PLCnext controller can be operated as slave device in an EtherNet/IP™ (short: EIP) network, provided that this functionality is available. As of now, the controller can only… Read More
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