EasyManuals Logo

Omron CPM1 Programming Manual

Omron CPM1
541 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
Page #268 background imageLoading...
Page #268 background image
247
Data Movement Instructions Section 5-17
5-17-10TRANSFER BITS – XFRB(––)
Limitations This instruction is available in the CQM1-CPU4@-E/-EV1 only.
The specified source bits must be in the same data area.
The specified destination bits must be in the same data area.
DM 6144 to DM 6655 cannot be used for D.
Description When the execution condition is OFF, XFRB(––) is not executed. When the
execution condition is ON, XFRB(––) copies the specified source bits to the
specified destination bits. The two rightmost digits of C specify the starting
bits in S and D and the leftmost two digits indicate the number of bits that will
be copied.
Note Up to 255 (FF) bits can be copied at one time.
Example In the following example, XFRB(––) is used to transfer 5 bits from IR 020 and
IR 021 to LR 00 and LR 01. The starting bit in IR 020 is D (13), and the start-
ing bit in LR 00 is E (14), so IR 02013 to IR 02101 are copied to LR 0014 to
LR 0102.
Flags ER: The specified source bits are not all in the same data area.
The specified destination bits are not all in the same data area.
C: Control word
IR, SR, AR, DM, TC, HR, LR, #
S: First source word
IR, SR, AR, DM, TC, HR, LR
Ladder Symbols Operand Data Areas
D: First destination word
IR, SR, AR, DM, HR, LR
XFRB(––)
C
S
D
@XFRB(––)
C
S
D
First bit of S (0 to F)
First bit of D (0 to F)
Number of bits (00 to FF)
LSBMSB
C
XFRB(––)
#05ED
020
LR 00
00001
Address Instruction Operands
00000 LD 00001
00001 XFRB(––)
# 05ED
020
LR 00
1 0 1 0 0 0 0 0
0 0 0 1 0 0 0 0 1
Bit
15
Bit
15
Bit
00
Bit
00
1 0 1 1 1
S: 020
D: LR 00
0 1 0 1 0 1 0 0 0 0 0
1 1 1 0 0 0 0 1
Bit
15
Bit
15
Bit
00
Bit
00
S+1: 021
D+1: LR 01
1 1 1
0 1 0 1 0
0 0 0 1 0
0 0 1 11
0 01 0 1

Table of Contents

Other manuals for Omron CPM1

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CPM1 and is the answer not in the manual?

Omron CPM1 Specifications

General IconGeneral
ModelCPM1
ManufacturerOmron
Instruction SetBasic and advanced instructions
Power Supply100 to 240 VAC or 24 VDC
CommunicationRS-232C
I/O Points10, 20, 30, or 40 points depending on the model
TimersYes, multiple timers available
CountersYes, multiple counters available
Input Voltage24V DC
Output TypeRelay or transistor
Number of I/O Points10, 20, 30, 40
Communication PortsRS-232C (optional)
Operating Temperature0°C to 55°C
Storage Temperature-20°C
Humidity10% to 90% (non-condensing)
DimensionsVaries depending on the model
WeightVaries depending on the model
Program Memory2048 steps (2K steps)

Related product manuals