
342
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 CS Series
Page 2: ......
Page 4: ...iv ...
Page 30: ...xxx ...
Page 186: ...146 List of Instructions by Function Code Section 2 4 ...
Page 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Page 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Page 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Page 1392: ...1352 ASCII Code Table Appendix A ...
Page 1404: ...1364 Revision History ...