RobotStudio event

Stop a SEMISTATIC task

Hello,
 

can anyone tell me how to stop a running semistatic task in robotstudio. I want to change some modules and need to stop the task.

 

BR

Comments

  • ...I'm using RobotStudio 5.11.
  • Hi. Jaka.
     

    You can't Edit Semistatic or static task. (They are executing all time)

    You have to change the state to NORMAL and then reboot the controller.

    Make your changing and then change state back to semistatic reboot and the test your changing. A bit ignoring but you get use to it. Big smile.

    You can't change as in a PLC.

     

    BR Klaus
    Best Regards

    Klaus Soenderhegn
    www.cadalysator.dk
  • Actually, since 5.09 you can stop background tasks, as long as they are configured with the NoSafety Trust Level. The functionality is sort of "hidden" so you have to know how to enable it. The following applies to both the real and virtual controller:
     

    1. If necessary, change your semi-static task to NoSafety.

    2. On the FlexPendant, open ControlPanel>FlexPendant>TaskPanelSettings and check the All Tasks selection.

    3. In teach mode, open the QuickSet menu and select the Task Window (the bottom button), then select your task in the list and then press the Stop button (the same one that stops program execution)

    4. Now you can edit your task.

    5. After editing, manually move the program pointer of the background task back to main(you may have to use the program editor on the teach pendant to do this) and run it.

     

    This is how it works on the physical controller, it would be nice if it was a little easier in RS, i.e. possible in auto right from the RS tasks window, but maybe there are technical limitations that make this impossible.
    RussD2009-01-10 16:47:21
    Russell Drown
  • Thank you for the info! That was exactely what I needed!
     

    BR

    Jaka
  • I just wanted to comment on this for other users.  If you set an output signal that is a Stop Task signal and then you create the following interrupt you can stop the task really easy with the IO simulator.

    VAR intnum intStopTask;
    IDelete intStopTask;
    ISignalDO doSYS_StopTask ,1,intStopTask;

    TRAP StopTask
    Stop;
    ENDTRAP

    Shane