
7-363
(TM=,TM<>,TM>,TM<=,TM<,TM>=)
1
2
3
4
6
6
7
8
7.15 Clock instructions
7.15.8 Clock comparison (TM=,TM<>,TM>,TM<=,TM<,TM>=)
(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
0001H8001HSecond Comparison of seconds ( +2)
0002H8002HMinute Comparison of minutes ( +1)
0003H8003HMinute,
second
Comparison of minutes ( +1) and seconds
days ( +2)
0004H8004HHour Comparison of hours ( )
0005H8005HHour,
second
Comparison of hours ( ) and
seconds ( +2)
0006H8006HHour, minute Comparison of hours ( ) and minutes ( +1)
0007H8007HHour, minute,
second
Comparison of hours ( ), minutes ( +1),
and seconds ( +2)
Other than 0001H to 0007H,
8001H to 8007HNo 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
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