ON

Statement - Conditional execution of statements.

Syntax

ON <BOOL expression> DO
<statements>
END_DO;

Remarks

FBD Language Example

Not available.

FFLD Language Example

Not available.

IL Language Example

Not available.

ST Language Example

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