EasyManuals 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 #366 background imageLoading...
Page #366 background image
2 Instruction Descriptions
2-318
NJ-series Instructions Reference Manual (W502)
MOVE
The MOVE instruction moves the value of a constant or variable to another variable.
* If you omit the input parameter, the default value is not applied. A building error will occur.
The MOVE instruction moves the value in move source In to move destination Out. The input parameter
that is passed to In can be a variable or constant. You can specify an enumeration, array, array element,
structure, or structure member for In.
The following figure shows a programming example. The content of variable abc is moved to variable
def.
Instruction Name FB/FUN Graphic expression ST expression
MOVE Move FUN Out:=In;
Variables
Name Meaning I/O Description Valid range Unit Default
In Move
source
Input Move source Depends on data type.
--- *
Out Move
destination
Output Move destination Depends on data type.
---
*
Boolean
Bit strings Integers
Real
numbers
Times, durations,
dates, and text strings
BOOL
BYTE
WORD
DWORD
LWORD
USINT
UINT
UDINT
ULINT
SINT
INT
DINT
LINT
REAL
LREAL
TIME
DATE
TOD
DT
STRING
In
OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK
An enumeration, array, array element, structure, or structure member can also be specified.
Out
OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK
Must be the same data type as In if In is an enumeration, array element, structure, or structure member.
Must be an array with the same data type, size, and subscripts if In is an array,
Function
(@)MOVE
EN ENO
In Out
def:=abc;
LD ST
abc def
MOVE
EN ENO
In Out

Table of Contents

Questions and Answers:

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
BrandOmron
ModelNJ501-1500
CategoryController
LanguageEnglish

Related product manuals