297
Comparison Instructions Section 3-7
remainder of the instruction line is skipped and execution moves to the next
instruction line.
3-7-2 Time Comparison Instructions (341 to 346)
Purpose Time comparison instructions compare two BCD time values and create an
ON execution condition when the comparison condition is true.
The time comparison instructions are treated just like the LD, AND, and OR
instructions to control the execution of subsequent instructions.
These instructions are supported only by CS/CJ-series CPU Unit Ver. 2.0 or
later.
Ladder Symbol
Variations
Applicable Program Areas
8714
S
1
: D00110
−30,956
3A1C
S
2
: D00210
14,876
−30,956 < 14,876
Decimal: Decimal:
Signed
LESS THAN
Comparison
(Will proceed to next line.)
S1
C
S2
LD
S1
C
S2
S1
C
S2
AND
OR
Symbol
Symbol
Symbol
C: Control word
S
1: First word of present time
S
2: First word of comparison time
C: Control word
S
1: First word of present time
S
2: First word of comparison time
C: Control word
S
1: First word of present time
S
2: First word of comparison time
Variations Creates ON Each Cycle Comparison is True Time compari-
son instruction
Immediate Refreshing Specification Not supported
Block program areas Step program areas Subroutines Interrupt tasks
OK OK OK OK