8.8.14 TAN
FB/FC
TAN is used to get the tangent of a number and the result is output to Out.
FC
The unit of In is radian.
Parameters
Parameter
Meaning
name
Radians to
In
process
Operation
Out
result
Bit 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.
Explanation
TAN
EN
In
Input/
Output
Input
Radians to process
Output
Operation result
Integer
●
●
●
●
●
Ou t
1
π
π
π
π
π
3
0
-
-
-2
- 2
2
2
2
-1
Chapter 8 Logic Instructions
ENO
Ou t
Description
Depends on the data type of
the variable that the input
parameter is connected to.
Depends on the data type of
the variable that the output
parameter is connected to.
Real
number
●
●
●
●
●
:
Angle i n radi ans data
(
In
Out:
Result (Tangent)
In
π
π
π
3
2
2
Applicable model
DVP15MC11T
Valid range
Time, date
●
●
)
8-83
8_