Mitsubishi Electric CR750-Q Instruction Manual page 439

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

Advertisement

Mkd$
[Function]
Converts the value of an equation (double-precision real number) into a eight-byte string.
[Format]
<Character String Variable >=Mkd$(<Equation>)
[Reference Program]
1 C1$=Mkd$(10000.1)
2 M1=Cvd(C1$)
[Explanation]
(1) Converts the lowest eight bytes of the value of an equation (single-precision real number) into the
strings.
(2) Use Cvd to convert the string to a value.
(3) This can be used to reduce the amount of communication data when transmitting numerical data to
external devices.
[Reference]
Asc, Cvi, Cvs, Cvd, Mki$,
PosCq
[Function]
Checks whether the given position is within the movement range.
[Format]
<Numeric Variable>=PosCq(<Position Variables>)
[Reference Program]
1 M1=PosCq(P1)
[Explanation]
(1) Check whether the position data given by an argument is within the movement range of the robot. Value
1 will be returned if it is within the movement range of the robot; value 0 will be returned if it is outside
the movement range of the robot.
(2) Arguments must give either the position data type or joint data type.
' "10000.1" is assigned to C1$.
' 10000.1 is assigned to M1.
Mki$
' M1 will contain 1 if the position P1 is within the movement range.
Detailed Explanation of Functions 4-419
4MELFA-BASIC V

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cr750Cr751-qCr751-dCr760-dCr760-qCr750-d

Table of Contents