System variables and status information

Available for AXC F x152, AXC F 1252RFC 4072SRFC 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 stored in the diagnostic status register and the diagnostic parameter register. These registers are available to the application program as system variables (system flags, global variables). 

Showing the system variables of a device

In the PLCnext Engineer software suite, you can find all system variables that are supported by a device. To show all system variables, proceed as follows:

  1. Double-click on the IEC61131-3 node in the PLANT area (in pre-2022 software versions this node was named PLC.)
    ↪ The Variable (PLC) editor group opens (in pre-2022 software versions this editor group was named / PLC.)
  2. If not selected by default, select the Data List tab.
  3. Unfold the System Variables section by double-clicking somewhere in the section.
    ↪ The system variables are displayed.
  4. To show the data type and several other attributes of each system variable, click the triangle in the table header.
    ↪ Further columns are expanded.

Showing data structures

Some system variables of the device are organized as data structures. The data structure for this type of system variable contains further system variables, or even further data structures (up to 6 nested levels).

In case of a data structure, the Type column in the data list shows the name of the structure variable instead of its data type.

  1. Select a row in the Data List tab by clicking on the first (empty) column; e.g.: RTC.
  2. Click on the  button to open the Init Value Configuration section below the Data List.
    ↪ The Init Value Configuration shows which other system variables are contained.

Overview to the available system variables

These sets of system variables are detailed in further topics:

 

 


• Published/reviewed: 2026-04-02  ☃  Revision 092 •