Omron CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 Reference Manual page 361

Programmable controllers
Hide thumbs Also See for CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009:
Table of Contents

Advertisement

3. Instructions
NASL/NSLL
Instruction
SHIFT N-BITS LEFT
DOUBLE SHIFT N-BITS LEFT
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
D
Shift Word
C
Control word
C: Control word
NASL
15
12
11
8
7
C
0
Always 0.
Data shifted into register
0 Hex: 0 shifted in
8 Hex: Contents of rightmost bit shifted in
Operand Specifications
Area
CIO
WR
HR
D
NASL
OK
OK
OK
C
D
NSLL
OK
OK
OK
C
324
Mnemonic
Variations
NASL
@NASL
NSLL
@NSLL
NASL
NASL(580)
D
D: Shift word
C
C: Control word
Block program areas
Step program areas
OK
OK
Description
0
No. of bits to shift: 00 to 10 Hex
Word addresses
AR
T
C
DM
EM
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
Function
code
Shifts the specified 16 bits of word data to the left by the
580
specified number of bits.
Shifts the specified 32 bits of word data to the left by the
582
specified number of bits.
Subroutines
OK
Data type
NASL
NSLL
UINT
UDINT
UINT
UDINT
NSLL
15
12
11
8
7
C
0
Always 0.
Data shifted into register
0 Hex: 0 shifted in
8 Hex: Contents of rightmost bit shifted in
Indirect DM/EM
addresses
Con-
stants
@DM
*DM
DR
@EM
*EM
---
OK
OK
OK
OK
---
---
OK
OK
OK
OK
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Function
NSLL
NSLL(582)
D
D: Shift word
C
C: Control word
SFC action or transition
Interrupt tasks
programs
OK
OK
Size
NASL
NSLL
1
1
0
No. of bits to shift: 00 to 20 Hex
Registers
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
OK
---
---
---
---
OK
---
---
---
2
1
TR
bits
---
---

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 and is the answer not in the manual?

Questions and answers

Table of Contents