4

Parameters:

Parameter

Description

 

 

 

 

enable

When the function is enabled, the operation is performed.

 

 

AR

AR contains the starting address of the array to be searched.

 

 

Input NX

Input NX contains the index into the array at which to begin the search.

 

 

IN

IN contains the object of the search.

 

 

Output NX

Output NX holds the position within the array of the search target.

 

 

FD

FD indicates that an array element has been found and the function was successful.

 

 

LEN

LEN specifies the number of elements starting at AR that make up the array to be

 

searched. It may be 1 to 32,767 bytes or words.

 

 

Valid Memory Types:

Parameter

flow

%I

%Q

%M

%T

%S

%G

%R

%AI

%AQ

const

none

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

enable

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

AR

 

o

o

o

o

Δ

o

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

NX in

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

IN

 

o

o

o

o

Δ

o

 

 

 

 

 

 

 

 

 

 

 

 

 

 

NX out

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

FD

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Valid reference or place where power may flow through the function.

oValid reference for INT, BYTE, or WORD data only; not valid for DINT. Δ Valid reference for BYTE or WORD data only; not valid for INT or DINT.

4-92

Series 90-30/20/Micro Programmable Controllers Reference Manual–September 1998

GFK-0467K

Page 173
Image 173
GE 90-30/20/Micro manual Contains the object of the search