The PLC
Operating Manual ProNumeric XCI 600 Version 07/16
61
General reset
State change
from
to
Button in control
dialog
Description of what happens
Stop
On
The project is deleted
General reset
Table 9: MULTIPROG, general reset
7.2.3
PLC starting behaviour after power supply is switched on
The PLC startup-behaviour is set using the MFA Tool (see: Figure 65)
7.3
System variables
System variables provide information about the status of the system, for
example about forced variables, etc. These variables have fixed memory
addresses and can be used by the PLC program to obtain the corresponding
information.
All the system variables in the following table are already declared in the
Global_Variables
area of the
Global_Variables
worksheet.
Name
Data type
Description
PLCMODE_ON
BOOL
TRUE := current PLC state is ON
PLCMODE_RUN
BOOL
TRUE := current PLC state is RUN
PLCMODE_STOP
BOOL
TRUE := current PLC state is STOP
PLCMODE_HALT
BOOL
TRUE := current PLC state is HALT
PLCDEBUG_BPSET
BOOL
TRUE := one or more breakpoints have been set
PLCDEBUG_FORCE
BOOL
TRUE := one or more variables have been forced
PLCDEBUG_POWERFLOW
BOOL
TRUE := powerflow active
PLC_TICKS_PER_SEC
INT
Number of system ticks per second, used by the PLC as the
basis for the system time. This value determines the time
resolution of the PLC for time delay function blocks like TON,
TOF and TP, and the shortest cycle time for the DEFAULT task
and cyclical tasks.
PLC_SYS_TICK_CNT
DINT
Number of counted PLC system ticks
PLC_SYS_TICK_256ms
BOOL
Switching with 0.25s clock
PLC_SYS_TICK_512ms
BOOL
Switching with 0.5s clock
PLC_SYS_TICK_1024ms
BOOL
Switching with 1s clock
Table 10: System variables