LEEULEQUSLELEQ Less or equal

Also called: less than or equal, LEQ (Less Than or Equal), <=

Passes power when IN1 ≤ IN2.

What it does

The LE / LEQ comparison passes power when the first value is less than or equal to the second.The LE comparison passes power when the first value is less than or equal to the second.The LEQ comparison passes power when the first value is less than or equal to the second.

When to use it

For a limit not to exceed: maximum quantity, maximum time.

Operands

European mnemonicAmerican mnemonicNameData typeDirectionRequiredMeaning
IN1IN1Source AINT, DINT, REAL, TIME / DINTInputYesFirst value (variable or constant).
IN2IN2Source BINT, DINT, REAL, TIME / DINTInputYesSecond value (variable or constant).
MnemonicNameData typeDirectionRequiredMeaning
IN1Source AINT, DINT, REAL, TIMEInputYesFirst value (variable or constant).
IN2Source BINT, DINT, REAL, TIMEInputYesSecond value (variable or constant).
MnemonicNameData typeDirectionRequiredMeaning
IN1Source AINT, DINT, REALInputYesFirst value (variable or constant).
IN2Source BINT, DINT, REALInputYesSecond value (variable or constant).

Timing diagram

V151015251510H10123456789101112scans

Timing diagram checked against the simulator (the same engine as the editor).

Example

European style
American style

H1 turns on when V1 is 10 or less.

Try it in the simulatorThe example opens in the free simulator; your own program stays as it was.

Behaviour in detail

See also