Comparison instructions in ladder logics are used to test pairs of values to condition the logical continuity of a rung.
Thus, comparison instructions would seldom, if ever, be the last instruction on a rung.
As an example, suppose a LES instruction is presented with two values. If the first value is less than the second, then the comparison instruction is true.