COMPARISON of two "INTEGER" values

This function compares the VALUE 1 and VALUE 2 inputs when the VALIDATE FUNCTION input is ON or is not connected.

The non-connected VALUE 1 (or VALUE 2) input is set to zero.

If the VALIDATE FUNTION input is OFF when the program is started, the output is OFF, regardless of the input values. When the VALIDATE FUNCTION input changes to OFF during program execution, the OUTPUT remains unchanged.

The VALUE 1 and VALUE 2 inputs are INTEGERS (between -32768 and +32767).

The VALIDATE FUNCTION input and the OUTPUT are digital.

One of the following comparison operators can be selected in the Parameters tab in the parameterisation window:

 Greater than
 Greater than or equal to  > =
Equal to  =
Not equal to ¹
Less than or equal to  < = 
Less than <

The OUTPUT is set to ON if the comparison is TRUE

Parameterisation box/Comments tab

Back to Contents