Chapter 16 PLC Function ApplicationsMS300 (High Speed Model)
16-84
API
TANH
Binary floating point number TANH operation
138
D P
Bit device Word device
16-bit command
- - - -
32-bit command (9 STEP)
DTANH Continuous
execution type
DTANHP Pulse
execution type
Flag signal: none
X Y M K H KnX KnY KnM T C D
S
* *
*
D
*
Notes on operand usage:
Please 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
s
-e
-s
)/(e
s
+e
-s
)
When X0=On, the TANH value obtained from the designated binary floating point
number (D1, D0) will be stored in (D11, D10), with the content consisting of a binary
floating point number.
X0
DTANH D0 D10
D 1 D 0
D 10
TANH value
binary floating point
binary floating point
D 11