![Omron CVM1D Operation Manual Download Page 283](http://html1.mh-extra.com/html/omron/cvm1d/cvm1d_operation-manual_742532283.webp)
(433)
/UL D00200 D00210 D00220
(431)
/L D00100 D00110 D00120
0000
00
0000
01
278
/UL Operation
When CIO 000001 is ON in the following example, the unsigned content of
D00201 and D00200 is divided by the unsigned content of D00211 and D00210,
in eight-digit binary. When the result is obtained, the quotient is output to D00221
and D00220, and the remainder is output to D00223 and D00222.
Address
Instruction
Operands
00000
LD
000000
00001
/L(431)
D00100
D00110
D00120
00002
LD
000001
00003
/UL(433)
D00200
D00210
D00220
5-20-8 BCD Division: /B(434)/ /BL(435)
BCD DIVIDE: /B(434)
Variations
j
/B(434)
(434)
/B
Dd
Dr
R
Operand Data Areas
Ladder Symbol
Dd: Dividend word
CIO, G, A, T, C, #, DM, DR, IR
R: Result word
CIO, G, A, DM
Dr: Divisor word
CIO, G, A, T, C, #, DM, DR, IR
DOUBLE BCD DIVIDE: /BL(435)
Variations
j
/BL(435)
(435)
/BL
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
BCD DIVIDE
When the execution condition is OFF, /B(434) is not executed and the program
moves to the next instruction. When the execution condition is ON, the BCD con-
tent of Dd is divided by the BCD content of Dr and the result is placed in R and R +
1: the quotient in R and the remainder in R + 1.
R+1
R
Dd
Dr
Quotient
Remainder
Description
Symbol Math Instructions
Section 5-20
Summary of Contents for CVM1D
Page 462: ...SYSMAC CVM1D Duplex System Programmable Controllers Operation Manual Revised August 2001...
Page 463: ...iv...
Page 465: ...vi...