Programming
BC8050 und BC8150 59Version: 3.0.0
Key
active: This variable indicates whether the task is active.
taskName: the task name.
firstCycle: During the first PLC task cycle, this variable has the value: TRUE.
cycleTimeExceeded: this variable indicates whether the set task cycle time was exceeded.
cycleTime: set task cycle time in multiples of 100ns.
lastExecTime: cycle time required for the last cycle in multiples of 100ns.
priority: set task priority.
cycleCount: cycle counter.
Development environment Target platform PLC libraries to be linked
TwinCAT v2.9.0 BCxx50, BC9x20 Controller TcBaseBCxx50.lbx
5.12.3.3 System info
VAR_GLOBAL
SystemInfo:SYSTEMINFOTYPE;
END_VAR
System flags are implicitly declared variables. Using the Input Assistant, a variable Systeminfo can be found
under system variables. The type SYSTEMINFOTYPE [}59]is declared in the system library. For accessing
the variable, the system library has to be integrated in the project.
Development environment Target platform PLC libraries to be linked
TwinCAT v2.9.0 BCxx50, BC9x20 Controller TcBaseBCxx50.lbx
5.12.3.4 System information type
TYPESYSTEMINFOTYPE
STRUCT
runTimeNo:BYTE;
projectName:STRING(32);
numberOfTasks:BYTE;
onlineChangeCount:UINT;
bootDataFlags:BYTE;
systemStateFlags:WORD;
END_STRUCT
END_TYPE
Key
runTimeNo: indicates the number of the runtime system (1).
projectName: project name as STRING.
numberOfTasks: number of tasks contained in the runtime system (max. 1).
onlineChangeCount: number of online changes since the last complete download.
bootDataFlags: Reserved
systemStateFlags: Reserved.
Development environment Target platform PLC libraries to be linked
TwinCAT v2.9.0 BCxx50, BC9x20 Controller TcBaseBCxx50.lbx
5.12.3.5 ADS
5.12.3.5.1 Local ADS Port Numbers
Port number Description
100 [}60]
dec
Reading and writing of registers and tables from the coupler and the complex Bus
Terminals
801 [}60]
dec
Local PLC process image