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