Mitsubishi Electric CR750-Q Instruction Manual page 418

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

Advertisement

4MELFA-BASIC V
Abs
[Function]
Returns the absolute value of a given value.
[Format]
<Numeric Variable>=Abs(<Equation>)
[Reference Program]
1 P2.C=Abs(P1.C)
2 Mov P2
3 M2=-100
4 M1=Abs(M2)
[Explanation]
(1) Returns the absolute value (Value with the positive sign) of a given value.
[Reference]
Sgn
4-398 Detailed Explanation of Functions
' P2.C will contain the value of P1.C without the sign.
' 100 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