program waits for time or DI, is that possible?

Hi,

I need the program to basically wait for a time OR a DI before it may continue.

So something like:

WaitTime StartDelay_time OR PB_start=1;

Of course this doesn’t work, but any ideas how something link this could work would be appreciated .

BR, Daniël

Hello,
You can use

WaitDI Signal Value [\MaxTime] [\TimeFlag]