EasyManuals Logo

Omron NJ501-1500 User Manual

Omron NJ501-1500
990 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #535 background imageLoading...
Page #535 background image
2-487
2 Instruction Descriptions
NJ-series Instructions Reference Manual (W502)
Stack and Table Instructions
2
RecRangeSearch
RecRangeSearch
The RecRangeSearch instruction searches an array of structures for elements that match the search
condition range with the specified method.
* If you omit the input parameter, the default value is not applied. A building error will occur.
Instruction Name FB/FUN Graphic expression ST expression
RecRangeSearch Range Record
Search
FUN Out:=RecRangeSearch(In,
Size, Member, MN, MX,
Condition, Mode, InOutPos,
Num);
Variables
Name Meaning I/O Description Valid range Unit Default
In[] (array) Array to
search
Input
Array of structures to search
---
---
*
Size Number of
elements to
search
Number of array elements to
search
Depends on data type.
1
Member Member to
search
Member of In[] structure to
search
*
MN Search
condition
lower limit
Search condition lower limit
MX Search
condition
upper limit
Search condition upper limit
Condition Search
condition
Search condition _EQ_BOTH,
_EQ_MIN,
_EQ_MAX,
_NE_BOTH
_EQ_
BOTH
Mode Search
method
Search method _LINEAR,
_BIN_ASC,
_BIN_DESC
_LINEA
R
InOutPos[]
(array)
Element
numbers of
matching
elements
In-out Element numbers of
matching elements
Depends on data type. --- ---
Out Search
result
Output
TRUE: There are elements
that match conditions
FALSE: There are no
elements that match
conditions
Depends on data type.
--- ---
Num Number of
matches
Number of matches
(@)RecRangeSearch
EN ENO
In Out
Size Num
Member
MN
MX
Condition
Mode
InOutPos

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron NJ501-1500 and is the answer not in the manual?

Omron NJ501-1500 Specifications

General IconGeneral
BrandOmron
ModelNJ501-1500
CategoryController
LanguageEnglish

Related product manuals