PLC Programming Comparison Instructions – LES | Less Than

The LES, also known as the Less Than, is an instruction used to compare two values against each other. The instruction takes two integers, floats or constants and will return TRUE if the value specified in “Source A” is less than the one in “Source B”. The “Source B” operand must be strictly less than the one specified in “Source A”. In other words, the instruction will return FALSE if they are equal.


This is a companion discussion topic for the original entry at https://www.solisplc.com/tutorials/plc-programming-comparison-instructions-les-less-than