adriano.mele

Hi,
while preparing some examples of SFC programming in OpenPLC, I noticed something strange.

I have a program made by 2 separate SFCs. A transition in one of the SFCs depend on the active phases of the other.

When adding a condition of this kind, however, the compiler crashes. The code works otherwise.

Quote 0 0
thiagoralves
Can you post the project here?
Quote 0 0
adriano.mele

Here it is.

"Semaforo" is the one which gave me problem, while the other one is the same project but with a workaround to solve the issue (which compiles regularly)

Quote 0 0
thiagoralves
Interesting... it seems that the compiler is stuck on a loop trying to resolve the connections. It seems to be a bug in MatIEC rather than OpenPLC Editor. I will have to check...
Quote 0 0
adriano.mele
Indeed. I think it tries to resolve the 1st PLC transition before initializing the variables related to the 2nd (but it is just a wild guess)
Quote 0 0