This is my archive

System variables – INTERBUS master

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

Redundancy-specific system variables

Redundancy-specific system variables Available for RFC 4072R 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

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

System variables – ESM tasks,  HMI clients and AlarmProgram status

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

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