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