Input comparison instructions compare two values (constants and/or the contents
of specified words) and create an ON execution condition when the
comparison condition is true. Input comparison instructions are available to
compare signed or unsigned data of one-word or double length data.
The input comparison instruction compares S1 and S2 as signed or unsigned values and creates an ON execution condition when the comparison condition is true. Unlike instructions such as CMP (Compare) and CMPL (Compare Long), the result of an input comparison instruction is reflected directly as an execution condition, so it is not necessary to access the result of the comparison through an Arithmetic Flag and the program is simpler and faster.
The input comparison instructions are treated just like the LD, AND, and OR instructions to control the execution of subsequent instructions.
for more information, visit yourplctrainer.com

