Programming
BC5250
68
Version: 2.0.0
lastExecTime: cycle time required for the last cycle in multiples of 100 ns.
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
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
TYPE SYSTEMINFOTYPE
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
dec
Reading and writing of registers and tables from the coupler and the complex Bus
Terminals
dec
Local PLC process image