EasyManua.ls Logo

Omron CP - PROGRAMMING MANUAL 05-2007 - Page 290

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...
257
Data Movement Instructions Section 3-7
Examples Four-digit Transfer
When CIO 0.00 is ON in the following example, four digits of data are copied
from CIO 200 to CIO 300. The transfer begins with the digit 1 of CIO 200 and
digit 0 or CIO 300, in accordance with the control word’s value of 0031.
Note After reading the leftmost digit of S (digit 3), MOVD(083) wraps to the right-
most digit (digit 0).
Examples of C
The following diagram shows examples of data transfers for various values of
C.
3-7-7 MULTIPLE BIT TRANSFER: XFRB(062)
Purpose Transfers the specified number of consecutive bits.
Ladder Symbol
Variations
Applicable Program Areas
C: D300
S: 200
D: 300
Digit no.
Digit no.
First digit in D: Digit 0
Number of digits: 3 (4 digits)
First digit in S: Digit 1
0.00
D300
Digit 0
Digit 1
Digit 2
Digit 3
Digit 0
Digit 1
Digit 2
Digit 3
Digit 0
Digit 1
Digit 2
Digit 3
Digit 0
Digit 1
Digit 2
Digit 3
Digit 0
Digit 1
Digit 2
Digit 3
Digit 0
Digit 1
Digit 2
Digit 3
Digit 0
Digit 1
Digit 2
Digit 3
Digit 0
Digit 1
Digit 2
Digit 3
C
S
D
XFRB(062)
C: Control word
S: First source word
D: First destination word
Variations Executed Each Cycle for ON Condition XFRB(062)
Executed Once for Upward Differentiation @XFRB(062)
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

Table of Contents

Related product manuals