![Omron CJ1G-CPUxx Instructions Manual Download Page 311](http://html1.mh-extra.com/html/omron/cj1g-cpuxx/cj1g-cpuxx_instructions-manual_742491311.webp)
290
Data Movement Instructions
Section 3-8
Examples of C
The following diagram shows examples of data transfers for various values of
C.
3-8-7
MULTIPLE BIT TRANSFER: XFRB(062)
Purpose
Transfers the specified number of consecutive bits.
Ladder Symbol
Variations
Applicable Program Areas
Operands
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.
S: First Source Word
Specifies the first source word. Bits are read from right to left, continuing with
consecutive words (up to S+16) when necessary.
Note The source words must be in the same data area.
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: Control word
S: First source word
D: First destination word
XFRB(062)
C
S
D
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
First bit in D (m): 0 to 3
First bit in S (
l
): 0 to F
Number of digits (n):
00 to FF (0 to 255)
15
8
0
3
7
4
C
n
m
l
S+16 max.
15
0
S
to
to
Summary of Contents for CJ1G-CPUxx
Page 3: ...iv N o t i c e ...
Page 5: ...vi ...
Page 21: ...xxii Conformance to EC Directives 6 ...
Page 35: ......
Page 1131: ...1110 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...