Greater than GRT

Passes power while A is greater than B.

TagAfter two scans
HighTemp80
Temp82

How it works

Passes power while Source A is greater than Source B; blocks it otherwise.

How it's used

Use GRT to act when a value goes above a limit.

TagValue
Temp82
HighTemp80
Fan1

Temp is above 80, so Fan is on.

Operands

OperandData typeRead or write
ADINT, REAL, STRING, CHAR or a numberReads
BDINT, REAL, STRING, CHAR or a numberReads

Common mistakes

  • Swapping A and BGRT passes while A is greater than B. Swap them and the test reverses.

Learn it in a lesson

Related