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

SFC action running twice

razmis
2015-09-06
2017-10-07
  • razmis - 2015-09-06

    Even when I use the qualifier "P" for an action in SFC and set the transition condtion to "TRUE", I see that the action is performed twice.
    The only way I found to make it performed only once is by setting a bit in the step before and reset it in the action itself.
    Is there something I'm missing?

     
  • JAPIB

    JAPIB - 2015-09-06

    Hello,

    It's normal . This is an aspect of the SFC standard. That is different from the French grafcet.
    J'm french and when I found out this operation I asked the same question as you.

    To perform an action only once you should use the input or exit actions. (Right click on a step and then add an input action or output action, drawn with E or X in a square at the bottom right or left of the step).

    Best regard

     
  • Anonymous - 2017-10-07

    Originally created by: ph0010421

    Hello
    I thought the idea of the action running twice was to turn off coils in LAD.
    This is definitely the behaviour in other platforms, but doesn't happen in V3.
    Is this behaviour correct?
    Thanks

     

Log in to post a comment.