Skip to main content

Operator: GT

The IEC operator is used for the "greater than" function.

Permitted data types of the operands: any basic data type

If the first operand is greater than the second operand, then the operator yields the result TRUE; otherwise FALSE.

Example 127. Examples

Result: FALSE

ST

VAR1 := 20 > 30;

FBD

_cds_img_gt.png