Mitsubishi MELSEC-Q/L Programming Manual page 508

Table of Contents

Advertisement

TAN, TANP
[Operations involved when X20 to X2F designate a value of 60]
1
Conversion
X2F
X20
to BIN
0
0 6 0
BCD value
BIN
D13 D12
64-bit floating-point
real number
7.12.5
TAN, TANP
TAN operation on floating-point data (Single precision)
7.12.5
TAN, TANP
TAN
TANP
: Angle data of which the TAN (tangent) value is obtained or head number of the devices where the angle data is stored (real number)
S
: Head number of the devices where the operation result will be stored (real number)
D
Setting
Internal Devices
Data
Bit
––
S
––
D
*1:
Applicable for the Universal model QCPU, LCPU.
Function
(1) Returns the tangent (TAN) value of the angle data designated by
.
D
(2) Angles designated at
S
For conversion between degrees and radian values, see the RAD and DEG instructions.
(3) When angles designated by
of the radian value, so care must be taken to avoid such errors.
506
D30
2
Conversion to
b15
b0
floating-point
60
BIN value
FLTD
D11
D10
SIN operation
4
1.047198
COSD
Command
Command
R, ZR
Word
Bit
––
––
S
+1
S
TAN (
32-bit floating-point
real number
are set in radian units (degrees
are
/2 radians, or (3/2)
S
D23 D22
D21
D20
60
64-bit floating-point
real number
Conversion to radian
3
RADD
D3 D2
D1
D0
0.500000
64-bit floating-point
real number
Ver.
High
Basic
performance
• Basic model QCPU: The serial number (first five digits) is
"04122" or later.
TAN
TANP
J
\
U
\G
Word
, and stores operation result in device designated by
S
D
+1
D
)
32-bit floating-point
real number
/ 180).
radians, an operation error will be generated in the calculation
Process
LCPU
Redundant Universal
S
D
S
D
Constants
Zn
Other
E
*1
*1
––
––
––

Advertisement

Table of Contents
loading

Table of Contents