4

Section 7: Table Functions

Table functions are used to perform the following functions:

Abbreviation

Function

Description

Page

 

 

 

 

 

 

 

 

ARRAY_MOVE

Array Move

Copy a specified number of data elements from a source

4-87

 

 

array to a destination array.

 

 

 

 

 

SRCH_EQ

Search Equal

Search for all array values equal to a specified value.

4-91

 

 

 

 

SRCH_NE

Search Not Equal

Search for all array values not equal to a specified value.

4-91

 

 

 

 

SRCH_GT

Search Greater

Search for all array values greater than a specified value.

4-91

 

Than

 

 

 

 

 

 

SRCH_GE

Search Greater

Search for all array values greater than or equal to a

4-91

 

Than or Equal

specified value.

 

 

 

 

 

SRCH_LT

Search Less Than

Search for all array values less than a specified value.

4-91

 

 

 

 

SRCH_LE

Search Less Than

Search for all array values less than or equal to a

4-91

 

or Equal

specified value.

 

 

 

 

 

The maximum length allowed for these functions is 32,767 bytes or words, or 262,136 bits (bits are available for ARRAY_MOVE only).

Table functions operate on these types of data:

Data Type

Description

 

 

 

 

INT

Signed integer.

 

 

DINT

Double precision signed integer.

 

 

BIT *

Bit data type.

 

 

BYTE

Byte data type.

 

 

WORD

Word data type.

 

 

*Only available for ARRAY_MOVE.

The default data type is signed integer. The data type can be changed after selecting the specific data table function. To compare data of other types or of two different types, first use the appropriate conversion function (described in section 8, “Conversion Functions”) to change the data to one of the data types listed above.

4-86

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

GFK-0467K

Page 167
Image 167
GE 90-30/20/Micro manual Table Functions