Tan Operation On Floating-Point Data (Single Precision) (Tan(P)) - Mitsubishi MELSEC Q Series Programming Manual

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

7.12.5
TAN operation on floating-point data (Single precision)
(TAN(P))
TAN(P)
TAN
TANP
Setting
Data
S
D
Function
(1) Returns the tangent (TAN) value of the angle data designated by
result in device designated by
(2) Angles designated at
For conversion between degrees and radian values, see the RAD and DEG instructions.
(3) When angles designated by
be generated in the calculation of the radian value, so care must be taken to avoid such
errors.
Basic model QCPU: The upper five digits of the serial No. are "04122" or larger.
Command
Command
: Angle data of which the TAN (tangent) value is obtained or head number of the devices where the angle data
S
is stored (real number)
: Head number of the devices where the operation result will be stored (real number)
D
Internal Devices
R, ZR
Bit
Word
––
––
.
D
S
+1
S
TAN (
32-bit floating-point
real number
are set in radian units (degrees
S
are
S
Ver.
High
Basic
performance
TAN
TANP
J
\
U
\G
Bit
Word
––
––
*1: Applicable for the Universal model QCPU, LCPU.
D
+1
D
)
32-bit floating-point
real number
/2 radians, or (3/2)
radians, an operation error will
TAN(P)
Process
Redundant Universal
LCPU
S
D
S
D
Constants
Zn
Other
E
*1
––
*1
––
––
, and stores operation
S
/ 180).
7-257
1
2
3
4
6
6
7
8

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents