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 #381 background imageLoading...
Page #381 background image
2-333
2 Instruction Descriptions
NJ-series Instructions Reference Manual (W502)
Data Movement Instructions
2
AryExchange
AryExchange
The AryExchange instruction exchanges the elements of two arrays.
The AryExchange instruction exchanges Size elements from InOut1[0] of array to exchange InOut1[]
with Size elements from InOut2[0] of array to exchange InOut2[].
Instruction Name FB/FUN Graphic expression ST expression
AryExchange Array Data
Exchange
FUN AryExchange(InOut1,
InOut2, Size);
Variables
Name Meaning I/O Description Valid range Unit Default
Size Number of
elements
Input Number of elements to
exchange
Depends on data type.
--- 1
InOut1[]
and
InOut2[]
(arrays)
Arrays to
exchange
In-out Arrays to exchange Depends on data type.
--- ---
Out Return
value
Output Always TRUE TRUE only --- ---
Boolean
Bit strings Integers
Real
numbers
Times, durations,
dates, and text strings
BOOL
BYTE
WORD
DWORD
LWORD
USINT
UINT
UDINT
ULINT
SINT
INT
DINT
LINT
REAL
LREAL
TIME
DATE
TOD
DT
STRING
Size OK
InOut1[]
(array)
OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK
Arrays of enumerations or structures can also be specified.
InOut2[]
(array)
Must be an array with the same data type as InOut1[].
Out OK
Function
(@)AryExchange
EN ENO
InOut1
InOut2
Size Out

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