Mitsubishi Electric CR750-Q Instruction Manual page 381

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

Advertisement

M_SkipCq
[Function]
Returns the result of executing the line containing the last executed Skip command.
1: Skip has been executed.
0: Skip has not been executed.
[Format]
Example)<Numeric Variable>=M_SkipCq [(<Equation>)]
[Terminology]
<Numeric Variable>
<Equation>
[Reference Program]
1 Mov P1 WthIf M_In(10)=1,Skip
2 If M_SkipCq=1 Then GoTo *Lskip
;
10 *Lskip
[Explanation]
(1) Checks if a Skip instruction has been executed.
(2) This variable only reads the data.
(3) If the M_SkipCq variable is referenced even once, the Skip status is cleared. (The value is set to zero.)
Therefore, to preserve the status, save it by substituting it into a numeric variable.
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.
' If the input signal 10 is 1 when starting to move to P1, skip
the Mov instruction.
' If Skip instruction has been executed, jump to line 1000.
Detailed explanation of Robot Status Variable 4-361
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