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