Block SymbolLicensing group: STANDARD

Function Description

All the tasks of the given level <i> are executed with the same priority given by the pri<i> parameter of the EXEC block. The execution period of the task is given by a multiple of the factor parameter and the base tick of the given level <i> ntick<i>$\ast$tick in the EXEC block. The time allocated for the task to execute starts at the start tick and ends at the stop tick, where the inequality $0\le \mathtt{\text{start}}<\mathtt{\text{stop}}\le \phantom{\rule{0em}{0ex}}$ntick<i> must hold for the start and stop parameters. The REXYGEN Compiler compiler further checks whether the stop parameter of the preceding task is less or equal to the stop parameter of the succeeding task, i.e. the allocated time intervals for individual tasks cannot overlap. In the case the timing of individual levels is inappropriate, the tasks are interrupted by tasks and other events with higher priority and might not execute in the allocated time. In such a case the execution is not aborted but delayed (in contrary to the QTASK block). The REXYGEN Diagnostics program diagnoses whether the execution delay is occasional or permanent (the Level and Task tabs).

Input

 prev Input for connecting the task with the corresponding Level output of the EXEC block or with the next output of the preceding task of the given level Long (I32)

Output

 next Output for connecting to the prev input of the succeeding task in the given level Long (I32)

Parameters

 factor Execution factor; multiple of the execution period of the i-th level of the EXEC block defining the execution period of the task: $\mathtt{\text{factor}}\ast \mathtt{\text{tick}}\phantom{\rule{0em}{0ex}}\ast \phantom{\rule{0em}{0ex}}$ntick  $\odot$1 Long (I32) start Number of tick of the given computational level which should trigger the task execution  $↓$0 $↑$ntick $\odot$0 Long (I32) stop Number of tick of the given computational level by which the task execution should finish  $↓$start+1 $↑$ntick $\odot$1 Long (I32) stack Stack size [bytes]  $\odot$10240 Long (I32) filename Name of the file with the .mdl extension which contains the task algorithm. In the case filename is not specified, the filename is given by the name of the TASK block in the project main file (the .mdl extension is attached automatically) String

2020 © REX Controls s.r.o., www.rexygen.com