EasyManuals Logo

GE VersaMax PLC User Manual

GE VersaMax PLC
318 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 #179 background imageLoading...
Page #179 background image
10.8 Table Functions
The Table functions are used to:
• Copy array data: ARRAY MOVE
• Search for values in an array
The maximum length allowed for these functions is 32,767 for any type.
Data Types for the Table Functions
Table functions operate on these types of data:
INT
Signed integer
DINT
Double precision signed integer
BOOL †
Bit data type
BYTE
Byte data type
WORD
Word data type
† Applies to Array Move only
10.8.1 Table Functions Array Move
The Array Move function copies a specified number of elements from a source array to a
destination array. When the function receives power flow, it copies the number of
elements specified from the input array, starting at the indexed location. The function then
writes the copied elements to the output array starting with the indexed location.
For bit data, when word-oriented memory is selected for the parameters of the source
array and/or destination array starting address, the least significant bit of the specified
word is the first bit of the array.
The indices in an Array Move instruction are 1-based. In using an Array Move, no
element outside either the source or destination arrays (as specified by their starting
address and length) may be referenced.
The OK output receives power flow unless one of the following occurs:
• Enable is OFF
• (N + SNX – 1) is greater than (length)
• (N + DNX – 1) is greater than (length)
Source array address
OK Enable
ARRAY
MOVE_
BOOL
SR
Source array index SNX
Destination array index
DNX
Destination array address
DS
(elements to transfer)
N
Instruction Set Reference GFK-1503E User Manual 179
For public disclosure

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the GE VersaMax PLC and is the answer not in the manual?

GE VersaMax PLC Specifications

General IconGeneral
BrandGE
ModelVersaMax PLC
CategoryController
LanguageEnglish

Related product manuals