The NEQ instruction compares dates. When the NEQ 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 NEQ instruction, the only variables you can specify in operands S1 and S2 are date variables.
Program Example
NEQ
Compares the date variables and determines the result with the coil.
Compares Data_1 to the current date to determine whether Data_1 is equal. If the result is S1 = S2, the instruction passes power and the instruction to the right of the NEQ instruction is executed. In the above chart, the OUT instruction to the right of the NEQ instruction is executed.