A-1-7 Data Shift Instructions - Omron CJ2 CPU UNIT SOFTWARE User Manual

Cj2 cpu unit software
Hide thumbs Also See for CJ2 CPU UNIT SOFTWARE:
Table of Contents

Advertisement

Appendices
Instruction
Mnemonic
DATA COL-
COLL
081
LECT
@COLL
MOVE TO
MOVR
560
REGISTER
@MOVR
MOVE TIMER/
MOVRW
561
COUNTER PV
@MOVRW
TO REGISTER
A-1-7
Data Shift Instructions
Instruction
Mnemonic
SHIFT REGIS-
SFT
010
TER
REVERSIBLE
SFTR
084
SHIFT REGIS-
@SFTR
TER
A-20
Code
Symbol/Operand
COLL(081)
Bs
Of
D
Bs: Source base
address
Of: Offset
D: Destination
word
MOVR(560)
S
D
S: Source
(desired word or
bit)
D: Destination
MOVRW(561)
S
D
S: Source
(desired TC
number)
D: Destination
(Index Register)
Code
Symbol/Operand
Operates a shift register.
Data
SFT(010)
input
Shift
St
input
E
Reset
input
Lost
St: Starting word
E: End word
Creates a shift register that shifts data to either the right
SFTR(084)
or the left.
C
St
E
C: Control word
Data
St: Starting word
input
E: End word
Function
Transfers the source word (calculated by adding an offset
value to the base address) to the destination word.
Bs
Bs+n
Sets the internal I/O memory address of the specified
word, bit, or timer/counter Completion Flag in the
specified Index Register. (Use MOVRW(561) to set the
internal I/O memory address of a timer/counter PV in
an Index Register.)
I/O memory address of S
Index Register
Sets the internal I/O memory address of the specified
timer or counter's PV in the specified Index Register.
(Use MOVR(560) to set the internal I/O memory address
of a word, bit, or timer/counter Completion Flag in an
Index Register.)
I/O memory address of S
Timer/counter PV only
Index Register
Function
E
St+1, St+2
E
St
E
St
Execution
Location
condition
Output
Required
Of
Output
Required
Output
Required
Execution
Location
Output
Required
St
Status of data
input for each
shift input
Output
Required
Data input
Shift
direc-
tion
CJ2 CPU Unit Software User's Manual
condition

Advertisement

Table of Contents
loading

Table of Contents