7 APPLICATION INSTRUCTIONS
7.15 Clock Instructions
703
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 (S1) to (S1)+2 or (S2) to (S2)+2 exceeds the range of specified devices, SM709 will be turned on and no-
conductive status will be made.
• The following table shows the comparison operation results for each instruction.
• There is no operation error in the LDTM instruction, ANDTM instruction, and ORTM instruction.
Instruction symbol Condition Comparison
operation result
Instruction symbol Condition Comparison
operation result
TM= (S1)=(S2) Conductive status TM= (S1)(S2) No-conductive status
TM<> (S1)(S2) TM<> (S1)=(S2)
TM> (S1)>(S2) TM> (S1)(S2)
TM<= (S1)(S2) TM<= (S1)>(S2)
TM< (S1)<(S2) TM< (S1)(S2)
TM>= (S1)(S2) TM>= (S1)<(S2)
• The following figure shows the comparison example of time.
The following table shows the conductive states resulting from performing the comparison operation of the time 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.
Comparison objects Comparison condition (: Conductive, : No-conductive)
A<B B<C A<C
Second
Minute
Minute, second
Hour
Hour, second
Hour, minute
Hour, minute, second
None
BA C
14:08:584:50:55 22:47:05
0:0018:0012:006:000:00