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.
Function
(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 A rc tangent opera tion on floati ng-point data (Si ngle
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
–– ––
64-bit floating-point
real number
D1
0.5
D0D3 D2
64-bit floating-point
real number
D21
60
D20D23 D22
64-bit floating-point
real number
D11
1.047198
D10D13 D12
Conversion
to BIN
INTD
BCD operation
BCD
ACOSD
Conversion to angle
DEGD
Y4F
BCD value
0
060
Y40
D30
b15 b0
BIN value
60
COS operation
1
1
2
3
4
Process
High
performance
Redundant
Universal
LCPU
Basic
Command
Command
ATANP
ATAN
ATANP
ATAN 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