Jump to content

Recommended Posts

Posted (edited)
Hi, does anyone know where I took the wrong turn? In a SFC I've a Step, named:"Mixing" The following transition (ST Type) is named: "TimeElapsed" The condition on wich the transition becomes true should be: the step "Mixing" should be 300 seconds active, so I put this ST in: TimeElapsed:=Mixing.T>=300; After compiling there are no errors and the program runs nicely in the simulator...... ..... until the step "Mixing". Under the active step I see the steptimer and it passes the 5 minutes and keeps counting, but the transition never becomes true. Carol I'm such a goof , the name of the step isn't "Mixing" that's the name of the actionblock. And so I looked at the wrong timer. What a good night sleeps makes a difference..... Carol Edited by Carol

Posted
As u know condition is typed before result kinda like do while Mixing.T<=300----TimeElapsed:=Mixing.T then when Mixing.T becomes = or > then 300 ur condition wont be satisfied and execution of result will stop. Or just use timer.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...