Mitsubishi MELFA CR1D Instruction Manual page 311

Table of Contents

Advertisement

M_Wai
[Function]
Returns the standby status of the program for the specified task slot.
1 : Paused (The program has been paused.)
0 : Not paused (Either the program is running or is being stopped.)
[Format]
Example)<Numeric Variable>=M_Wai [(<Equation>)]
[Terminology]
<Numeric Variable>
<Equation>
[Reference Program]
1 M1=M_Wai(1)
[Explanation]
(1) This can be used to check whether the program has been paused.
(2) Combine M_Run and M_Wai to determine if the program has stopped (in case the currently executed
line is the top line).
(3) This variable only reads the data.
[Reference]
M_Wupov, M_Wuprt, M_Wupst
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.
' M1 will contain the standby status of slot 1.
Detailed explanation of Robot Status Variable 4-298
4MELFA-BASIC IV

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melfa cr2dMelfa cr3d

Table of Contents