Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Restart/Reset a task

rtist
2017-05-19
2017-05-20
  • rtist - 2017-05-19

    Is there a way to reset a task from another task?

    In one Task i have an SFC Program running. Now i would like to to stop its action from another task (by changing the status tag) and set the task back to the beginning, so that the next time i start the task it starts again from the first command of the SFC and not where it stopped before.

    Any idea?

     
  • josepmariarams - 2017-05-19

    Hi

    You have sfc_init bool bariable which reinit sfc and take it to inis step.

    Possibly Restarting task (that i don t know if you can do) not reinit grafcet.

     
  • rtist - 2017-05-20

    cool. thanks!

     

Log in to post a comment.