M_Ratio
[Function]
Returns how much the robot has approached the target position (0 to 100%) while the robot is moving.
[Format]
Example)<Numeric Variable>=M_Ratio [(<Equation>)]
[Terminology]
<Numeric Variable>
<Equation>
[Reference Program]
1 Mov P1 WthIf M_Ratio>80, M_Out(1)=1
[Explanation]
(1) This is used, for instance, when performing a procedure at a specific position while the robot is moving.
(2) This variable only reads the data.
Specifies the numerical variable to assign.
1 to 32, Specifies the task slot number. If this parameter is omitted, the current
slot will be used as the default.
' The output signal 1 will turn ON when the robot has
moved 80% of the distance until the target position is
reached while moving toward P1.
Detailed explanation of Robot Status Variable 4-357
4MELFA-BASIC V