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 #252 background imageLoading...
Page #252 background image
231
Shift Instructions Section 5-16
Description When the execution condition is OFF, ASL(25) is not executed. When the exe-
cution condition is ON, ASL(25) shifts a 0 into bit 00 of Wd, shifts the bits of
Wd one bit to the left, and shifts the status of bit 15 into CY.
Precautions A 0 will be shifted into bit 00 every cycle if the undifferentiated form of ASL(25)
is used. Use the differentiated form (@ASL(25)) or combine ASL(25) with
DIFU(13) or DIFD(14) to shift just one time.
Flags ER: Indirectly addressed DM word is non-existent. (Content of *DM word
is not BCD, or the DM area boundary has been exceeded.)
CY: Receives the status of bit 15.
EQ: ON when the content of Wd is zero; otherwise OFF.
5-16-4 ARITHMETIC SHIFT RIGHT – ASR(26)
Limitations DM 6144 to DM 6655 cannot be used for Wd.
Description When the execution condition is OFF, ASR(25) is not executed. When the exe-
cution condition is ON, ASR(25) shifts a 0 into bit 15 of Wd, shifts the bits of
Wd one bit to the right, and shifts the status of bit 00 into CY.
Precautions A 0 will be shifted into bit 15 every cycle if the undifferentiated form of
ASR(26) is used. Use the differentiated form (@ASR(26)) or combine
ASR(26) with DIFU(13) or DIFD(14) to shift just one time.
Flags ER: Indirectly addressed DM word is non-existent. (Content of *DM word
is not BCD, or the DM area boundary has been exceeded.)
CY: Receives the data of bit 00.
EQ: ON when the content of Wd is zero; otherwise OFF.
5-16-5 ROTATE LEFT – ROL(27)
1 0 0 1 1 1 0 0 0 1 0 1 0 0 1 1
CY
Bit
00
Bit
15
0
Wd: Shift word
IR, SR, AR, DM, HR, LR
Ladder Symbols Operand Data Areas
ASR(26)
Wd
@ASR(26)
Wd
1 0 0 1 0 1 1 0 0 1 1 0 0 1 01
Bit
00
Bit
15
CY
0
Wd: Rotate word
IR, SR, AR, DM, HR, LR
Ladder Symbols Operand Data Areas
ROL(27)
Wd
@ROL(27)
Wd

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