Calculating The Arc Tangent - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

Motion module instructions, standard functions/ function blocks
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

13.11

Calculating the Arc Tangent

ATAN
These functions output the arc tangent (TAN
Structured text
d:=ATAN(s);
Setting data
■Description, type, data type
Argument
s (IN)
d
Processing details
■Operation processing
• These functions calculate the arc tangent (TAN
from (d).
• When the input value is defined as A and the output value is defined as B, the relationship of A and B will be as follows:
-1
B=TAN
A
• Input a REAL data type value to (s) within the following range.
-38
ATAN: ±1.17549
to ±3.40282
• The value (angle) is output from (d) in radians (angle×π/180).
■Operation result
The operation processing is performed. The operation result is output from (d).
Operation error
Error code
Description
3402H
The data specified by (s) is -0.
13 SINGLE VARIABLE FUNCTIONS
176
13.11 Calculating the Arc Tangent
-1
) of an input value.
Description
Input
Output
-1
) of the REAL data type value input to (s), and output the operation result
+38
Type
Data type
Input variable
ANY_REAL
Output variable
ANY_REAL

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents