Description
Task: arg.
The function/instruction arg has been used with an argument that refers to a task, arg . This task is not a motion task (controlling a mechanical unit) and therefore cannot be used. Program reference arg .
Possible causes
When using arg with the argument \TaskRef or \TaskName, the error does not occur only if the task referenced by the argument is an action task.
Recommended actions
Change the variable \TaskRef or \TaskName or delete it, and then restart the program execution.
Recovery: arg.