Справочник Пользователя для Mitsubishi Electronics QCPU

Скачать
Страница из 1204
7-260
TAND(P)
7.12.6  
TAN operation on floating-point data (Double precision)
 (TAND(P))
TAND(P)
Function
(1) The TAN (tangent) value of the angle specified by 
 is calculated and its result is stored into 
the device specified by 
.
(2) Angles designated at 
 are set in radian units (degrees  
 / 180).
For conversion between degrees and radian values, see the RADD and DEGD instructions.
(3) When angles designated by 
 are 
/2 radians, or (3/2)
 radians, an operation error will 
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.
: Angle data of which the TAN (tangent) value is obtained or head number of the devices where the angle data 
is stored (real number)
: Head number of the devices where the operation result will be stored (real number)
Setting 
Data
Internal Devices 
R, ZR
J
\
U
\G
Zn
Constants
E
Other
Bit
Word
Bit
Word
––
––
––
––
––
––
––
Universal
Basic
Process
High
performance
Redundant
Command
Command
TANDP
TAND
TANDP
TAND
S
D
S
D
S
D
S
D
S
D
TAN (
)
64-bit floating-point
real number
64-bit floating-point
real number
+3
S
+2
S
S
+1
S
+3
D
+2
D
D
+1
D
S
S