Omron SYSMAC CS Series Instruction & Reference Manual page 240

Hide thumbs Also See for SYSMAC CS Series:
Table of Contents

Advertisement

3. Instructions
MOVD
Instruction
MOVE DIGIT
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
S
Source word or data
C
Control word
D
Destination word
S: Source Word
15
12
11
S
Digit 3
Digit 2
The source digits are read from right to left,
wrapping back to the rightmost digit (digit 0) if
necessary.
C: Control Word
15
12
11
C
0
Always 0.
 Operand Specifications
Word addresses
Area
CIO
WR
HR
S
C
OK
OK
OK
D
206
Mnemonic
Variations
MOVD
@MOVD
Block program areas
Step program areas
OK
OK
Description
8
7
4
3
0
Digit 1
Digit 0
8
7
4
3
0
n
m
First digit in S (m): 0 to 3
Number of digits (n): 0 to 3
First digit in D ( ): 0 to 3
AR
T
C
DM
EM
OK
OK
OK
OK
OK
Function
code
Transfers the specified digit or digits.
083
(Each digit is made up of 4 bits.)
MOVB
MOVD(083)
S: Source word or data
S
C
C: Control word
D
D: Destination word
Subroutines
OK
Data type
WORD
UINT
UINT
D: Destination Word
15
12
11
D
Digit 3
Digit 2
The destination digits are written from right to
left, wrapping back to the rightmost digit (digit
0) if necessary.
0: 1 digit
1: 2 digits
2: 3 digits
3: 4 digits
Indirect DM/EM
addresses
Con-
stants
@DM
*DM
DR
@EM
*EM
OK
OK
OK
OK
---
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Function
SFC action or
Interrupt tasks
transition programs
OK
OK
Size
1
1
1
8
7
4
3
0
Digit 1
Digit 0
Registers
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
OK
---
---
TR
bits
---
---

Advertisement

Table of Contents
loading

Table of Contents