Less than or equal LEQ

Passes power while A is less than or equal to B.

TagAfter two scans
Tank35
TankLow40

How it works

Passes power while Source A is less than or equal to Source B; blocks it otherwise.

How it's used

Use LEQ when reaching the limit counts too.

TagValue
Tank40
TankLow40
LowAlarm1

Tank is at 40. Equal passes, so LowAlarm is on.

Operands

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

Common mistakes

  • Expecting equality to failEqual values pass this comparison. Use LES when equal must fail.

Learn it in a lesson