WAIT and TIME-OFF/ON Question

When I use the following example WAIT statement, all OUTPUTS are turned off during the WAIT period. I’ve tried numerous ways to use WAIT and every time all OUTPUTS are turned off.

550 IF VAR4 > 0 THEN WAIT VAR3

When I tried using TIME-ON/OFF, it just toggles the outputs ON/OFF based on the interval.

1112 IF TIME-OFF(OUT1) > VAR3 THEN START OUT1

I need a DELAY ON or OFF period if the OUTPUT changes state. Example: An output must be ON for a minimum amount of time before it can be turned OFF; and, an output must of be OFF for a minimum amount of time before turned ON. Need to stop Short Cycling.

1 Like

Use time-on and time-off to meet your needs.
10 IF TIME-OFF ( OUT1 ) > VAR1 THEN START OUT1
20 IF TIME-ON ( OUT1 ) > VAR1 THEN STOP OUT1
Thanks!

I guess you didn’t read the initial statement. Any other suggestions? Also, what is your value of VAR1?

Hi pti
My example VAR1 value is 5 , OUT1 turn on in five seconds and turn off in five seconds.