387
Symbol Math Instructions Section 3-10
Examples When CIO 0.00 is ON in the following example, D100 will be divided by D110
as 4-digit BCD values and the quotient will be output to D120 and the remain-
der to D121.
3-10-28 DOUBLE BCD DIVIDE: /BL(435)
Purpose Divides 8-digit (double-word) BCD data and/or constants.
Ladder Symbol
Variations
Applicable Program Areas
Operand Specifications
0.00
D100
D110
D120
/BL(435)
R
Dd
Dr
Dd: 1st dividend word
Dr: 1st divisor word
R: 1st result word
Variations Executed Each Cycle for ON Condition /BL(435)
Executed Once for Upward Differentiation @/BL(435)
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification Not supported.
Block program areas Step program areas Subroutines Interrupt tasks
OK OK OK OK
Area Dd Dr R
CIO Area CIO 0 to CIO 6142 CIO 0 to
CIO 6140
Work Area W0 to W510 W0 to W508
Holding Bit Area H0 to H510 H0 to H508
Auxiliary Bit Area A0 to A958 A448 to A956
Timer Area T0000 to T4094 T0000 to T4092
Counter Area C0000 to C4094 C0000 to C4092
DM Area D0 to D32766 D0 to D32764
Indirect DM addresses
in binary
@ D0 to @ D32767
Indirect DM addresses
in BCD
*D0 to *D32767
Constants #00000000 to
#99999999 (BCD)
#00000001 to
#99999999 (BCD)
---
Data Registers ---