EasyManua.ls Logo

Omron CJ - PROGRAMMING MANUAL 12-2009 - Page 134

Omron CJ - PROGRAMMING MANUAL 12-2009
448 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...
94
Data Movement Instructions
Section 3-6
DOUBLE DATA
EXCHANGE
XCGL
@XCGL
562
Output
Required
SINGLE WORD
DISTRIBUTE
DIST
@DIST
080
Output
Required
DATA COLLECT
COLL
@COLL
081
Output
Required
MOVE TO REGIS-
TER
MOVR
@MOVR
560
Output
Required
MOVE TIMER/
COUNTER PV TO
REGISTER
MOVRW
@MOVRW
561
Output
Required
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution condition
XCGL(562)
E1
E2
E1: 1st exchange
word
E2: Second
exchan
g
e word
E2E1 E1+1 E2+1
Exchanges the contents of a pair of consecutive words with another
pair of consecutive words.
DIST(080)
S
Bs
Of
S: Source word
Bs: Destination
base address
Of: Offset
SB
Bs+n
s
Of
Transfers the source word to a destination word calculated by
adding an offset value to the base address.
COLL(081)
Bs
Of
D
Bs: Source base
address
Of: Offset
D: Destination
word
Bs
Bs+n
Of
Transfers the source word (calculated by adding an offset value to the
base address) to the destination word.
MOVR(560)
S
D
S: Source
(desired word or
bit)
D: Destination
(
Index Re
g
ister
)
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
S
D
MOVRW(561)
S: Source
(desired TC
number)
D: Destination
(Index Register)
Timer/counter PV only
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
Index Register

Table of Contents

Related product manuals