EasyManua.ls Logo

Omron SYSMAC C200HS

Omron SYSMAC C200HS
503 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
Loading...
214
Description When
the
execution condition is OFF
, DIVL(57) is not executed. When the exe
-
cution
condition is ON, DIVL(57)
the eight-digit content of Dd and D+1 is 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.
R+1 R
QuotientRemainder
Dd+1 DdDr+1 Dr
R+3 R+2
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-19-13 FLOATING POINT DIVIDE – FDIV(79)
Dd: First dividend word (BCD)
IR, SR, AR, DM, HR, TC, LR
Dr: First divisor word (BCD)
IR, SR, AR, DM, HR, TC, LR
Ladder Symbols
Operand Data Areas
R: First result word
IR, SR, AR, DM, HR, LR
FDIV(79)
Dd
Dr
R
@FDIV(79)
Dd
Dr
R
Limitations Dr
and Dr+1 cannot contain zero. Dr and
Dr+1 must be in the same data area, as
must Dd and Dd+1; R and R+1.
The dividend and divisor must be between 0.0000001 x 10
–7
and
0.9999999 x 10
7
.
The results must be between
0.1 x 10
–7
and 0.9999999 x 10
7
.
Description When
the execution condition is OFF
,
FDIV(79) is not executed. When the exe
-
cution
condition is ON, FDIV(79) divides the floating-point value in Dd and Dd+1
by that in Dr and Dr+1 and places the result in R and R+1.
R+1 R
Quotient
Dd+1 DdDr+1 Dr
BCD Calculations Section 5-19

Table of Contents

Other manuals for Omron SYSMAC C200HS

Related product manuals