Rockwell Automation 1772-AF4,D17726.5.3 User Manual, AUX FUNCT PROM User Manual
Page 26

Programming
Chapter 3
3Ć18
Error Message
If the result has more than six integers, the error bit (bit 14) is set indicating
overflow.
AF4 Multiplication Function
An AF4 multiplication function operates on two 6-digit BCD numbers and
presents the results in a 12-digit BCD number.
(+xxx xxx.) x (+xxx xxx.) = +xxx xxx xxx xxx.
How to Enter an AF4 Multiplication Function
To program an AF4 multiplication function, perform the following steps:
1. Press [SHIFT][EAF] or [SHIFT][SCT] on the keyboard of your industrial
terminal. Figure 3.1 appears on the CRT.
2. Enter 03, the function number for AF4 multiplication.
This entry identifies that the function entered is to perform an AF4
multiplication and that the processor use the data table format shown in
Figure 3.10 when executed. Operands 1 and 2 represent two 6-digit numbers
whose product you want to find. The six digits of operand 1 are represented in
BCD by groups of bits labeled digit 1 through 6. Digit 1 and 6 are the most
significant and least significant digits respectively. Operand 2 and the 12 digits
of the result are labeled similarly.