
System variables and status information
8482_en_03
PHOENIX CONTACT
123
8.11
Mode selector switch
8.12
Project-related system variables
8.13
System time
Table 8-12
System variables of the mode selector switch
System variable
Type
Meaning
KEY_SWITCH_RESET
BOOL
The mode selector switch is in the MRESET position.
KEY_SWITCH_STOP
BOOL
The mode selector switch is in the STOP position.
KEY_SWITCH_RUN_PROG
BOOL
The mode selector switch is in the RUN_PROG position
Table 8-13
Project-related system variables
System variable
Type
Meaning
PLC_HAS_PRJ_CMP_DATA
BOOL
The PC Worx project contains additional data for the "Online
project comparison" function.
PLC_HAS_PRJ_BOOT
BOOL
A boot project is available.
IS_EXECUTING_BOOT_PROJECT
BOOL
The boot project is being executed.
IS_PRJ_RAM_AND_BOOT_CONSISTENT
BOOL
The project currently being executed is identical to the boot
project.
PLC_HAS_PRJ_SRC
BOOL
Project sources are available on the controller.
PLC_PROJ_NAME
STRING
Project name and revision of the PC Worx project
PLC_CFG_NAME
STRING
Configuration name in PC Worx
PLC_RES_NAME
STRING
Standard resource name in PC Worx.
DC_AMOUNT
UDINT
Number of project changes that were successfully transferred
to the controller.
Table 8-14
System variables of the system time
System variable
Type
Meaning
RTC_HOURS
INT
System time (hours)
RTC_MINUTES
INT
System time (minutes)
RTC_SECONDS
INT
System time (seconds)
RTC_DAY
INT
System time (day)
RTC_MONTH
INT
System time (month)
RTC_YEAR
INT
System time (year)