EasyManua.ls Logo

Omron NJ501-1500

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
Loading...
2-513
2 Instruction Descriptions
NJ-series Instructions Reference Manual (W502)
FCS Instructions
2
AryLRC_**
The following example shows the AryLRC_WORD instruction when Size is UINT#5.
Use the same data type for In[] and Out.
If the value of Size is 0, the value of Out is 16#00.
An error occurs in the following case. ENO will be FALSE, and Out will not change.
The value of Size exceeds the array area of In[].
An array without a subscript is passed to In[].
In[] is not an array of bit strings.
Precautions for Correct Use
def:=AryLRC_WORD(abc[4], UINT#5);
LD ST
abc[4]
def
UINT#5
AryLRC_WORD
EN ENO
In
Size
16#1638
Out = def
16#1234
16#2345
16#3456
16#4567
16#5678
In[0]=abc[4]
In[1]=abc[5]
In[2]=abc[6]
In[3]=abc[7]
In[4]=abc[8]
Size = UINT#5
Exclusive logical OR

Table of Contents

Related product manuals