GT

Overview

Comparison operator performing a Greater Than function.

The GT operator is a boolean operator which returns the value TRUE when the value of the first operand is greater than that of the second.

The operands can be of any basic data type.

Example in IL

Result is FALSE

LD     20
GT     30
ST     Var1

Example in ST

VAR1 := 20 > 30;

Example in FBD