EasyManua.ls Logo

Omron CP - PROGRAMMING MANUAL 05-2007 - Page 288

Omron CP - PROGRAMMING MANUAL 05-2007
1175 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...
255
Data Movement Instructions Section 3-7
3-7-6 MOVE DIGIT: MOVD(083)
Purpose Transfers the specified digit or digits. (Each digit is made up of 4 bits.)
Ladder Symbol
Variations
Applicable Program Areas
Operands S: Source Word
The source digits are read from right to left, wrapping back to the rightmost
digit (digit 0) if necessary.
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.
D: Destination Word
The destination digits are written from right to left, wrapping back to the right-
most digit (digit 0) if necessary.
Operand Specifications
S
C
D
MOVD(083)
S: Source word or data
C: Control word
D: Destination word
Variations Executed Each Cycle for ON Condition MOVD(083)
Executed Once for Upward Differentiation @MOVD(083)
Executed Once for Downward Differentiation Not supported
Immediate Refreshing Specification Not supported
Block program areas Step program areas Subroutines Interrupt tasks
OK OK OK OK
15 8 011 37412
S
Digit 3 Digit 2 Digit 1 Digit 0
15 8 011 37 412
C
0
l
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
First digit in D (l
l
): 0 to 3
Always 0.
nm
15 8 011 37412
D
Digit 3 Digit 2 Digit 1 Digit 0
Area S C D
CIO Area CIO 0 to CIO 6143
Work Area W0 to W511
Holding Bit Area H0 to H511

Table of Contents

Related product manuals