EasyManua.ls Logo

Delta Electronics DVP15MC11T

Delta Electronics DVP15MC11T
601 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...
Chapter 8 Logic Instructions
8_
8.8.14 TAN
FB/FC
Explanation
Applicable model
FC
TAN is used to get the tangent of a number and the result is output to Out.
The unit of In is radian.
DVP15MC11T
Parameters
Parameter
name
Meaning
Input/
Output
Description Valid range
In
Radians to
process
Input Radians to process
Depends on the data type of
the variable that the input
parameter is connected to.
Out
Operation
result
Output Operation result
Depends on the data type of
the variable that the output
parameter is connected to.
Boolean
Bit string Integer
Real
number
Time, date
String
BOOL
BYTE
WORD
DWORD
LWORD
USINT
UINT
UDINT
ULINT
SINT
INT
DINT
LINT
REAL
LREAL
TIME
DATE
TOD
DT
STRING
In
Out
Note:
The symbol indicates that the parameter is allowed to connect to the variable or constant of the data type.
Function Explanation
TAN is used to calculate the tangent of the input parameter In and the result is output to Out.
TAN
EN ENO
In Ou t
Out
In
-2
3
2
-2 2
3
2
22
-
1
-1
0
-
In
( ) Angle i n radians data
Out
Result (Tangent)
π π π
π π
π π π
8-83

Table of Contents

Related product manuals