![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_742268382.webp)
343
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 destination bit (m), the number of
bits to transfer (n), and the first source digit (
l
), as shown in the following dia-
gram.
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
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
15
8
0
3
7
4
C
l
n
m
First bit in S (
ll
): 0 to F
First bit in D (m): 0 to F
Number of bits (n):
00 to FF (0 to 255)
15
0
S
to
to
S+16 max.
Summary of Contents for SYSMAC CS1D-CPU**
Page 3: ...iv...
Page 29: ...xxx...
Page 185: ...146 List of Instructions by Function Code Section 2 4...
Page 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Page 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Page 1391: ...1352 ASCII Code Table Appendix A...