EasyManua.ls Logo

Inovance H3U Series - Table Operations

Inovance H3U Series
737 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
130
4
4 Instructions4.4.4 Table Operations
TANH: Binary oating point TANH operation
Overview
The TANH instruction calculates the tanh of a binary oating-point number. The calculation formula is Tanh
= (e
s
– e
-s
) (/e
s
+ e
-s
).
TANH S D
Floating point TANH
operation
Applicable model:
H3U
S
Data
source
Binary oating-point variable whose tanh is to be
calculated
32-bit instruction (9
steps)
DTANH:
Continuous
execution
DTANHP: Pulse
execution
D
Operation
result
Operation result storage unit
Operands
Operand
Bit Element Word Element
System·User System·User Bit Designation Indexed Address Constant
Real
Number
S X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
D X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
Note: The elements in gray background are supported.
Function
The tanh of a binary oating-point number is calculated. The calculation formula is Tanh = (e
s
– e
-s
)/(e
s
+ e
-s
).
Example:
M10
ǒDTANH D0 D2Ǔ
S D
M11
When M10 = ON, the tanh of the binary floating-point number in
(D1, D0) is calculated. The result is stored in (D3, D2).
ǒDTANHP D10 D12Ǔ
4.4.4 Table Operations
Table operations
WSUM Value summation
MEAN Mean value calculation
LIMIT Upper/Lower limit control
BZAND Dead zone control
ZONE Zone control
SCL Coordinate determination (coordinates of different points)
SCL2 Coordinate determination 2 (X and Y coordinates)

Table of Contents

Other manuals for Inovance H3U Series

Related product manuals