7-361
(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>=)
7.15.8 Clock comparison (TM=,TM<>,TM>,TM<=,TM<,TM>=)
(TM=,TM<>,TM>,TM<=,TM<,TM>=)
(TM=,TM<>,TM>,TM<=,TM<,TM>=)
Function
(1) This instruction compares the clock data specified by with those specified by , or the
clock data specified by with the current time data. Setting n determines the data to be
compared.
(a) Comparison of given clock data
• This instruction treats the clock data specified by and the clock data specified by
as a normally open contact, and compares the data in accordance with the value
of n.
QnU(D)(H)CPU: The serial number (first five digits) is "10102" or later.
QnUDE(H)CPU: The serial number (first five digits) is "10102" or later.
: Head number of the devices where the data to be compared are stored (BIN 16 bits)
: Head number of the devices where the data to be compared are stored (BIN 16 bits)
n : Value of the data to be compared or the number of the stored data to be compared (BIN 16 bits)
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
K, H
Other
Bit Word Bit Word
–– –– –– ––
–– –– –– ––
n –– ––
Basic
Process
High
performance
Redundant
Ver.
Universal
n
S2S1
LD
n
S2S1
AND
OR
n
S2S1
Command
Command
indicates an instruction symbol of DT /DT /DT /DT /DT /DT .
S1
S2
S1
S2
S1 S1
S1
S1
S1
S1
S1
1
S1
Hour
Minute
Second
0 23
Data range
Comparison
operator
0 59
0 59
2
Comparison
operation result
S2
S2
1
S2
Hour
Minute
Second
0 23
Data range
0 59
0 59
2