API
TANH
138
D
P
bit device
X
Y
M
K
*
S
D
Notes on operand usage:
Refer to the function specifications table for each device in series
for the scope of device usage.
S: the designated source (binary floating point number). D: the TANH value result.
TANH value = (e
When X0 = ON, finds the TANH value of the designated binary floating point
number (D1, D0) and stores the result in (D11, D10), as a binary floating point
number.
X0
Word device
H
KnX KnY KnM
T
*
-e
) ÷ (e
s
-s
s
DTANH
D0
D 1
D 0
D 11
D 10
Chapter 16 PLC Function ApplicationsMS300
Finds the hyperbolic tangent of a binary floating point
number
16-bit command
C
D
-
*
32-bit command (9 STEP)
*
Continuous
DTANH
execution type
Flag signal: none
+e
)
-s
D10
binary floating point
TANH value
binary floating point
743
-
-
-
Pulse
DTANHP
execution type