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 #243 background imageLoading...
Page #243 background image
2-195
2 Instruction Descriptions
NJ-series Instructions Reference Manual (W502)
Math Instructions
2
AryAddV
AryAddV
The AryAddV instruction adds the same value to specified elements of an array.
* If you omit an input parameter, the default value is not applied. A building error will occur.
The AryAddV instruction adds value to add In2 to Size elements of addition array In1[] starting from
In1[0]. It outputs the results to addition results array AryOut[].
Instruction Name FB/FUN Graphic expression ST expression
AryAddV Array Value
Addition
FUN AryAddV(In1, In2, Size, Ary-
Out);
Variables
Name Meaning I/O Description Valid range Unit Default
In1[] (array) Addition
array
Input
Addition array
Depends on data type.
---
*
In2 Value to
add
Value to add
Size Number of
elements
Number of elements of In1[]
for addition
1
AryOut[]
(array)
Addition
results
array
In-out Addition results array Depends on data type.
--- ---
Out Return
value
Output Always TRUE TRUE only --- ---
Boolean
Bit string 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
In1[] (array) OK OK OK OK OK OK OK OK OK OK
In2 Must be same data type as In1[].
Size OK
AryOut[]
(array)
Must be same data type as In1[].
Out OK
Function
(@)AryAddV
EN ENO
In1 Out
In2
Size
AryOut

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