CODESYS - the IEC 61131-3 automation software
https://forum.codesys.com/

SFC - Parallel branch
https://forum.codesys.com/viewtopic.php?f=11&t=6801
Page 1 of 1

Author:  fahansen [ Wed Mar 23, 2016 1:43 pm ]
Post subject:  SFC - Parallel branch

Im using a parallel branch that the program pass thru many times.
There are some jumps that return to few steps before of the parallel branch.

The normal condition the steps _100_Exec_1 and Step241 get active (blue color) and wait the GVL.bExecTabeDone after a others steps the program can jump to the step above of the paralllel branch... working fine.

But in some conditions the alternative GVL.xPause_PLS set to True and the program do another routine. So, when the program return with other jump to the steps before the parallel branch, just the step of the left column get activate. Then, when the GVL.bExecTableDone goes to TRUE again the SFC stay stopped as the picture below.


Attachment:
sfc.jpg


Any idea?
BR

Page 1 of 1 All times are UTC+01:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/