EasyManua.ls Logo

Vigor VS Series - Page 281

Vigor VS Series
484 pages
Print Icon
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...
275
D T A N P
S
D
1
2
M
3
FNC
132
X Y M S
D.b R.b
KnX KnY
KnM KnS
T C
D,R
V,Z
UnG
K,H
E
" $"
S
D
DTAN D0 D10
X0
S
D
S
D
Operand
Devices
Calculate Tangent
This instruction performs the mathematical tangent operation on the designated BIN oating point radians of
angle, and the result is stored in the designated device.
When X0 = “ON”, the instruction is activated, it uses the BIN oating point radians at (D1, D0) to calculate the
tangent value, and the result will be stored at the specied destination devices (D11, D10).
S : the source device for input the angle in radians
D : the calculated result
For to convert the angle unit between the radians and degrees, please refer to the DEG and RAD instructions.
Radian = Degree × π / 180
This instruction is a 32-bit instruction. Therefore, be sure to input DTAN or DTANP in the program.
S
D
The source operand must assign to a BIN oating point number for the calculation, and the calculated result
is by the BIN oating point format, too.
The format for storing a oating point number will occupy two Registers in the PLC system. Please refer to the
section 2-13 “Numerical System” for the reference of the oating point number.

Table of Contents