586
TM=, TM<>, TM>, TM<=, TM<, TM>=
(4) This instructions sets the minute selected from 0 to 59 (0 to 59 minutes) with BIN value specified by +1 or +1.
(5) This instructions sets the second selected from 0 to 59 (0 to 59 seconds) with BIN value specified by +2 or +2.
(6) This instructions specifies the following values at n so that the data to be compared can be specified.
The bit configuration specified at n is as follows.
(a) Clock data to be compared (from 0 to 2nd bit)
• 0: Does not compare specified clock data (hour/minute/second).
• 1: Compares specified clock data (hour/minute/second).
(b) Operation data to be compared (15th bit)
• 0: Compares the clock data specified by with the clock data specified by .
• 1: Compares the clock data specified by with the current time data.
Ignores the clock data specified by .
(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. 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.
Moreover, if the range of devices specified by to +2 or to +2 exceeds the range of specified devices, SM709
will be turned on and no-conductive status will be made.
(8) The following table shows the comparison operation results for each instruction.
n value for
comparison of
pecified clock data with
given clock data
n value for
comparison of
specified clock data
with current time data
Time to be
compared
Processing details
0001
H
8001
H
Second
Comparison of seconds (
+2)
0002
H
8002
H
Minute
Comparison of minutes (
+1)
0003
H
8003
H
Minute,
second
Comparison of minutes (
+1) and seconds
days (
+2)
0004
H
8004
H
Hour
Comparison of hours (
)
0005
H
8005
H
Hour,
second
Comparison of hours (
) and
seconds (
+2)
0006
H
8006
H
Hour, minute
Comparison of hours (
) and minutes (
+1)
0007
H
8007
H
Hour, minute,
second
Comparison of hours (
), minutes (
+1), and
seconds (
+2)
Other than 0001
H
to 0007
H
,
8001
H
to 8007
H
No objects
No comparison of hours (
), minutes (
+1),
and seconds (
+2) (Non-conductive)
Instruction
symbols in
Condition
Comparison
operation result
Instruction
symbols in
Condition
Comparison
operation result
TM=
=
Conductive status
TM=
No-conductive
status
TM<>
TM<>
=
TM>
>
TM>
TM<=
TM<=
>
TM<
<
TM<
TM>=
TM>=
<
S1
S1
S1
S1
b15 b14
b3 b2 b1
b0
0/1
0
0/1 0/1 0/1
Second
Minute
Hour
This instruction specifies 0 at bits from 3rd to 14th.
The instruction will be non-conductive status without
specifying 0 regardless of the operation result.
If this instruction specifies 1 (on) at 15th bit, the
instruction compares S1 with the current date in
accordance with the bit condition specified at 0 to 2nd
bit.
S1
S1
S1
S1
S1
S1
S1
S1
S1
S1
S1
S1
S1
S1
S1
S1
S1
S1
S1
S1
S1
S1
S1
S1
S2
S1
S2
S1
S2
S2
S1
S1
S2
S1
S2
S1
S2
S1
S2
S1
S2
S1
S2
S1
S2
S1
S2