The multi-task system
Operating Manual ProNumeric XCI 600 Version 07/16
71
9.4
User task information
Information is mapped to system variables for each user task. The type
definitions listed below for the system variables can be found in the
PLC_Types
section of the SchleicherLib library.
Type definition
Remark
TYPE
TaskNameType : ARRAY [1..10] OF BYTE;
END_TYPE
TYPE
TaskInfoType0 : STRUCT
MaxTask : INT; (* 00: *)
Max. poss. number of tasks
CurTask : INT; (* 02: *)
Current number of tasks
END_STRUCT (* TaskInfoType0 *);
END_TYPE
TYPE
TaskInfoType1 : STRUCT
TaskName : TaskNameType; (* 04: *)
Task name
TaskPrio : INT; (* 14: *)
Task priority
TaskMode : INT; (* 16: *)
Task mode
TaskPeriod : INT; (* 18: [ms] *)
Task period in ms
TaskStack : INT; (* 20: *)
Size of used task stack
MainPoe : INT; (* 22: assigned PLC
program *)
assigned PLC programm
TaskWatchDog : INT; (* 24: [ms] *)
Watchdog time in ms
reserve0 : DINT; (* 26: *)
MaxStack : INT; (* 30: max. used
stack *)
Size of poss. task stack
CurDuration : INT; (* 32: [ticks] *)
Current task duration including
prioritized calls
MinDuration : INT; (* 34: [ticks] *)
Minimum task duration
MaxDuration : INT; (* 36: [ticks] *)
Maximum task duration
AveDuration : INT; (* 38: [ticks] *)
Average task duration
CurDelay : INT; (* 40: [ticks] *)
Current task delay
MinDelay : INT; (* 42: [ticks] *)
Minimum task delay
MaxDelay : INT; (* 44: [ticks] *)
Maximum task delay
AveDelay : INT; (* 46: [ticks] *)
Average task delay
END_STRUCT (* TaskInfoType1 *);
END_TYPE