Omron CJ - PROGRAMMING MANUAL 08-2008 Programming Manual page 134

Programmable controllers
Hide thumbs Also See for CJ - PROGRAMMING MANUAL 08-2008:
Table of Contents

Advertisement

Data Shift Instructions
Instruction
Symbol/Operand
Mnemonic
Code
SHIFT N-BITS
NASL(580)
LEFT
NASL
@NASL
580
D: Shift word
C: Control word
DOUBLE SHIFT
NSLL(582)
N-BITS LEFT
NSLL
@NSLL
582
D: Shift word
C: Control word
SHIFT N-BITS
NASR(581)
RIGHT
NASR
@NASR
581
D: Shift word
C: Control word
DOUBLE SHIFT
NSRL(583)
N-BITS RIGHT
NSRL
@NSRL
583
D: Shift word
C: Control word
96
Shifts the specified 16 bits of word data to the left by the specified
number of bits.
D
C
Lost
Shifts the specified 32 bits of word data to the left by the specified
number of bits.
D
C
Lost
Shifts the specified 16 bits of word data to the right by the specified
number of bits.
D
C
Contents of "a" or
"0" shifted in
Shifts the specified 32 bits of word data to the right by the specified
number of bits.
D
C
Contents of
"a" or "0"
shifted in
N bits
Function
Shift n-bits
Contents of
"a" or "0"
shifted in
N bits
Shift n-bits
N bits
N bits
Shift n-bits
Section 3-7
Location
Execution condition
Output
Required
Output
Required
Contents of
"a" or "0"
shifted in
Output
Required
Lost
Output
Required
Lost

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CJ - PROGRAMMING MANUAL 08-2008 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents