# ID 310003

Generation of smoothing filter with given parameters not possible.
Description | A filter for smoothing the measured distance values was parameterised for distance control (see FCT-M3) However, no valid filter can be created with the given filter parameters. Example of axis-specific distance control: %Example ;Select filter type

N10 Z[DIST_CTRL FILTER_TYPE=KALMAN_MA]

; Parametrise filter

N20 Z[DIST_CTRL DISTC_N_CYCLES=30 KALMAN_SIGMA=1000]

; Activate distance control

N30 Z[DIST_CTRL ON CONST_DIST SET_DIST=1]

; …

Example of 3D distance control:

%Example

;Select filter type

N10 #DIST_CTRL [FILTER_TYPE=KALMAN_MA]

; Parametrise filter

N20 #DIST_CTRL [DISTC_N_CYCLES=30 KALMAN_SIGMA=1000]

; Activate distance control

N30 #DIST_CTRL ON [CONST_DIST SET_DIST=1]

; …

Alternatively, the filter can also be defined by the corresponding axis parameters for axis-specific distance control. By analogy, this also applies to the channel parameters for 3D distance control.

Response | Class | 7 | Controlled halt of the axis, the control loop is closed.
Solution | Class | 6 | Check and modify the required parameter.
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: | Current value [-]
Return value of filter generation
%3: | Current value [-]
Active filter type.
Error type | -