583
DT=, DT<>, DT>, DT<=, DT<, DT>=
1
2
3
4
4
6
7
8
7.15
Clock instr
uct
ions
7.15.7
D
T=, DT<>, DT>, DT<=, DT<, DT>=
(c) The following table shows processing details of bits to be compared.
(7) If the data stored in the devices to be compared are not recognized as date data, SM709 will be turned on after the
instruction execution and no-conductive status will be made. Even if they are not recognized as date data but the range
of the devices is within the setting range, SM709 will not be turned on.
Moreover, if the range of devices specified by to +2 or to +2 exceeds the range of specified devices, SM709
will be turned on after the instruction execution and no-conductive status will be made.
Once SM709 is turned on, on-status will be retained till when the CPU modules are reset or powered off. Therefore, turn
off SM709 if necessary.
(8) The following table shows the comparison operation results for each instruction.
(a) The following figure shows the comparison example of dates.
The following table shows the conductive states resulting from performing the comparison operation of the dates A,
B, and C shown above.
Even if the objects to be compared are under the same condition, the comparison operation results vary depending
on the objects selected.
n value for
comparison of
specified date data
with given date data
n value for
comparison of
specified date data
with current date data
Date to be
compared
Processing details
0001
H
8001
H
Day
Comparison of days (
+2)
0002
H
8002
H
Month
Comparison of months (
+1)
0003
H
8003
H
Month, day
Comparison of months (
+1) and days (
+2)
0004
H
8004
H
Year
Comparison of years (
)
0005
H
8005
H
Year, day
Comparison of years (
) and days (
+2)
0006
H
8006
H
Year, month
Comparison of years (
) and months (
+1)
0007
H
8007
H
Year, month, day
Comparison of years (
), months (
+1),
and days (
+2)
Other than 0001
H
to 0007
H
, 8001
H
to 8007
H
No objects
No comparison of years (
), months (
+1),
and days (
+2) (Non-conductive)
Instruction
symbols in
Condition
Comparison
operation result
Instruction
symbols in
Condition
Comparison
operation result
DT=
=
Conductive status
DT=
No-conductive
status
DT<>
DT<>
=
DT>
>
DT>
DT<=
DT<=
>
DT<
<
DT<
DT>=
DT>=
<
Comparison
objects
Comparison condition
A<B
B<C
A<C
Day
Month
Month, day
Year
Month, day
Year, month
Year, month, day
No objects
: Conductive : No-conductive
S1
S1
S1
S1
S1
S1
S1
S1
S1
S1
S1
S1
S1
S1
S1
S1
S1
S2
S2
S1
S2
S1
S2
S1
S2
S2
S1
S1
S2
S1
S2
S1
S2
S1
S2
S1
S2
S1
S2
S1
S2
S1
S2
A
(2006/9/22)
B
(2007/6/23)
C
(2008/8/8)
2009/1/1
2008/1/1
2007/1/1
2006/1/1