585
TM=, TM<>, TM>, TM<=, TM<, TM>=
1
2
3
4
4
6
7
8
7.15
Clock instr
uct
ions
7.15.8
T
M=, TM<
>
, TM>, TM<=, TM<, TM>
=
: 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)
F
unct
i
on
(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.
(b) Comparison of current time data
• This instruction treats the clock data specified by and the current time data as a normally open contact, and
compares the data in accordance with the value of n.
• This instruction treats the clock data specified by as dummy data and ignores the data.
When either
or
corresponds to any of the following conditions in comparing given or current time data with specified
clock data, the operation error (error code: 4101) or a malfunction may occurs.
• The range of the devices to be used for the index modification is specified over the range of the device specified by
or .
• File registers are specified by
or
without a register set.
(2) This instructions set BIN values for each item.
(3) This instructions sets the time selected from 0 to 23 (midnight to 23 o'clock) with the BIN value specified by or .
(Uses the 24-hour clock.)
7.15.8
TM=, TM<>, TM>, TM<=, Time comparison
TM<, TM>=
7.15.8
TM=, TM<>, TM>, TM<=, TM<, TM>=
• QnU(D)(H)CPU, QnUDE(H)CPU: The serial number (first five
digits) is "10102" or later.
Setting
Data
Internal Devices
R, ZR
J \
U \G
Zn
Constants
K, H
Other
Bit
Word
Bit
Word
––
––
––
––
––
––
––
––
n ––
––
Bas
i
c
Hi
gh
performance
Process
Redundant
Universal
LCPU
Ver.
n
S2
S1
LD
n
S2
S1
AND
OR
n
S2
S1
Command
Command
i
nd
i
cates
an
i
nstruct
i
on
symbo
l
of
D
T=/
D
T
<>
/
D
T
<
/
D
T
<
=/
D
T
>
/
D
T
>
=
.
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
S1
S1
S1
S1
+
1
S1
H
our
M
i
nute
Second
(0
23)
Data
range
Compar
i
son
operator
(0
59)
(0
59)
+
2
Compar
i
son
operat
i
on
resu
l
t
Current
t
i
me
S1
S1
S1
S1
S1
S1
S1
S1