The NNE instruction compares dates. When the NNE instruction is executed, S1 is compared to S2. If the result is S1 S2, the instruction passes power. The year, month and day variables are compared simultaneously. When using the NNE instruction, the only variables you can specify in operands S1 and S2 are date variables.
Program Example
NNE
Compares the date variables and determines the result with the coil.
Compares Data_1 to the current date to determine whether they are unequal. If the result is S1 S2, the instruction passes power and the instruction to the right of the NNE instruction is executed. In the above chart, the OUT instruction to the right of the NNE instruction is executed.