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 #310 background imageLoading...
Page #310 background image
289
BCD Calculation Instructions Section 5-20
Description When the execution condition is OFF, MUL(32) is not executed. When the
execution condition is ON, MUL(32) multiplies Md by the content of Mr, and
places the result In R and R+1.
Example When IR 00000 is ON with the following program, the contents of IR 013 and
DM 0005 are multiplied and the result is placed in HR 07 and HR 08. Example
data and calculations are shown below the program.
Flags ER: Md and/or Mr is not BCD.
Indirectly addressed DM word is non-existent. (Content of *DM word
is not BCD, or the DM area boundary has been exceeded.)
CY: ON when there is a carry in the result.
EQ: ON when the result is 0.
5-20-6 BCD DIVIDE – DIV(33)
Limitations R and R+1 must be in the same data area. DM 6143 to DM 6655 cannot be
used for R.
Md
Mr
R +1 R
X
MUL(32)
013
DM 0005
HR 07
00000
R+1: HR 08 R: HR 07
00083900
Md: IR 013
335 6
Mr: DM 0005
002 5
X
Address Instruction Operands
00000 LD 00000
00001 MUL(32)
013
DM 0005
HR 07
Dd: Dividend word (BCD)
IR, SR, AR, DM, HR, TC, LR, #
DIV(33)
Dd
Dr
R
Ladder Symbol
Dr: Divisor word (BCD)
IR, SR, AR, DM, HR, TC, LR, #
Operand Data Areas
R: First result word (BCD)
IR, SR, AR, DM, HR, LR

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