STE 58762 2-25
2.8.4 Multitask Processing
This paragraph describes how to use the multitask function of the SCOL language together with the
relevant commands and system variables.
Program execution of single task and multitask operation is shown in Fig. 1 and Fig. 2. The
number in the figure designates the order of the program execution. Specific timing of change-
over from program to program (task change) is described later.
Program Program 1 Program 2 Program 3
A1
B1
C1
A2
B2
C2
A3
B3
A4
Fig. 1 Single task
operation
Fig. 2 Multitask operation
In Fig. 1, program A is executed continuously from the start to the end (single task operation and no
subroutine call).
A program which uses no multitask command is executed in the manner as shown in Fig. 1 (no
subroutine call).
Execution of a program which uses the multitask command is shown in Fig. 2.