Data Movement Instructions - Omron CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 Reference Manual

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

Advertisement

Data Movement Instructions

MOV/MOVL
Instruction
MOVE
DOUBLE MOVE
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
MOV: Source
S
MOVL: First source word
MOV: Destination
D
MOVL: First destination word
Operand Specifications
Word addresses
Area
CIO
WR
HR
S
MOV
OK
OK
OK
D
S
MOVL
OK
OK
OK
D
Flags
Name
Error Flag
Equal Flag
Negative Flag
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Mnemonic
Variations
@MOV, !MOV,
MOV
!@MOV
MOVL
@MOVL
MOV
MOV(021)
S: Source
S
D: Destination
D
Block program areas
Step program areas
OK
OK
Description
AR
T
C
DM
EM
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
Label
ER
OFF
=
• ON if the data being transferred (D) is 0.
• OFF in all other cases.
N
• ON if the leftmost bit of the data being transferred (D) is 1.
• OFF in all other cases.
Function
code
021
Transfers a word of data to the specified word.
498
Transfers two words of data to the specified words.
Subroutines
OK
Data type
MOV
WORD
WORD
Indirect DM/EM
addresses
Con-
stants
@DM
*DM
DR
@EM
*EM
OK
OK
OK
OK
---
OK
OK
OK
---
---
Operation
3. Instructions
Function
MOVL
MOVL(498)
S: First source word
S
D
D: First destination
word
SFC action or transition
Interrupt tasks
programs
OK
OK
Size
MOVL
MOV
DWORD
1
DWORD
1
Registers
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
OK
---
---
OK
OK
---
---
3
MOVL
2
2
TR
bits
---
---
---
---
275

Advertisement

Table of Contents
loading

Table of Contents