EasyManuals Logo
Home>Omron>Controller>CPM1

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 #316 background imageLoading...
Page #316 background image
295
BCD Calculation Instructions Section 5-20
divided by the content of Dr and Dr+1 and the result is placed in R to R+3: the
quotient in R and R+1, the remainder in R+2 and R+3.
Flags ER: Dr and Dr+1 contain 0.
Dd, Dd+1, Dr, or Dr+1 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.)
EQ: ON when the result is 0.
5-20-11SQUARE ROOT – ROOT(72)
Limitations This instruction is available in the CQM1 only.
DM 6144 to DM 6655 cannot be used for R.
Description When the execution condition is OFF, ROOT(72) is not executed. When the
execution condition is ON, ROOT(72) computes the square root of the eight-
digit content of Sq and Sq+1 and places the result in R. The fractional portion
is truncated.
Flags ER: Sq 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.)
EQ: ON when the result is 0.
R+1 R
Quotient Remainder
Dd+1 DdDr+1 Dr
R+3 R+2
Sq: First source word (BCD)
IR, SR, AR, DM, HR, TC, LR
R: Result word
IR, SR, AR, DM, HR, LR,
Ladder Symbols Operand Data Areas
ROOT(72)
Sq
R
@ROOT(72)
Sq
R
R
Sq+1 Sq

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
BrandOmron
ModelCPM1
CategoryController
LanguageEnglish

Related product manuals