Mitsubishi MELSEC-Q/L Programming Manual page 584

Table of Contents

Advertisement

DT=, DT<>, DT>, DT<=, DT<, DT>=
(b) Comparison of current date data
• This instruction treats the date data specified by
then compares the data in accordance with the value of n.
• Time data specified by
S1
Year
S1
Month
+1
S1
Day
+2
When either
S1
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
.
S2
• File registers are specified by
(2) This instruction sets BIN values for each item.
(3) This instruction sets the year of four digits selected from 1980 to 2079 with the BIN value specified by
(4) This instruction sets the month selected from 1 to 12 (January to December) with the BIN value specified by
+1.
S2
(5) This instruction sets the day selected from 1 to 31 (1st to 31st) for with the BIN value specified by
(6) This instruction specifies the following values at n so that the data to be compared can be specified.
The bit configuration specified at n is as follows.
This instruction specifies 0 at bits from 3rd to 14th.
The instruction will be non-conductive status without
specifying 0 regardless of the operation result.
b15 b14
0/1
If this instruction specifies 1 (on) at 15th bit, the
instruction compares S1 with the current date in
accordance with the bit condition specified at 0 to 2nd
bit.
(a) Date data to be compared (from 0 to 2nd bit)
• 0: Does not compare specified date data (year/month/day).
• 1: Compares specified date data (year/month/day).
(b) Operation data to be compared (15th bit)
• 0: Compares the date data specified by
• 1: Compares the date data specified by
• Ignores the date data specified by
582
is treated as dummy data, and is ignored.
S2
Data range
(1980 to 2079)
Comparison
(1 to 12)
operator
(1 to 31)
or
corresponds to any of the following in comparing given or current date data with given date data, the
S2
or
without a register set.
S1
S2
b3
b2
b1
b0
0
0/1 0/1 0/1
Day
Month
Year
with the date data specified by
S1
with the current date data.
S1
.
S2
and the current date data as a normally open contact, and
S1
Comparison
Current date
operation result
S2
or
.
S1
S2
+1 or
S1
+2 or
+2.
S1
S2
.
S1

Advertisement

Table of Contents
loading

Table of Contents