UM353-1 Function Blocks
March 2003
3-59
3.2.57 LN_ - NATURAL LOGARITHM
LN_ function blocks, in firmware 1.30 and higher, will output the
natural logarithm of input X. When the input is <= 0.0, the input will
be treated as the smallest number greater than 0.0 (i.e. 1.17....e-38) and
the LN will be computed accordingly.
BLOCK DIAGRAM
O1X
Input
X
O
utput
1
.
.
LNe (X)
3.2.58 LOG_ - LOGARITHM BASE 10
LOG__ function blocks, in firmware 1.30 and higher, will output
the logarithm to the base 10 of input X. When the input is <= 0.0,
the input will be treated as the smallest number greater than 0.0
(i.e. 1.17....e-38) and the LOG will be computed accordingly.
BLOCK DIAGRAM
O1X
Input
X
O
utput
1
.
.
LOG
10
(X)
Input
X
LOGARITHM
BASE 10
O1
O
utput
1
O
1
= LOG (X)
LOG
ESN =
000
X
E
E
xec.
S
eq.
N
o. ..................... 000 to 250 (000)
X
T
U
P
N
I
INPUT X
..............
loop tag.block tag.output (null)
SN
Input
X
NATURAL LOGARITHM
O1
O
utput
1
O
1
=LNe (X)
LN
ESN =
000
X
E
E
xec.
S
eq.
N
o. ..................... 000 to 250 (000)
X
T
U
P
N
I
INPUT X
..............
loop tag.block tag.output (null)
SN