User Manual, AUX FUNCT PROM Manual

Programming
Chapter 3
342
4. You can enter base y and exponent x values from the keyboard of the
industrial terminal or through ladder diagram functions. Entry of y - 124
in word 200 and 2 - 02.0 in word 201 produces the result 15376 when the
power function executes. Figure 3.41 shows how the result is stored as
1.53(10)
4
. The result is truncated.
Figure 3.41
AF4 Power Function Format After Execution
171615141312111076543210Bit No.
Data Address
Result Address
DE
E = Enable Bit (1 = Function in Progress)
D = Done Bit (1 = Function Complete)
11510
S = Sign Bit (1 = Negative)
S
S
ER
S
Base y
Exponent x
Result Base, r
s (Power of 10)
ER = Error Bit (1 = Overflow when y > 9.99(10) )
x 099.
200
201
300
301
124
020
153
004
(0)
(0)
(0) (1) (0)
(0)