Omron CP - PROGRAMMING MANUAL 05-2007 Programming Manual page 288

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Data Movement Instructions
3-7-6
MOVE DIGIT: MOVD(083)
Purpose
Ladder Symbol
Variations
Applicable Program Areas
Operands
Operand Specifications
Transfers the specified digit or digits. (Each digit is made up of 4 bits.)
MOVD(083)
S: Source word or data
S
C: Control word
C
D
D: Destination word
Variations
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported
Immediate Refreshing Specification
Block program areas
OK
OK
S: Source Word
The source digits are read from right to left, wrapping back to the rightmost
digit (digit 0) if necessary.
15
12
11
8
7
S
Digit 3
Digit 2
Digit 1
C: Control Word
The first three digits of C indicate the first source digit (m), the number of dig-
its to transfer (n), and the first destination digit (l), as shown in the following
diagram.
15
12
11
8
7
l
0
C
n
First digit in D (l l ): 0 to 3
Always 0.
D: Destination Word
The destination digits are written from right to left, wrapping back to the right-
most digit (digit 0) if necessary.
15
12
11
8
7
D
Digit 3
Digit 2
Digit 1
Area
CIO Area
Work Area
Holding Bit Area
Step program areas
Subroutines
OK
4
3
0
Digit 0
4
3
0
m
First digit in S (m): 0 to 3
Number of digits (n): 0 to 3
0: 1 digit
1: 2 digits
2: 3 digits
3: 4 digits
4
3
0
Digit 0
S
CIO 0 to CIO 6143
W0 to W511
H0 to H511
Section 3-7
MOVD(083)
@MOVD(083)
Not supported
Interrupt tasks
OK
C
D
255

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents