Mitsubishi Electric CR750-Q Instruction Manual page 422

Cr750/cr751/cr760 series
Hide thumbs Also See for CR750-Q:
Table of Contents

Advertisement

4MELFA-BASIC V
ASin
[Function]
Returns the arc sine from the specified sine.
[Format]
<Numeric Variable>=ASin(<Equation>)
[Terminology]
<Numeric Variable>
<Equation>
[Reference Program]
1 MRad=ASine(-0.4)
[Explanation]
(1) Returns the arc sine from the specified equation. Unit is in radians.
Atn/Atn2
[Function]
Calculates the arc tangent.
[Format]
<Numeric Variable>=Atn(<Equation>)
<Numeric Variable>=Atn2(<Equation 1>, <Equation 2>)
[Terminology]
<Numeric Variable>
<Equation>
<Equation 1>
<Equation 2>
[Reference Program]
1 M1=Atn(100/100)
2 M2=Atn2(-100,100)
[Explanation]
(1) Calculates the arc tangent of a given equation. Unit is in radians.
(2) The range of the returned value for Atn is -PI/2 < Atn < PI/2.
(3) The range of the returned value for Atn2 is -PI < Atn < PI.
(4) If <Equation 2> evaluates to 0, Atn2 will return PI/2 when <Equation 1> evaluates to a positive value and
-PI/2 when <Equation 1> evaluates to a negative value.
(5) In the case of Atn2, it is not possible to describe a function that contains an argument in <Equation 1>
and <Equation 2>. If such a function is described, an error will be generated during execution.
NG exampleM1=Atn2(Max(MA,MB), 100)
M1=Atn2(Cint(10.2), 100)
[Reference]
Sin, Cos,
Tan
4-402 Detailed Explanation of Functions
Calculates the arc sine with specified expression, and returns the result.
The unit is radian.
Setting range: -PI/2 to +PI/2
Specifies the sine.
Setting range: -1.0 to +1.0
' Assigns the arc sine of -0.4 (-0.411516846067488 rad) to the MRad.
Calculates the arc tangent with specified expression, and returns the result.
The unit is radian.
Calculated value of delta Y/delta X.
delta Y
delta X
'PI/4 is assigned to M1.
'-PI/4 is assigned to M1.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cr750Cr751-qCr751-dCr760-dCr760-qCr750-d

Table of Contents