EasyManua.ls Logo

Omron CJ - INSTRUCTIONS - Data Shift Instructions

Omron CJ - INSTRUCTIONS
1308 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
54
CS/CJ/NSJ Series Instructions Reference Manual (W474)
2. Summary of Instructions
2-2-7 Data Shift Instructions
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution
condition
Page
SHIFT REGISTER
SFT
010
Output
Required
307
REVERSIBLE
SHIFT REGISTER
SFTR
@SFTR
084
Output
Required
309
ASYNCHRO-
NOUS SHIFT
REGISTER
ASFT
@ASFT
017
Output
Required
311
WORD SHIFT
WSFT
@WSFT
016
Output
Required
313
ARITHMETIC
SHIFT LEFT
ASL
@ASL
025
Output
Required
315
DOUBLE SHIFT
LEFT
ASLL
@ASLL
570
Output
Required
315
SFT(010)
St
E
D
ata
input
Shift
input
Reset
input
St: Starting word
E: End word
E
St+1, St+2
St
Lost
Status of data
input for each shif
t
input
Operates a shift register.
SFTR(084)
C
St
E
C: Control word
St: Starting word
E: End word
E
E
Data input
St
St
Creates a shift register that shifts data to either the right or the left.
Shift
direc-
tion
Data
in
p
ut
ASFT(017)
C
St
E
C: Control word
St: Starting word
E: End word
E
E
St
St
• • •• • •
Clear
Shift
Shift
Non-zero data
Zero data
Shift enabled
Shift direction
Shifts all non-zero word data within the specified word range either
towards St or toward E, replacing 0000Hex word data.
WSFT(016)
S
St
E
S: Source word
St: Starting word
E:En
d
w
o
r
d
E
St
Lost
Shifts data between St and E in word units.
ASL(025)
Wd
Wd: Word
Shifts the contents of Wd one bit to the left.
ASLL(570)
Wd: Word
Wd
WdWd+1
Shifts the contents of Wd and Wd +1 one bit to the left.

Table of Contents

Related product manuals