filippo
Good morning and thanks for this great Environment
I'm try to simulate a simply grafcet project. It is well compiled.
When I simulate it, first step0 goes in "accensione" if I force P_ONPtrue
But when I try to force the second transition "P_OFF", machine remains in "accensione step" and doesn't go...   i
Here there is the situation:  I cannot understand why .... can anyone help me?grafcet.jpg
Reply 0 0
Grz
Hello,
after forcing the P_ON variable to 1, you must reset it to 0, otherwise your grafcet always returns to the same step.
Best regard.
Pierre
Reply 0 0
filippo
Obvious. I already make this...  with "Force False" after  "Accensione is green. But simulation is blocked here. If I Set "spegnimento" = true , nothing happens, system remains on "Accensione" status..... 
I cannot understand why  cannot go forward in the next phases.... 
Reply 0 0
Grz
Hello Filippo,
it works very well...
Capture999.jpg
Best regard
Pierre
Reply 1 0
filippo
My model doesnt' work why... I fall in two errors that create me a "trap". : I havent' connected ACCENSIONE and P_POFF transition, symbols was too near. They seems connected, but not real :-)  
So, OpenPLC COMPILE IT !!! no error and run  :-)    .. .and I cannot find the REAL ERROR! 
 
When I connected ACCENSIONE to P_OFF excatly, COMPILATION FAILS and show me syntax error. I must write HL:=1; or simply HL
Instead I wrote HL=1   .... grafcet standard can use only variable, and it assert!
 
Thanks to everyone and sorry for my stupid errors cumulation :-)
Reply 0 0
Grz
Hello Filippo,
Great if it works...
The error is human ...
Best regard
Pierre
Reply 0 0
Reply