3. Data Formats
3.4 Optional Block Skip
14
3.4.2 Optional Block Skip Addition ; /n
Function and purpose
Whether the block with "/n (n:1 to 9)" (slash) is executed during automatic operation and searching
is selected.
By using the machining program with "/n" code, different parts can be machined by the same
program.
Detailed description
The block with "/n" (slash) code is skipped when the "/n" is programmed to the head of the block
and the optional block skip signal is turned ON.
For the block with the "/n" code inside the block (not the head of block), the program is operated
according to the value of the parameter "#1226 aux10/bit1" setting.
When the optional block skip signal is OFF, the block with "/n" is executed.
Example of program
(1) When the 2 parts like the figure below are machined, the following program is used. When the
optional block skip 5 signal is ON, the part 1 is created. When the optional block skip 5 signal is
OFF, the part 2 is created.
<Program>
N1 G54;
N2 G90G81X50. Z-20. R3. F100;
/5 N3 X30.;
N4 X10.;
N5 G80;
M02;
Part 1
the optional block skip 5 signal ON
Part 2
the optional block skip 5 signal OFF
N4 N2
N2
N3
N4