EasyManua.ls Logo

Omron SYSMAC CV Series - Multiple Bit Transfer: Xfrb(038)

Omron SYSMAC CV Series
636 pages
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...
195
5-15-9 MULTIPLE BIT TRANSFER: XFRB(038)
(
038
)
XFRB C S D
Operand Data AreasLadder Symbol
Variations
XFRB(038)
S: First source word CIO, G, A, T, C, DM
C: Control word CIO, G, A, T, C, #, DM, DR, IR
D: First destination word CIO, G, A, DM
When the execution condition is OFF, XFRB(038) is not executed. When the ex-
ecution condition is ON, XFRB(038) transfers specified consecutive bits to a
destination beginning with a specified bit in a specified word.
The address of the beginning bit to be transferred is designated in hexadecimal
(0 to F) in the control word (C). The number of bits to be transferred can be speci-
fied within a range of 0 to 255, in hexadecimal (00 to FF). If “0” is specified, no
data will be transferred.
Number of bits to be transferred (00 to FF)
Control Word Contents
Beginning transfer bit address in source word (0 to F)
Beginning transfer bit address in destination word (0 to F)
Except for the bits that are transferred, none of the contents of the destination
word(s) will be changed.
Precautions Be sure that the last word in the transfer source or transfer destination does not
exceed the data area.
Flags ER (A50003): Content of a*DM word is not BCD when set for BCD.
Example 1 When CIO 000000 is ON in the following example, eight bits from D00200 (be-
ginning with bit 04) will be transferred to D00500 (beginning with bit 08), accord-
ing to the contents of D00100.
Address Instruction Operands
00000 LD 000000
00001 XFRB(038)
D00000
D00200
D00500
Description
(CVM1 V2)
Data Movement Instructions Section 5-15
(038)
XFRB D00000 D00200 D00500
0000
00

Table of Contents

Related product manuals