Date Comparison (Dt=,Dt<>,Dt>,Dt<=,Dt<,Dt>=) - Mitsubishi MELSEC Q Series Programming Manual

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

7.15.7
Date comparison (DT=,DT<>,DT>,DT<=,DT<,DT>=)
(DT=,DT<>,DT>,DT<=,DT<,DT>=)
LD
AND
OR
Setting
Data
S1
S2
n
Function
(1) This instruction compares the date data specified by
date data specified by
compared.
(a) Comparison of given date data
(b) Comparison of current date data
indicates an instruction symbol of
Command
Command
: 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)
Internal Devices
R, ZR
Bit
Word
––
––
––
with current date data. Setting n can determine the data to be
S1
• This instruction treats the date data specified by
contact, and then compares the data in accordance with the value of n.
Data range
S1
Year
(1980∼2079)
S1
Month
(1∼12)
+1
S1
Day
(1∼31)
+2
• This instruction treats the date data specified by
normally open contact, and then compares the data in accordance with the value of
n.
• Time data specified by
S1
Year
S1
Month
+1
S1
Day
+2
(DT=,DT<>,DT>,DT<=,DT<,DT>=)
Basic
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.
DT=/DT<>/DT</DT<=/DT>/DT>=
J
\
U
\G
Bit
Word
––
––
with those specified by
S1
S1
S2
Year
Comparison
S2
Month
+1
operator
S2
Day
+2
S1
is treated as dummy data, and is ignored.
S2
Data range
(1980 to 2079)
Comparison
(1 to 12)
Current date
operator
(1 to 31)
Ver.
High
Process
Redundant
Universal
performance
n
n
n
Constants
Zn
K, H
––
––
, or the
S2
and
as a normally open
S2
Data range
(1980∼2079)
Comparison
(1∼12)
operation result
(1∼31)
and the current date data as a
Comparison
operation result
1
2
LCPU
3
.
4
6
6
7
8
Other
––
––
––
7-355

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents