EasyManua.ls 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 #376 background imageLoading...
Page #376 background image
2 Instruction Descriptions
2-328
NJ-series Instructions Reference Manual (W502)
The MemCopy instruction moves Size elements of move source array In[] starting from In[0] to move
destination array AryOut[] starting from AryOut[0].
The following example is for when Size is UINT#3.
You can specify different positions in the same array for In[] and AryOut[]. The source and destination
data can overlap.
The following example is for when In is A[2], AryOut is A[4], and Size is UINT#3.
Use the AryMove instruction (page 2-335) if the source and destination have different data types.
If the data types of In[] and AryOut[] are the same, this instruction is faster than the AryMove instruc-
tion.
Use the MOVE instruction (page 2-318) to move variables that are not arrays.
Use the same data type for In[] and AryOut[]. If they are different, a building error will occur.
If In[] and AryOut[] are STRING arrays, their sizes must be the same.
If the value of Size is 0, the value of Out will be TRUE and AryOut[] will not change.
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.
Size exceeds the array area of In[].
Size exceeds the array area of AryOut[].
Function
Additional Information
Precautions for Correct Use
MemCopy(abc[1], def[2], UINT#3);
LD ST
abc[1]
def[2]
def[2]
UINT#3
MemCopy
EN ENO
In
AryOut
Size
In[0]=abc[1]
In[1]=abc[2]
In[2]=abc[3]
Size=UINT#3
1234
2345
3456
AryOut[0]=def[2]
AryOut[1]=def[3]
AryOut[2]=def[4]
1234
2345
3456
A[1]
In=A[2]
A[3]
AryOut=A[4]
A[5]
A[6]
A[1]
In=A[2]
A[3]
AryOut=A[4]
A[5]
A[6]
Size=UINT#3
1234
2345
3456
4567
5678
6789
1234
2345
3456
2345
3456
4567

Table of Contents

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
ModelNJ501-1500
CPU TypeIntel Atom
SD Memory Card SlotYes
Power Supply Voltage24 V DC
Power Consumption30 W
Operating Temperature0 to 55 °C
USB PortYes
Power SupplyBuilt-in

Related product manuals