Tan Operation On Floating-Point Data (Double Precision) (Tand(P)) - Mitsubishi MELSEC Q Series Programming Manual

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

7.12.6
TAN operation on floating-point data (Double precision)
(TAND(P))
TAND(P)
TAND
TANDP
Setting
Data
S
D
Function
(1) The TAN (tangent) value of the angle specified by
the device specified by
(2) Angles designated at
For conversion between degrees and radian values, see the RADD and DEGD instructions.
(3) When angles designated by
be generated in the calculation of the radian value, so care must be taken to avoid such
errors.
(4) When the operation results in -0 or an underflow, the result is processed as 0.
Command
Command
: Angle data of which the TAN (tangent) value is obtained or head number of the devices where the angle data
S
is stored (real number)
: Head number of the devices where the operation result will be stored (real number)
D
Internal Devices
R, ZR
Bit
Word
––
––
.
D
S
+3
S
+2
S
+1
S
TAN (
64-bit floating-point
real number
are set in radian units (degrees
S
are
S
High
Basic
performance
TAND
TANDP
J
\
U
\G
Bit
Word
––
––
is calculated and its result is stored into
S
D
+3
D
+2
D
)
64-bit floating-point
real number
/2 radians, or (3/2)
radians, an operation error will
TAND(P)
Process
Redundant
Universal
LCPU
S
D
S
D
Constants
Zn
Other
E
––
––
––
+1
D
/ 180).
7-259
1
2
3
4
6
6
7
8

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents