Mitsubishi MELSEC-Q/L Programming Manual page 518

Table of Contents

Advertisement

ATAN, ATANP
[Operations involved when the D0 to D3 value is 0.5]
D3 D2
D1
D0
COS operation
1
0.5
64-bit floating-point
real number
3
D23 D22
D21
D20
60
64-bit floating-point
real number
7.12.11 ATAN, ATANP
Arc tangent operation on floating-point data (Single
precision)
7.12.11
ATAN, ATANP
ATAN
ATANP
-1
: TAN value of which the TAN
S
: Head number of the devices where the operation result will be stored (real number)
D
Internal Devices
Setting
Data
Bit
Word
––
S
––
D
*1:
Applicable for the Universal model QCPU, LCPU.
Function
-1
(1) Returns the TAN
angle of the TAN value designated by
.
D
(2) The angle (operation result) stored at
For more information on the conversion between radian and angle data, see description of RAD and DEG instructions.
516
D13 D12
D11
D10
1
1.047198
64-bit floating-point
ACOSD
real number
Conversion to angle
2
DEGD
Conversion
D30
BCD operation
4
b15
b0
to BIN
60
BIN value
INTD
BCD
Command
Command
(inverse tangent) value is obtained or head number of the devices where the TAN value is stored (real number)
J
R, ZR
Bit
––
––
S
+1
S
-1
TAN (
32-bit floating-point
real number
is stored in radian units.
D
Y4F
Y40
0 0 6 0
BCD value
High
Basic
performance
ATAN
ATANP
\
U
\G
Word
, and stores operation results at word device designated by
S
D
+1
)
32-bit floating-point
real number
Process
LCPU
Redundant Universal
S
D
S
D
Constants
Zn
E
*1
*1
––
D
Other
––
––

Advertisement

Table of Contents
loading

Table of Contents