# Clearing workspace and protection areas

## Commands for clearing

Information on cleared control areas is irrevocably lost. The memory space occupied is then released in order to define new control areas. Only deactivated control areas can be cleared.

The NC command to clear a control area contains the following syntax elements:

#CONTROL AREA CLEAR [ALL] | [ ID=.. ] | modal

ID=.. | Unique identifier to identify the different workspace/protection areas.
ALL | All currently defined workspace and protection areas are cleared and the memory space is released for new definitions.

## Notice

It is only permitted to clear workspace and protection area when the machine is in inactive state.

If an attempt is made to clear active workspace and protections area, the warning ID 120499 is output.

## Programing Example

Clearing workspace and protection areas

#CONTROL AREA CLEAR [ID3] (Clear specific control area)

#CONTROL AREA CLEAR ALL (Clear all defined control areas)