API
TANH
138
D
P
Bit Devices
X
Y
M
K
S
*
D
Operands:
Please refer to the specifications of each model for the
range of operands.
S: Specified source (binary floating point) D: Area where calculated result is stored
Explanation
Tanh value =(e
When X0=On, specify binary floating point (D1, D0). Calculate ASIN value and save the
Example
result in (D11, D10). The
The result stored in (D11, D10) is all in binary floating point format.
X0
Word Devices
H
KnX KnY KnM
T
*
s
-s
s
-s
-e
)/(e
+e
DTANH
D0
D 1
D 0
binary floating point
TANH value
D 11
D 10
binary floating point
Chapter 16 PLC Function C2000 Series
Hyperbolic Tangent
16-bit command (5 STEPS)
-
C
D
*
32-bit command
*
DTANH
Flag signal: none
)
D10
16-91
-
-
-
DTANHP