EasyManuals Logo
Home>Omron>Controller>CQM1H - PROGRAM

Omron CQM1H - PROGRAM User Manual

Omron CQM1H - PROGRAM
602 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 #346 background imageLoading...
Page #346 background image
321
BCD Calculation Instructions Section 5-21
Limitations DM 6143 to DM 6655 cannot be used for R.
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.
Flag ER: Md and/or Mr is not BCD.
Indirectly addressed EM/DM word is non-existent.
(Content of *EM/*DM word is not BCD, or the EM/DM area boundary
has been exceeded.)
CY: ON when there is a carry in the result.
EQ: ON when the result is 0.
5-21-6 BCD DIVIDE – DIV(33)
Md
Mr
R +1 R
X
MUL(32)
013
DM 0005
HR 07
00000
R+1: HR 08 R: HR 07
0 0 0 8 3 9 0 0
Md: IR 013
3 3 5 6
Mr: DM 0005
0 0 2 5
X
Address Instruction Operands
00000 LD 00000
00001 MUL(32)
013
DM 0005
HR 07
Dd: Dividend word (BCD)
IR, SR, AR, DM, EM, HR, TIM/CNT, LR, #
DIV(33)
Dd
Dr
R
Ladder Symbol
Dr: Divisor word (BCD)
IR, SR, AR, DM, EM, HR, TIM/CNT, LR, #
Operand Data Areas
R: First result word (BCD)
IR, SR, AR, DM, EM, HR, LR

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CQM1H - PROGRAM and is the answer not in the manual?

Omron CQM1H - PROGRAM Specifications

General IconGeneral
BrandOmron
ModelCQM1H - PROGRAM
CategoryController
LanguageEnglish

Related product manuals