The use case of @florrens can currently be solved by using the WaitBool method. Disadvantage of this solution is that you have to create an own event on the handler (EVENT_SENSOR_NOK) :
_retVal := WaitBool(CallIdx := 1, Value := ( BinIo._120MB601A ) AND ( BinIo._120MB602A ), SetpointState := TRUE, DebounceTime := T#100MS, Timeout := T#5S, AutoClear := TRUE/FALSE, EventClass := OpconEventClass.SOFTERROR, EventNo := Loc120_Handler.EVENT_SENSOR_NOK, AddText := '');
... View more