
System variables and status information
6959_en_07
PHOENIX CONTACT
75
4.1.7
IEC 61131 runtime system
There is a separate group of system variables for the IEC 61131 runtime system.
Table 4-6
System variables of the IEC 61131 runtime system
System variable
Type
Meaning
PLCMODE_ON
BOOL
PLC status ON: the runtime system on the Inline controller is ready
to operate.
PLCMODE_RUN
BOOL
PLC status RUN: the application program is running.
PLCMODE_STOP
BOOL
PLC status STOP: the application program is currently not running.
PLCMODE_HALT
BOOL
PLC status HALT: the application program was stopped at an
unspecified point.
PLCDEBUG_BPSET
BOOL
Breakpoint set: at least one breakpoint has been set in the
application program.
PLCDEBUG_FORCE
BOOL
Variable(s) forced: at least one variable is being continuously
overwritten (forced) by PROGRAM WORX.
PLCDEBUG_POWERFLOW
BOOL
Powerflow ON: in “Powerflow” mode, you can see which parts of
your application program are being processed. This bit indicates
whether “Powerflow” mode is active.
PLC_TICKS_PER_SEC
INT
System ticks per second: this variable shows how many pulses the
system clock of the Inline controller delivers per second.
PLC_SYS_TICK_CNT
DINT
Number of system ticks: this variable shows the total number of
pulses delivered by the system clock since the last startup.
PLC_TASK_AVAILABLE
INT
Number of available PLC tasks
PLC_TASK_DEFINED
INT
Number of tasks used
PLC_TASK_1
Record,
elements = 17
Information regarding task 1
:
:
:
PLC_TASK_16
Record,
elements = 17
Information regarding task 16
Summary of Contents for ILC 330 Series
Page 1: ...User manual Installing and operating the ILC 330 and ILC 350 Inline controllers...
Page 8: ...ILC 330 350 8 PHOENIX CONTACT 6959_en_07...
Page 10: ...ILC 330 350 10 PHOENIX CONTACT 6959_en_07...
Page 42: ...ILC 330 350 42 PHOENIX CONTACT 6959_en_07...
Page 68: ...ILC 330 350 68 PHOENIX CONTACT 6959_en_07...