334
Manual – IPOSplus®
23
Program commands
Assembler – Commands
Structure
TASK
This command is used to define the start address of task 2 and task 3 and to start or
stop these with the argument X1 (START/STOP); that is, the control word of the task is
written. The control word and start address are both set to 0 when the power is switched
on, i.e. Task2 is deactivated.
This command is only available as of MOVIDRIVE
®
B.
Structure
Example
TASK TASK2 START M03
Task 2 is started at this command and the first command after the label M03 is pro-
cessed parallel to task 1.
TASK2
This command is used to define the start address of TASK2 and to start or stop these
with the argument X1 (START/STOP); that is, the control word of TASK2 is written. The
control word and start address are both set to 0 when the power is switched on, i.e.
TASK2 is deactivated.
In MOVIDRIVE
®
B, the command has been replaced by TASK. However, due to down-
ward compatibility, it can still be used with MOVIDRIVE
®
B.
Structure
Example
TASK2 START M03
Task 2 is started at this command and the first command after the label M03 is pro-
cessed parallel to task 1.
Command structure
Mxxx RET
Mxxx: Label
(optional)
Command structure
Mxxx TASK X1 Myyy
Mxxx: Label
(optional)
X1:
TASK2 STOP: Stop task 2.
TASK2 START: Start task 2.
TASK3 STOP: Stop task 3.
TASK3 START: Start task 3.
Myyy:
Label at which the task starts.
Command structure
Mxxx TASK2 X1 Myyy
Mxxx: Label
(optional)
X1:
STOP: Stop task 2.
START: Start task 2.
Myyy:
Label at which task 2 starts.
515247499
P
i
f
kVA
Hz
n
P
i
f
kVA
Hz
n