EAF Math Instructions
Chapter 14
14-16
Square Root
This function finds the value of +x
1/2
= y. The Operand and Result words
have the format:
+ xxx xxx . xxx xxx
1/2
= + yyy yyy . yyy yyy
If you want to find the square root of a negative number, this function
ignores the minus sign and finds the square root of the absolute value of
the number.
Enter an EAF square root function like that shown in Figure 14.15.
Figure 14.15
EAF Square Root Function Input and Display Rung
060
EXECUTE AUX
FUNCTION
FUNCTION NUMBER:
DATA ADDR:
RESULT ADDR:
05
040
060
G
061
012
G
062
000
G
063
000
G
040
G
041
144
G
042
420
G
043
000
G
000
000
Enter the value for the Operand. You can enter this value from the
keyboard of your 1770-T3 terminal or through ladder diagram functions.
Entry of operand 144 produces the number 12. Figure 14.16 shows how
the operand and the result are stored.