8 APPLICATION INSTRUCTION
8.22 Data Operation Instruction
647
8
• The following table shows example of search result table configuration and data. (n=10)
• The following table shows example of search result table.
Precautions
• Comparison is executed algebraically. (-10<2)
• When there are two or more maximum or minimum values in the searched data, the last position of the max/min is stored
respectively.
• When these instructions are driven, five devices ((d), (d)+1, (d)+2, (d)+3, and (d)+4) are occupied for storing the search
result (d). Make sure that these devices are not used in other controls for the machine.
Operation error
Searched device
(s1)
Searched data
(s1) value (example)
Comparison data
(s2) value (example)
Data position
Search result
Maximum
value (d)+4
Same (d)
Minimum
value (d)+3
(s1)
K100
K100
0
(First time)
(s1)+1
K111
1
(s1)+2
K100
2
(s1)+3
K98
3
(s1)+4
K123
4
(s1)+5
K66
5
(s1)+6
K100
6
(Last)
(s1)+7
K95
7
(s1)+8
K210
8
(s1)+9
K88
9
Device number
Description
Search result item
(d)
3
Number of same data
(d)+1
0
Same data position (first position)
(d)+2
6
Same data position (last position)
(d)+3
5
Minimum value position (last position)
(d)+4
8
Maximum value position (last position)
Error code
(SD0/SD8067)
Description
2820H
The device range specified by (s1) or (d) exceeds the corresponding device range.
3405H
The value stored in a device specified by (n) is 0.
Содержание 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: ......