Aryexchange - Omron NY532-5400 Reference Manual

Ny-series
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

AryExchange

The AryExchange instruction exchanges the elements of two arrays.
Instruction
AryExchange
Array Data
Exchange
Variables
Name
Meaning
Size
Number of
elements
InOut1[]
Arrays to
and
exchange
InOut2[]
(arrays)
Out
Return
value
Bit strings
Size
OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK
InOut1[]
(array)
InOut2[]
(array)
Out
OK
Function
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[].
NY-series Instructions Reference Manual (W560)
Name
FB/FUN
FUN
I/O
Description
Input
Number of elements to
exchange
In-out
Arrays to exchange
Output
Always TRUE
OK
Arrays of enumerations or structures can also be specified.
Must be an array with the same data type as InOut1[].
Graphic expression
(@)AryExchange
EN
ENO
InOut1
InOut2
Size
Valid range
Depends on data type.
Depends on data type.
TRUE only
Integers
2 Instruction Descriptions
ST expression
AryExchange(InOut1,
InOut2, Size);
Out
Unit
Default
---
1
---
---
---
---
Times, durations,
dates, and text strings
2
2-369

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents