RobotStudio event

turning two task into run mode using another task

Hi, does anyone know if there is possible to turn on the task with another task(static or semistatic)? Or how to set into Run mode two task at the same time? It can be done in RAPID or by using Screenmaker.

BR

Iza

Comments

  • soup
    soup ✭✭✭
    Does the task need to stop, or can it just sit on waiting for a signal or a shared PERS bool to go high?

    The slave task:

        PROC main()
            WaitTime 0.1;
            IF diActivateTask_PLC THEN
                DoThis;
                DoThat;
            ENDIF
        ENDPROC

    The slave task would just do nothing until the master task set the virtual signal diActivateTask_PLC high.

  • soup said:
    Does the task need to stop, or can it just sit on waiting for a signal or a shared PERS bool to go high?

    The slave task:

        PROC main()
            WaitTime 0.1;
            IF diActivateTask_PLC THEN
                DoThis;
                DoThat;
            ENDIF
        ENDPROC

    The slave task would just do nothing until the master task set the virtual signal diActivateTask_PLC high.

    I just wanted to have task like this you posted, and after if signal is true, we go into IF and then I want to start another motion task, which are related to two robot arms.
  • soup
    soup ✭✭✭
    Try LoadAndStart System Input.