Ny-Series Instructions Reference Manual (W560 - Omron NY532-5400 Reference Manual

Ny-series
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

Additional Information
• When moving an array, you can move either one element or all of the elements in the array. To move
only one element, add the subscript to the array variable name. To move the entire array, do not add
the subscript to the array variable name.
Moving One Array Element
LD
abc[3]
Moving All Array Elements
LD
abc
• When moving a structure, you can move either one member or all of the members in the structure. To
move only one member, specify the member. To move the entire structure, give only the structure
name.
Moving One Member of a Structure
LD
abc.m
Moving the Entire Structure
LD
abc
• You can use the MemCopy instruction to move an entire array faster than with the MOVE instruction.
Precautions for Correct Use
• The data types of In and Out can be different as long as they are both in one of the following groups.
The valid range of Out must include the valid range of In.

NY-series Instructions Reference Manual (W560)

MOVE
EN
ENO
def[5]
In
Out
MOVE
EN
ENO
def
In
Out
MOVE
EN
ENO
In
Out
def.n
MOVE
EN
ENO
In
Out
def
ST
def[5]:=abc[3];
ST
def:=abc;
ST
def.n:=abc.m;
ST
def:=abc;
2 Instruction Descriptions
2
2-355

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents