Lock program areas for block search (#BLOCKSEARCH)
The command
#BLOCKSEARCH LOCKED/RELEASED can lock any program areas for block search in the NC program. If the start position of block search is then located in one of these locked areas, the error message P-ERR-21399 is output.
The block search lock also includes all local and global subroutine called in the corresponding area.
If locked areas are nested, the block search lock includes the area starting at the first activation up to the first deactivation (see example 2).
#BLOCKSEARCH LOCKED | RELEASED | modal |
Programming Example
Lock program areas for block search
Example 1:
No start position may be selected for block search in the range of NC blocks N40–N100 including the subroutines called in it.
Example 2:
The area of the block search lock when nested covers N40-N75.