Function Blocks
3/99
Function Block Reference Guide
95
2.34 MATH Function Block
Description
The
MATH
label stands for
Free Form Math
.
This block is part of the
Math
category. It looks like this
graphically on the Control Builder.
Function
Read inputs A through H and calculates the output based on specified general purpose calculation. OUT is
calculated from an equation entered here.
Offers the following general purpose calculation functions:
–
abs
=
addition,
–
EXP
=
exponential (ln-1),
–
Ln
=
natural log (log base e),
–
Log 10
=
log base 10,
–
neg(Unary) -
=
negation,
–
sqrt
=
Square Root,
–
+
=
addition,
–
-
=
subtraction,
–
*
=
multiplication,
–
/
=
division,
–
^
=
raised to power of (xy)
–
(
=
left parenthesis,
–
)
=
right parenthesis, and
•
A maximum of either 50 tokens(note 1) per equation or 100 characters per line is allowed,
whichever is first exceeded.
Note 1:
A token is an operation, variable, or pair of parenthesis; the end of an equation counts as one
token.
Inputs
IN A – block input 1
IN B – block input 2
IN C – block input 3
IN D – block input 4
IN E – block input 5
IN F – block input 6
IN G – block input 7
IN H – block input 8
Continued next page