![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_742030382.webp)
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.
Содержание SYSMAC CS Series
Страница 2: ......
Страница 4: ...iv ...
Страница 30: ...xxx ...
Страница 186: ...146 List of Instructions by Function Code Section 2 4 ...
Страница 194: ...154 3 35 4 MOVE BIT MOVBC 568 1273 3 35 5 BIT COUNTER BCNTC 621 1275 3 35 6 GET VARIABLE ID GETID 286 1277 ...
Страница 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Страница 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Страница 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Страница 1392: ...1352 ASCII Code Table Appendix A ...
Страница 1404: ...1364 Revision History ...