Mitsubishi Electric CR750-Q Instruction Manual page 448

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

Advertisement

4MELFA-BASIC V
Sgn
[Function]
Checks the sign of the equation.
[Format]
<Numeric Variable>=Sgn(<Equation>)
[Reference Program]
1 M1=-12
2 M2=Sgn(M1)
[Explanation]
(1) Checks the sign of the equation and returns the following value.
Positive value 1
0
Negative value -1
Sin
[Function]
Calculates the sine.
[Format]
<Numeric Variable>=Sin(<Equation>)
[Reference Program]
1 M1=Sin(Rad(60))
[Explanation]
(1) Calculates the sine to which the given equation evaluates.
(2) The range of values will be the entire range that numerical values can take.
(3) The range of the return value will be from -1 to 1.
(4) The unit of arguments is in radians.
[Reference]
Cos, Tan,
Atn/Atn2
4-428 Detailed Explanation of Functions
' -1 is assigned to M2.
0
' 0.866025 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