EasyManua.ls Logo

Omron SYSMAC CV Series - BCD Division: B(434) BL(435)

Omron SYSMAC CV Series
636 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...
(433)
/UL D00200 D00210 D00220
(431)
/L D00100 D00110 D00120
0000
00
0000
01
291
/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 AreasLadder 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 AreasLadder 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
DdDr
QuotientRemainder
Description
(CVM1 V2)
Symbol Math Instructions Section 5-20

Table of Contents

Related product manuals