Download Print this page

Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual page 706

Instructions, standard functions/function blocks
Hide thumbs Also See for MELSEC iQ-F FX5:

Advertisement

• If the comparison target data in the device are not recognized as date data, SM709 turns on after the instruction is executed
and the operation result will be non-continuity. Even if the data are not recognized as date data, SM709 does not turn on if
the data are within the setting range. If the device areas specified by (s1) to (s1)+2 or (s2) to (s2)+2 exceed the
corresponding device range, SM709 turns on after the instruction is executed and the operation result will be non-continuity
as well. Once SM709 turns on, the on state is held until the CPU module is powered off or reset. Turn off SM 709 as
needed.
• The following table lists the comparison operation results of each instruction.
Instruction symbol
DT=
DT<>
DT>
DT<=
DT<
DT>=
Ex.
The date data A, B, and C are compared.
A
2006/1/1
2007/1/1
(2006/9/22)
• The following table lists the comparison operation results between A, B, and C. Even when the data are compared under
the same conditions, the results differ depending on the comparison target data.
: Continuity, : Non-continuity
Comparison target data
Day
Month
Month, day
Year
Year, day
Year, month
Year, month, day
None
• Even though the specified date does not exist, the comparison operation is performed in accordance with the conditions in
the following table as long as the date data are within the valid range.
• Date A: 2006/02/30 (Even though the date does not exist, this date can be set.)
• Date B: 2007/03/29
• Date A: 2008/02/31 (Even though the date does not exist, this date can be set.)
: Continuity, : Non-continuity
Comparison target data
Day
Month
Month, day
Year
Year, day
Year, month
Year, month, day
None
Operation error
There is no operation error.
8 APPLICATION INSTRUCTION
704
8.24 Clock Instruction
Condition
Result
(s1)=(s2)
Conductive state
(s1)(s2)
(s1)>(s2)
(s1)(s2)
(s1)<(s2)
(s1)(s2)
B
C
2008/1/1
2009/1/1
(2007/6/23)
(2008/8/8)
Instruction symbol
Condition
DT=
(s1)(s2)
DT<>
(s1)=(s2)
DT>
(s1)(s2)
DT<=
(s1)>(s2)
DT<
(s1)(s2)
DT>=
(s1)<(s2)
Condition
A<B
B<C
Condition
A<B
B<C
Result
Non-conductive state
A<C
A<C

Hide quick links:

Advertisement

loading