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

Скачать
Страница из 1204
7-258
TAN(P)
7.12.5  
TAN operation on floating-point data (Single precision)
 (TAN(P))
TAN(P)
*2: Applicable for the Universal model QCPU only.
Function
(1) Returns the tangent (TAN) value of the angle data designated by 
, and stores operation 
result in device designated by 
.
(2) Angles designated at 
 are set in radian units (degrees  
 / 180).
For conversion between degrees and radian values, see the RAD and DEG 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.
Basic model QCPU: The upper five digits of the serial No. are "04122" or larger.
: 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
––
––
*2
––
––
––
*2
––
––
Process
High
performance
Redundant Universal
Ver.
Basic
Command
Command
TANP
TAN
TANP
TAN
S
D
S
D
S
D
S
D
S
D
+1
+1
S
D
S
D
32-bit floating-point
real number
TAN (
)
32-bit floating-point
real number
S
S