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

2 Instruction Descriptions
Additional Information
In[] can be an array with two or more dimensions. Out will contain the total number of elements for all
dimensions of In[]. For example, if the input parameter that is passed to In[] is ARRAY[0..1,0..2], the
value of Out will be UINT#6.
LD
EN
abc
In
In[0,0]=abc[0,0]
In[0,1]=abc[0,1]
In[0,2]=abc[0,2]
In[1,0]=abc[1,0]
In[1,1]=abc[1,1]
In[1,2]=abc[1,2]
2-464
Data type
Variable
abc
ARRAY[0..1,0..2] OF BOOL
SizeOfAry
ENO
def
Number of array elements
ST
def:=SizeOfAry(abc);
Out=def UINT#6

NJ-series Instructions Reference Manual (W502)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nj501-1300Nj501-1400

Table of Contents