![Omron CVM1D Скачать руководство пользователя страница 262](http://html1.mh-extra.com/html/omron/cvm1d/cvm1d_operation-manual_742532262.webp)
(086)
MLBL
D00010 #000000FF
D00020
0000
10
257
Note An equivalent symbol math instruction (
*
UL(423)) is also available.
Refer to page 101 for general precautions on operand data areas.
Flags
ER (A50003):
Content of
*
DM word is not BCD when set for BCD.
EQ (A50006):
The result is 0.
N (A50008):
Shows the status of bit 15 of R+3.
Example
When CIO 000010 is ON in the following example, the 8-digit content of
D000010 and D00011 is multiplied by 0000 00FF. The 16-digit resultS is stored
in D00020, D00021, D00022, and D00023.
Address
Instruction
Operands
00000
LD
000010
00001
MLBL(086)
D00010
#000000FF
D00020
F 8 A A
D00010
X
0 9 5 A
D00011
0 0 F F
0 0 0 0
B 1 5 6
D00020
5 1 9 D
D00021
0 0 0 9
D00022
0 0 0 0
D00023
5-19-8 DOUBLE BINARY DIVIDE: DVBL(087)
Variations
j
DVBL(087)
(087)
DVBL
Dd
Dr
R
Operand Data Areas
Ladder Symbol
Dd: 1
st
dividend word
CIO, G, A, T, C, #, DM
R: 1
st
result word
CIO, G, A, DM
Dr: 1
st
divisor word
CIO, G, A, T, C, #, DM
When the execution condition is OFF, DVBL(087) is not executed. When the
execution condition is ON, the 8-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, and the remainder in R+2 and R+3.
R+1
R
Quotient
Remainder
Dd+1
Dd
Dr+1
Dr
R+3
R+2
Note An equivalent symbol math instruction (/UL(433)) is also available.
Dr and Dr+1 must not contain 0.
Constants are expressed in eight digits.
Note Refer to page 101 for general precautions on operand data areas.
Precautions
Description
Precautions
Binary Calculation Instructions
Section 5-19
Содержание CVM1D
Страница 462: ...SYSMAC CVM1D Duplex System Programmable Controllers Operation Manual Revised August 2001...
Страница 463: ...iv...
Страница 465: ...vi...