Disable program areas for single step

Selection

Individual program areas can be disabled in single step mode by the command #SINGLE STEP [ DISABLE / ENABLE ]. This continues the complete area using single step. No stop is executed within the grey area.

Syntax:

#SINGLE STEP [ DISABLE | ENABLE ]

modal

Programing Example

prg_example

The program area N40–N100 written in italics and the subroutine invocation are not executed in single step mode.

%SINGLE_STEP

N10 X0 Y0 Z0

N20 X10

N30 Y10

N40 #SINGLE STEP [DISABLE]

N50 X20

N60 Y20

N65 L GSP.nc

N70 Z20

N80 X30

N90 Z30

N100 #SINGLE STEP [ENABLE]

N110 Y30

N120 X40

N130 Z40

N999 M30

Nested disable/enable

When disable/enable commands are nested, the single step disable includes the area beginning from the first disable to the first enable (see example below)

Programing Example

prg_example

In the following nested areas, single step mode in the area displayed in italics is disabled between N40-N75.

%SINGLE_STEP

N10 X0 Y0 Z0

N20 X10

N30 Y10

N40 #SINGLE STEP [DISABLE]

N50 X20

N55 #SINGLE STEP [DISABLE]

N60 Y20

N65 L GSP.nc

N70 Z20

N75 #SINGLE STEP [ENABLE]

N80 X30

N90 Z30

N100 #SINGLE STEP [ENABLE]

N110 Y30

N120 X40

N130 Z40

N999 M30