Lock program areas for single-step mode

The command #SINGLE STEP [ DISABLE / ENABLE ] locks any program areas in the NC program for single-step mode. This allows the operator to skip the labelled program areas in one step and jump faster to the NC lines to be analysed.

If locked areas are nested, the single-step lock includes the area starting at the first activation to the first deactivation (see example 2).

The user can continue to define an incremental width at a specific block number single-step resolution #SINGLE STEP [ RESOLUTION… ] at which the single-step stop is to act (see example 3).

For further information on single-step block mode, see the functional description [FCT-M2].

#SINGLE STEP [ DISABLE | ENABLE | RESOLUTION<expr> ]                                             (modal)

DISABLE

Start of single-step lock.

ENABLE

End of single-step lock.

RESOLUTION<expr>

Specific block number incremental width at which the single-step stop acts.

Programing Example

prg_example

Locking program areas for single-step mode

Example 1:

Single-step mode is not effective in the area of the NC blocks N40–N100 including all included subroutines called in it.

%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

Example 2:

Area of single-step lock with nesting includes 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

Example 3:

Block numbering with user-specific single-step resolution (10 steps) and internal numbering (1 step). The black lines show the single-step stop. There is no stopping within the grey area.

%SINGLE_STEP

N010 #SINGLE STEP [RESOLUTION = 10]

                                          

N090 Y0

N091 Y1

N092 Y2

N093 Y3

N094 Y4

                                          

N100 Y5

N101 Y6

N102 Y7

                                          

N110 Y8