This is my archive

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

System variables – PROFINET

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

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

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

Structure of a C++ program

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