EAF Math Instructions
Chapter 14
14-14
Keystrokes
Enter a one operand EAF (like Figure 14.12) by performing the
following steps.
1. Press
.
2. Enter result and data branch.
3. Enter the values for the Operand.
4. Complete the parallel branches.
5. Press [Shift] [EAF].
6. Enter the appropriate function number (Table 14.A).
7. Enter the data and result addresses of the EAF instruction.
ATTENTION: Do not enter data in hexadecimal. Enter all
data in BCD. Failure to observe this warning could cause
unwanted machine motion and may injure personnel.
The Exponential EAF instruction is a feature of the Mini-PLC-2/17
processor only.
Word formats for Exponential and Square Root functions are the same.
The function number for the exponential function is 32 and the square root
is 05. The operand and result are accurate to 6 decimal places for
each function.
The exponential function finds the value of e
+/–x
= y (where e is
approximately equal to 2.71828). The Operand and Result words have
the format:
x = exponent of e
y = resultant number
e
+/–xxx xxx . xxx xxx
=yyy yyy . yyy yyy
Exponential and Square Root