Nj-Series Instructions Reference Manual (W502 - Omron NJ501-1500 Reference Manual

Machine automation controller nj-series
Hide thumbs Also See for NJ501-1500:
Table of Contents

Advertisement

The following example shows the AryLRC_WORD instruction when Size is UINT#5.
LD
AryLRC_WORD
EN
abc[4]
In
UINT#5
Size
In[0]=abc[4]
In[1]=abc[5]
In[2]=abc[6]
Size = UINT#5
In[3]=abc[7]
In[4]=abc[8]
Precautions for Correct Use
• 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.

NJ-series Instructions Reference Manual (W502)

ST
def:=AryLRC_WORD(abc[4], UINT#5);
ENO
def
16#1234
Exclusive logical OR
16#2345
16#3456
16#4567
16#5678
2 Instruction Descriptions
16#1638
Out = def
2
2-513

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nj501-1300Nj501-1400

Table of Contents