ON

Statement - Conditional execution of statements.

Syntax

ON <BOOL expression> DO
<statements>
END_DO;

Remarks

FBD Language

Not available.

FFLD Language

Not available.

IL Language

Not available.

ST Language

(* This example counts the rising edges of variable bIN *)
ON bIN DO
   diCount := diCount + 1;
END_DO;