# Exceptions and errors

## Block search to a block without motion

Start program and continue in N100 at 10% of covered distance.

Since N100 contains no motion, the block is not split at 10%.

## Programing Example

Block search to a block without motion

%t_sv_p.nc

N907090 G01 X0 Y0 Z0 F1000

N070 Y10

N095 X2.1 Y2.2 Z2.3

N100 P100 = 1

N110 G00 G91 X10

N120 G90 X3.1 Y3.2 Z3.3

N907091 M30

## Continuation position not found

Block search type = 4, start program

Set number of passes too high /too low. Set unknown block number.

If the number of passes is smaller than 2, the first occurrence of the block number is taken as the continuation position.

If the number of passes is greater than 5, the continuation position is not found and the message P-ERR-20704 is output.

If the block number is not found for continuation, a message (warning) is also output and the entire NC program is terminated in block search mode.

## Programing Example

Block search type 4, start program

%t_sv_number.nc

N00 G00 G90 X0 Y0

P1 = 0

N80 G01 G91 X10 F500

N095 Y10

$FOR P1 = 1, 5, 1

N100 X-2

$ENDFOR

N120 Y-10

N130 M30