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