15. Measurement Support Functions
15.4 Multi-step Skip Function 2; G31
555
Detailed description
(1) The skip is specified by command speed f. Note that the F modal is not updated.
(2) The skip signal is specified by skip signal parameter p. p can range from 1 to 255. If p is
specified outside the range, program error (P35) occurs.
Valid skip signal
Skip signal
parameter P
8 7 6 5 4 3 2 1
1
2
3
4
253
254
255
(Skip when signal is input.)
(3) The specified skip signal command is a logical sum of the skip signals.
(Example)
G31 X100. P5 F100 ;
Operation is skipped if skip signal 1 or 3 is input.
(4) If skip signal parameter Pp is not specified, the skip condition specified by the G31 parameter
works. If speed parameter Ff is not specified, the skip speed specified by the G31 parameter
works.
Relations between skip and multi-step skip
Skip specifications
x
o
Condition Speed condition Speed
G31 X100 ;
Without P and F
Program error (P601)
Skip 1
Parameter
G31 X100 P5 ;
Without F
Program error (P602)
Command
value
Parameter
G31 X100 F100 ;
Without P
Program error (P601)
Skip 1
Command
value
G31 X100 P5 F100 ;
Program error (P602)
Command
value
Command
value
(Note)
"Parameter" in the above table indicates that specified with a skip command (G31).
(5) If skip specification is effective and P is specified as an axis address, skip signal parameter P
is given priority and axis address P is ignored.
(Example)
G31 P500. F100 ;
This is regarded as a skip signal parameter and program error (P35)
results.
(6) Those items other than (1) to (5) are the same with the ordinary skip function (G31 without P).
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~