Mitsubishi MELFA CR1D Instruction Manual page 305

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 1000
;
1000 End
[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-292
4MELFA-BASIC IV

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melfa cr2dMelfa cr3d

Table of Contents