![background image](http://html.mh-extra.com/html/mitsubishi-electric/melsec-iq-f-fx5/melsec-iq-f-fx5_programming-manual_239114651.webp)
8 APPLICATION INSTRUCTION
8.22 Data Operation Instruction
649
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)+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
Searched device
(s1)
Searched data
(s1) value
(example)
Comparison data
(s2) value
(example)
Data position
Search result
Maximum value
(d)+9, (d)+8
Same (d)
Minimum value
(d)+7, (d)+6
(s1)+1, (s)
K100000
K100000
0
(First time)
(s1)+3, (s1)+2
K110100
1
(s1)+5, (s1)+4
K100000
2
(s1)+7, (s1)+6
K98000
3
(s1)+9, (s1)+8
K123000
4
(s1)+11, (s1)+10
K66000
5
(s1)+13, (s1)+12
K100000
6
(Last)
(s1)+15, (s1)+14
K95000
7
(s1)+17, (s1)+16
K910000
8
(s1)+19, (s1)+18
K910000
9
Device number
Description
Search result item
(d)+1, (d)
3
Number of same data
(d)+3, (d)+2
0
Same data position (first position)
(d)+5, (d)+4
6
Same data position (last position)
(d)+7, (d)+6
5
Minimum value position (last position)
(d)+9, (d)+8
9
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.
Summary of Contents for MELSEC iQ-F FX5
Page 1: ...MELSEC iQ F FX5 Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 17: ...15 CONTENTS ...
Page 24: ...22 MEMO ...
Page 1050: ...1048 26 TIME DATA FUNCTIONS 26 4 Division MEMO ...
Page 1068: ...1066 29 COUNTER FUNCTION BLOCKS 29 4 Counter Function Block Operation error There is no error ...
Page 1107: ...I 1105 MEMO ...
Page 1111: ......