32.19.4.4 Explanation of the JGE Instruction
The JGE instruction compares time. When the JGE instruction is
executed, S1 is compared to S2. If the result is S1 >= S2, the
instruction passes power. The hour, minute and time variables are
compared simultaneously. to compare a time of 10:20, input 0 for
the seconds.
When using the JGE instruction, the only variables you can
specify in operands S1 and S2 are time variables.
Program Example
JGE
Compares the time variables and determines the result with the
coil.
-
Compares Data_1 to the current time to determine
whether Data_1 is greater or equal. If the result is S1 >= S2,
the instruction passes power and the instruction to the right of
the JGE instruction is executed. In the above chart, the OUT
instruction to the right of the JGE instruction is executed.
|