Mitsubishi MELSEC Q Series Programming Manual page 732

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

Advertisement

(DT=,DT<>,DT>,DT<=,DT<,DT>=)
(a) The following figure shows the comparison example of dates.
The following table shows the conductive states resulting from performing the
comparison operation of the dates 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.
(b) Even if the dates to be compared do not exist practically, this instruction executes the
comparison operation for the objects with the settable dates in accordance with the
following condition.
7-358
A
B
2006/1/1
2007/1/1
(2006/9/22)
(2007/6/23)
Comparison
objects
Day
Month
Month, day
Year
Month, day
Year, month
Year, month, day
No objects
• Date A: 2006/02/30 (This date is settable, though it does not exist.)
• Date B: 2007/03/29
• Date C: 2008/02/31 (This date is settable, though it does not exist.)
Comparison
objects
Day
Month
Month, day
Year
Month, day
Year, month
Year, month, day
No objects
C
2008/1/1
2009/1/1
(2008/8/8)
Comparison condition
A<B
B<C
: Conductive
Comparison condition
A<B
B<C
: Conductive
A<C
: No-conductive
A<C
: No-conductive

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents