Mitsubishi Electric CR750-Q Instruction Manual page 356

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

Advertisement

4MELFA-BASIC V
M_Exp
[Function]
Returns the base of natural logarithm (2.718281828459045).
[Format]
Example) <Numeric Variable>=M_Exp
[Terminology]
<Numeric Variable> Specifies the numerical variable to assign.
[Reference Program]
1 M1=M_Exp
[Explanation]
(1) This is used when processing exponential and logarithmic functions.
(2) This variable only reads the data.
M_Fbd
[Function]
Returns the difference between the command position and the feedback position.
[Format]
Example) <Numeric Variable>=M_Fbd[(<Mechanism Number>)]
[Terminology]
<Numeric Variable>
<Mechanism Number>
[Reference Program]
1 Def Act 1,M_Fbd>10 GoTo *SUB1,S
2 Act 1=1
3 Torq 3,10
4 Mvs P1
5 End
;
10 *SUB1
11 Mov P_Fbc
12 M_Out(10)=1
13 Hlt
[Explanation]
(1) This function returns the difference between the command position specified by the operation instruction
and the feedback position from the motor. When using the torque instruction, use this in combination
with a Def Act instruction to prevent the occurrences of excessive errors (960, 970, etc.).
(2) This variable only reads the data.
[Reference]
Torq
(Torque),
P_Fbc
4-336 Detailed explanation of Robot Status Variable
' Base of natural logarithm (2.718281828459045) is assigned to M1.
Specifies the numerical variable to assign.
Specify the mechanism number 1 to 3. The default value is 1.
' Generate an interrupt when the difference between the
command position and the feedback position reaches 10
mm or more.
' An interrupt takes effect.
' Set the torque limit of the three axes to 10% or less using
the torque instruction.
' Moves.
' Align the command position with the feedback position.
' Signal No. 10 output
' Stop when a difference occurs.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cr750Cr751-qCr751-dCr760-dCr760-qCr750-d

Table of Contents