• The following table shows example of search result table.
Device number
(d)+1, (d)
(d)+3, (d)+2
(d)+5, (d)+4
(d)+7, (d)+6
(d)+9, (d)+8
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)+1,(d)], [(d)+3, (d)+2], [(d)+5, (d)+4], [(d)+7, (d)+6], and [(d)+9, (d)+8])
are occupied for storing the these result (d). Make sure that these devices are not used in other controls for the machine.
Operation error
Error code
Description
(SD0/SD8067)
2820
The device range specified by (s1) or (d) exceeds the corresponding device range.
3405
The value stored in a device specified by (n) is 0.
7 APPLICATION INSTRUCTION
550
7.17 Data operation instruction
Description
3
0
6
5
9
Search result item
Number of same data
Same data position (first position)
Same data position (last position)
Minimum value position (last position)
Maximum value position (last position)