516
ATAN, ATANP
[Operations involved when the D0 to D3 value is 0.5]
: TAN value of which the TAN
-1
(inverse tangent) value is obtained or head number of the devices where the TAN value 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 TAN
-1
angle of the TAN value designated by , and stores operation results at word device designated by
.
(2) The angle (operation result) stored at is stored in radian units.
For more information on the conversion between radian and angle data, see description of RAD and DEG instructions.
7.12.11 ATAN, ATANP
Arc tangent operation on floating-point data (Single
precision)
7.12.11
ATAN, ATANP
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
D1
0
.
5
D0
D3
D2
6
4-
b
i
t
f
l
oat
i
ng
-
po
i
nt
rea
l
number
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
Con
v
ers
i
on
to
B
IN
INT
D
BCD
operat
i
on
BCD
ACOSD
Con
v
ers
i
on
to
ang
l
e
D
E
GD
Y4F
BCD
v
a
l
ue
0 0 6 0
Y4
0
D30
b15
b0
B
IN v
a
l
ue
60
COS
operat
i
on
1
1
2
3
4
Process
High
performance
Redundant Universal
LCPU
Bas
i
c
Command
Command
A
T
A
N
P
ATAN
ATANP
A
T
A
N
S
D
S
D
S
D
S
D
S
D
+1
+1
S
D
S
D
TAN (
-1
32-bit floating-point
real number
)
32-bit floating-point
real number
D