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 #244 background imageLoading...
Page #244 background image
2 Instruction Descriptions
2-196
NJ-series Instructions Reference Manual (W502)
The following example is for when In2 is INT#11 and Size is UINT#3.
• Use the same data type for In1[], In2, and AryOut[].
• If the addition results exceed the valid range of AryOut[], the elements of AryOut[] will contain illegal
values. An error will not occur. Corruption will not occur in the data in the memory area adjacent to
those elements.
• The values in AryOut[] do not change if the value of Size is 0.
• Return value Out is not used when the instruction is used in ST.
• An error occurs in the following cases. ENO will be FALSE, and AryOut[] will not change.
• If In1[], In2, and AryOut[] have different data types.
• If the value of Size exceeds the array area of In1[] or AryOut[].
Precautions for Correct Use
AryAddV(abc[1], INT#11, UINT#3, def[2]);
LD ST
UINT#3
abc[1]
INT#11
def[2]
def[2]
AryAddV
EN ENO
In1
In2
Size
AryOut
In1[0]=abc[1]
In1[1]=abc[2]
In1[2]=abc[3]
12
23
34
In2=INT#11
In2=INT#11
In2=INT#11
+
+
+
AryOut[0]=def[2]
AryOut[1]=def[3]
AryOut[2]=def[4]
23
34
45
Size=UINT#3

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