Calculating The Arc Cosine - 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.10

Calculating the Arc Cosine

ACOS
These functions output the arc cosine (COS
Structured text
d:=ACOS(s);
Setting data
■Description, type, data type
Argument
Description
s (IN)
Input
d
Output
Processing details
■Operation processing
• These functions calculate the arc cosine (COS
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=COS
A
• Input a REAL data type value to (s) within the following range.
ACOS: -1.0 to 1.0
• 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.
3405H
The value input with ACOS is other than -1.0 to 1.0.
-1
) of an input value.
-1
) of the REAL data type value input to (s), and output the operation result
Type
Data type
Input variable
ANY_REAL
Output variable
ANY_REAL
13 SINGLE VARIABLE FUNCTIONS
13.10 Calculating the Arc Cosine
13
175

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents