The JLT instruction compares time. When the JLT instruction is executed, S1 is compared to S2. The instruction passes power if the result is S1 S2.
The hour, minute and time variables are compared simultaneously. To compare a time of 10:20, input 0 for the seconds.
When using the JLT instruction, the only variables you can specify in operands S1 and S2 are time variables.
Program Example
JLT
Compares the time variables and determines the result with the coil.
Compares Data_1 to the current time 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 JLT instruction is executed. In the above chart, the OUT instruction to the right of the JLT instruction is executed.