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

Programming
Chapter 3
3Ć44
How to Enter an AF4 Reciprocal Function
To program an AF4 reciprocal 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 34, the function number for an AF4 reciprocal function.
This entry identifies that the function entered is to perform an AF4 reciprocal
calculation and that the processor use the data table format shown in
Figure 3.43 when executed.
Figure 3.43
General AF4 Reciprocal Function Word and Digit Format
17 16 15 14 13 12 11 10 7 6 5 4 3 2 1 0
Digit 1
(MSD)
Digit 2
Bit No.
Data Address
m
Digit 2
Digit 5
Result Address
n
D
E
n + 1
E = Enable Bit (1 = Function in Progress)
D = Done Bit (1 = Function Complete)
MSD = Most Significant Digit
LSD = Least Significant Digit
11511
Digit 3
Digit 3
Digit 1
(MSD)
Digit 4
Digit 6
(LSD)
S = Sign Bit (1 = Negative)
S
S
ER
Digit 4
Digit 5
Digit 6
(LSD)
m + 1
Operand
Result
ER = Error Bit (Illegal Operand, 1 = Input is 0)