How to bypass a WAIT line

I am writing a program where I have a couple of lines with a WAIT delay. Is there a way to bypass the WAIT if something happens like “INPUT 1 is ON”/

Thank you,

Jim

As always, I suggest using timers that you can see, log and debug. WIth the wait command combined with logic jumps you will never really know how long you’ve been waiting.

Thanks Maurice,

Can you give me an example?

Jim

10 P1OFFTIM = TIME-OFF( PUMP1 )

20 P1ONTIM = TIME-ON( PUMP1 )

30 IF (THESE THINGS HAPPEN) THEN START PUMP1

40 IF (OTHER THINGS HAPPEN ) THEN STOP PUMP1

There is no limit to how complicated your sequence is but it will really help your debugging once you expose all those timers through variables which you can graph for study later on.

Thank you Maurice

Jim

Maurice,

Has there ever been any thought given to giving unused points and variables to be “hidden” so that third party controllers won’t have to load a bunch of needless information whenever they pull in one of the T3 devices?

Thank you,

Jim

That is the default behaviour, all items with the range set to unused are not returned as bacnet objects.

If you are seeing something different you can let us know.