Omron SYSMAC CS/CJ Series Programming Manual page 109

Table of Contents

Advertisement

Data Movement Instructions
Instruction
Symbol/Operand
Mnemonic
Code
DOUBLE DATA
XCGL(562)
EXCHANGE
XCGL
@XCGL
562
E1: 1st exchange
word
E2: Second
exchange word
SINGLE WORD
DIST(080)
DISTRIBUTE
DIST
@DIST
080
S: Source word
Bs: Destination
base address
Of: Offset
DATA COLLECT
COLL(081)
COLL
@COLL
081
Bs: Source base
address
Of: Offset
D: Destination
word
MOVE TO
MOVR(560)
REGISTER
MOVR
@MOVR
560
S: Source
(desired word or
bit)
D: Destination
(Index Register)
MOVE TIMER/
MOVRW(561)
COUNTER PV TO
REGISTER
MOVRW
@MOVRW
561
S: Source
(desired TC
number)
D: Destination
(Index Register)
88
Exchanges the contents of a pair of consecutive words with another
pair of consecutive words.
E1
E1
E2
Transfers the source word to a destination word calculated by adding
an offset value to the base address.
S
S
Bs
Of
Transfers the source word (calculated by adding an offset value to the
base address) to the destination word.
Bs
Bs
Of
D
Bs+n
Sets the PC memory address of the specified word, bit, or
timer/counter Completion Flag in the specified Index Register. (Use
MOVRW(561) to set the PC memory address of a timer/counter PV in
S
an Index Register.)
D
Sets the PC memory address of the specified timer or counter's PV in
the specified Index Register. (Use MOVR(560) to set the PC memory
address of a word, bit, or timer/counter Completion Flag in an Index
S
Register.)
D
Timer/counter PV only
Function
E1+1
Bs
Bs+n
Of
I/O memory address of S
Index Register
I/O memory address of S
Index Register
Section 3-6
Location
Execution
condition
Output
Required
E2
E2+1
Output
Required
Of
Output
Required
Output
Required
Output
Required

Advertisement

Table of Contents
loading

Table of Contents