Logarithmic Function (32 Bits)
68
S7-400 Instruction List
A5E00267845-01
Logarithmic Function (32 Bits)
The result of the logarithmic function is in ACCU1. The instructions can be interrupted.
Instruc-
Address
Description
Length
in
Execution Time in
s
Instruc-
tion
Address
ID
Description
Length
in
Words
CPU 412
CPU 414
CPU 416
CPU 417
LN
Form the natural logarithm of a
real number in ACCU1
1
20
13
9
7
EXP
Calculate the exponential value
of a real number in ACCU1 to the
base e (= 2.71828)
1
21
15
10
8
Status word for:
LN, EXP
BR
CC1
CC0
OV
OS
OR
STA
RLO
/FC
Instruction evaluates:
–
–
–
–
–
–
–
–
–
Instruction affects:
–
Yes
Yes
Yes
Yes
–
–
–
–