Programming
BC8050 und BC8150
59
Version: 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 100 ns.
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
Summary of Contents for BC8050
Page 2: ......
Page 44: ...Programming BC8050 und BC8150 44 Version 3 0 0 Fig 45 Build...