TASK/ISR Run Modes
A TASK/ISR can have one of the following run modes:
● Single Step— The TASK/ISR always runs a single step, then returns handling to the operating system.
● Super Step— The TASK/ISR runs the necessary number of tasks before returning handling to the operating system.When you define a run mode, make the following checks:
1. Check the internal value once before executing the logic.
In Single Step mode, check the internal value before calling any “logic” code, such as mini-spec, Activity, ControlAct, and so on.
In Super Step mode, check the internal value before calling the loop that handles the logic, and the test for the need of another step. Note that choosing this run mode might result in an infinite loop for the TASK/ISR.
2. Check the internal value after logic execution.
In Single Step mode, check the internal value after the call to any logic code.
In Super Step mode, check the value inside the loop that handles the logic, and recheck the value after the calls to any logic code.
3. In Super Step mode, check the value after each logic execution. Check the value inside the loop that handles the logic, and recheck the value after calls to any logic code. This check is not relevant for Single Step mode.