Mitsubishi MELSEC-Q/L Programming Manual page 587

Table of Contents

Advertisement

7.15.8
TM=, TM<>, TM>, TM<=, Time comparison
TM<, TM>=
7.15.8
TM=, TM<>, TM>, TM<=, TM<, TM>=
LD
AND
OR
: Head number of the devices where the data to be compared are stored (BIN 16 bits)
S1
: Head number of the devices where the data to be compared are stored (BIN 16 bits)
S2
n
: Value of the data to be compared or the number of the stored data to be compared (BIN 16 bits)
Setting
Internal Devices
Data
Bit
Word
––
S1
––
S2
n
––
Function
(1) This instruction compares the clock data specified by
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
contact, and compares the data in accordance with the value of n.
S1
Hour
S1
Minute
+1
S1
Second
+2
(b) Comparison of current time data
• This instruction treats the clock data specified by
compares the data in accordance with the value of n.
• This instruction treats the clock data specified by
S1
Hour
S1
Minute
+1
S1
Second
+2
When either
S1
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
.
S1
• File registers are specified by
(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
(Uses the 24-hour clock.)
indicates an instruction symbol of
Command
Command
J
\
R, ZR
Bit
S1
Data range
(0
23)
S2
Comparison
(0
59)
S2
+1
operator
(0
59)
S2
+2
Data range
(0
23)
Comparison
(0
59)
operator
(0
59)
or
corresponds to any of the following conditions in comparing given or current time data with specified
S1
or
without a register set.
S1
S1
TM=, TM<>, TM>, TM<=, TM<, TM>=
High
Basic
performance
• QnU(D)(H)CPU, QnUDE(H)CPU: The serial number (first five
digits) is "10102" or later.
DT=/DT<>/DT</DT<=/DT>/DT>=
S1
S2
S1
S2
S1
S2
U
\G
Word
––
––
with those specified by
, or the clock data specified by
S1
and the clock data specified by
S1
Data range
Hour
(0
23)
Minute
(0
59)
Second
(0
59)
and the current time data as a normally open contact, and
S1
as dummy data and ignores the data.
S1
Comparison
Current time
operation result
Ver.
Process
Redundant
Universal
LCPU
.
n
n
n
Constants
Zn
Other
K, H
––
––
––
––
––
S1
as a normally open
S1
Comparison
operation result
or
S1
1
2
3
4
4
6
7
8
with
S1
.
S1
585

Advertisement

Table of Contents
loading

Table of Contents