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 #372 background imageLoading...
Page #372 background image
2 Instruction Descriptions
2-324
NJ-series Instructions Reference Manual (W502)
The MoveDigit instruction moves Size digits from the InPos digit in move source In to the InOutPos digit
in move destination InOut. One digit is four bits.
The following example is for when InPos is USINT#1, InOutPos is USINT#2, and Size is USINT#2.
• If the position of the digit at the destination exceeds the most-significant digit of InOut, the remaining
digits are stored the least-significant digits of InOut.
• If the position of the digit at the source exceeds the most-significant digit of In, the remaining digits
are moved to the least-significant digits of In.
• If the value of Size is 0, the value of Out will be TRUE and InOut 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 InOut will not change.
• The value of InPos is outside of the valid range.
• The value of InOutPos is outside of the valid range.
• The value of Size is outside of the valid range.
Function
Precautions for Correct Use
MoveDigit(abc, USINT#1, def, USINT#2, USINT#2);
LD ST
abc
def
def
USINT#1
USINT#2
USINT#2
MoveDigit
EN ENO
In
InPos
InOut
InOutPos
Size
Digit 0
Digit 1Digit 2Digit 3
Digit 0Digit 1Digit 2Digit 3
1 digit = 4 bits
In=abc
InOut=def
InPos=USINT#1
Size=USINT#2
InOutPos=USINT#2

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