506
TAN, TANP
[Operations involved when X20 to X2F designate a value of 60]
: 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)
*1:
Applicable for the Universal model QCPU, LCPU.
F
unct
i
on
(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.
TAN, TANP
TAN operation on floating-point data (Single precision)
7.12.5
TAN, TANP
• Basic model QCPU: The serial number (first five digits) is
"04122" or later.
Setting
Data
Internal Devices
R, ZR
J \
U \G
Zn
Constants
E
Other
Bit
Word
Bit
Word
––
––
*1
––
––
––
*1
––
––
6
4-
b
i
t
f
l
oat
i
ng
-
po
i
nt
rea
l
number
X2
F
BCD
v
a
l
ue
0
D30
0 6 0
X20
Con
v
ers
i
on
to
B
IN
B
IN
b15
b0
B
IN v
a
l
ue
Con
v
ers
i
on
to
rad
i
an
RADD
S
IN
operat
i
on
COSD
60
Con
v
ers
i
on
to
f
l
oat
i
ng
-
po
i
nt
FLT
D
D21
60
D20
D23 D22
6
4-
b
i
t
f
l
oat
i
ng
-
po
i
nt
rea
l
number
D11
1
.
0
4
7198
D10
D13 D12
6
4-
b
i
t
f
l
oat
i
ng
-
po
i
nt
rea
l
number
D1
0
.
500000
D0
D3
D2
1
2
3
4
Basic
Process
High
performance
Redundant Universal
LCPU
Ver.
Command
Command
T
A
N
P
TAN
TANP
T
A
N
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