EasyManua.ls Logo

Phoenix Contact ILC 170 ETH 2TX - IEC 61131 Runtime System Variables

Phoenix Contact ILC 170 ETH 2TX
78 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
onlinecomponents.com
UM EN ILC 1XX
4-4
PHOENIX CONTACT 7805_en_02
4.5 IEC 61131 runtime system
There is a separate group of variables for the IEC 61131 runtime system.
Table 4-4 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).
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_SYSTASK_AVAILABLE INT Number of available system tasks
PLC_MAX_ERRORS DINT Maximum number of "Errors, Warnings, and Logging Events".
If this maximum number is reached, the controller is stopped.
PLC_ERRORS DINT Maximum number of "Errors, Warnings, and Logging Events"
currently entered.
PLC_TASK_DEFINED INT Number of tasks used
PLC_TASK_1 Record,
elements = 17
Information about task 1
:::
PLC_TASK_8 Record,
elements = 9
Information about task 8

Table of Contents

Related product manuals