704
8 APPLICATION INSTRUCTION
8.24 Clock Instruction
• 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.
Ex.
The date data A, B, and C are compared.
• 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.
• 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.
Operation error
There is no operation error.
Instruction symbol
Condition
Result
Instruction symbol
Condition
Result
DT=
(s1)=(s2)
Conductive state
DT=
(s1)
(s2)
Non-conductive state
DT<>
(s1)
(s2)
DT<>
(s1)=(s2)
DT>
(s1)>(s2)
DT>
(s1)
(s2)
DT<=
(s1)
(s2)
DT<=
(s1)>(s2)
DT<
(s1)<(s2)
DT<
(s1)
(s2)
DT>=
(s1)
(s2)
DT>=
(s1)<(s2)
: Continuity,
: Non-continuity
Comparison target data
Condition
A<B
B<C
A<C
Day
Month
Month, day
Year
Year, day
Year, month
Year, month, day
None
• 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
Condition
A<B
B<C
A<C
Day
Month
Month, day
Year
Year, day
Year, month
Year, month, day
None
A
(2006/9/22)
B
(2007/6/23)
C
(2008/8/8)
2009/1/1
2008/1/1
2007/1/1
2006/1/1
Содержание MELSEC iQ-F FX5
Страница 1: ...MELSEC iQ F FX5 Programming Manual Instructions Standard Functions Function Blocks ...
Страница 2: ......
Страница 17: ...15 CONTENTS ...
Страница 24: ...22 MEMO ...
Страница 25: ...23 PART 1 PART 1 OVERVIEW Part 1 consists of the following chapter 1 OVERVIEW 2 PRECAUTIONS ON PROGRAMMING ...
Страница 126: ...124 6 SEQUENCE INSTRUCTIONS 6 3 Output Instructions Operation error There is no operation error ...
Страница 132: ...130 6 SEQUENCE INSTRUCTIONS 6 3 Output Instructions Operation error There is no operation error ...
Страница 140: ...138 6 SEQUENCE INSTRUCTIONS 6 3 Output Instructions Operation error There is no operation error ...
Страница 191: ...7 BASIC INSTRUCTIONS 7 2 Arithmetic Operation Instructions 189 7 Operation error There is no operation error ...
Страница 202: ...200 7 BASIC INSTRUCTIONS 7 2 Arithmetic Operation Instructions Operation error There is no operation error ...
Страница 278: ...276 7 BASIC INSTRUCTIONS 7 4 Bit Processing Instructions Operation error There is no operation error ...
Страница 280: ...278 7 BASIC INSTRUCTIONS 7 4 Bit Processing Instructions Operation error There is no operation error ...
Страница 915: ...18 TYPE CONVERSION FUNCTIONS 18 13 Converting DWORD to WORD 913 18 Operation error There is no operation error ...
Страница 917: ...18 TYPE CONVERSION FUNCTIONS 18 14 Converting DWORD to INT 915 18 Operation error There is no operation error ...
Страница 932: ...930 18 TYPE CONVERSION FUNCTIONS 18 26 Converting DINT to WORD Operation error There is no operation error ...
Страница 1050: ...1048 26 TIME DATA FUNCTIONS 26 4 Division MEMO ...
Страница 1068: ...1066 29 COUNTER FUNCTION BLOCKS 29 4 Counter Function Block Operation error There is no error ...
Страница 1107: ...I 1105 MEMO ...
Страница 1111: ......