# ID 310025

Mode change while distance control is active.
Description | Axis-specific distance control supports two different operation modes (see FCT-M3// Operation mode of distance control)

- "Surface" mode: Control on the workpiece surface,
  with axis-specific distance control: Default
  3D distance control: SURFACE
- "Distance" mode: Control of the distance SET_DIST
  with axis-specific distance control: CONST_DIST
  3D distance control: CONST_DIST

If the distance control is active, a change in these operation modes is not allowed without previously disabling distance control (OFF) or freezing the current offset (FREEZE).

Response | Class | 7 | Controlled halt of the axis, the control loop is closed.
Solution | Class | 6 | Check and modify the process. First disable distance control before activating the other mode.
Parameter | %1: | Logical axis number [-] or Logical channel number [-]
Logical axis number Axis parameters of the axis affected for axis-specific distance control, logical channel number Logical number of a NC channel (P-CHAN-00400) for 3D distance control.
%2: | Block number [-]
Block number in the NC program
%3: | Current value [-]
Current operation mode of the distance control
%4: | Error value [-]
New programmed operation mode of distance control
Error type | -