Mitsubishi MELSEC Q Series Programming Manual page 735

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

Advertisement

(b) Comparison of current time data
• This instruction treats the clock data specified by
normally open contact, and compares the data in accordance with the value of n.
• This instruction treats the clock data specified by
data.
S1
S1
+1
S1
+2
When either
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
• 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
S1
(4) This instructions sets the minute selected from 0 to 59 (0 to 59 minutes) with BIN value
specified by
+1 or
S1
(5) This instructions sets the second selected from 0 to 59 (0 to 59 seconds) with BIN value
specified by
+2 or
S1
(6) This instructions 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) Clock data to be compared (from 0 to 2nd bit)
• 0: Does not compare specified clock data (hour/minute/second).
• 1: Compares specified clock data (hour/minute/second).
(b) Operation data to be compared (15th bit)
• 0: Compares the clock data specified by
• 1: Compares the clock data specified by
Ignores the clock data specified by
Data range
(0∼23)
Hour
Comparison
Minute
(0∼59)
operator
Second
(0∼59)
or
corresponds to any of the following conditions in comparing
S1
S1
or
S1
or
. (Uses the 24-hour clock.)
S1
+1.
S1
+2.
S1
b3
b2
b1
b0
0
0/1 0/1 0/1
.
S1
(TM=,TM<>,TM>,TM<=,TM<,TM>=)
and the current time data as a
S1
as dummy data and ignores the
S1
Current time
or
.
S1
S1
without a register set.
S1
Second
Minute
Hour
with the clock data specified by
S1
with the current time data.
S1
1
2
3
Comparison
operation result
4
6
6
7
8
.
S1
7-361

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents