RobotStudio event

multitasking priority

Hello Everyone
         I want to know how to set the priority of different tasks, for example, there are three input singasl in tje same time to trigg robot to do three task ,how to give the  running right to one task prior to another task.

     I can not understand the explanation in the reference manual " by putting the task  in the background of another"
gentlewang

Comments

  • osku
    osku ✭✭
    Hi
     

    In Controller parameters you have type Task. Under that you will find a parameter called Task in foreground. With this parameter you can tell which task is more important than this task. For example if you have three tasks named Task1, Task2 and Task3 and you want to have Task1 to be most important and Task3 to be least important, you can set the task parameters like this:

     

    Task3:

    Task in foreground: Task2

     

    Task2:

    Task in foreground: Task1

     

    Task1 parameters can be left empty. 

     

    Hope this answers your question.

     

     

    -Osku

     
  • Thanks a lot!
    gentlewang