Example of distance axis

Programing Example

prg_example

Distance axis

# ------ Distance control --------

lr_param.distance_control_on

1

Enables the distance control function

kenngr.distc.max_abweichung

20000000

# [0.1µm] Max. permissible deviation

kenngr.distc.v_max

50000

# [µm/s] Max. velocity of distance controller

kenngr.distc.a_max

10000

# [mm/s*s] Max. acceleration

kenngr.distc.max_istw_sprung

100000000

# Max. actual value jump/cycle

kenngr.distc.ref_offset

0

# Reference point offset

kenngr.distc.max_pos

1500000

# [0.1µm] Max. position

kenngr.distc.min_pos

-1500000

# [0.1µm] Min. position

kenngr.distc.toleranz

50000

# [0.1µm] Tolerance value of probing depth

kenngr.distc.check_sw_limit_switch

1

# Distance control offset

monitor

kenngr.distc.optimized_scheduling

1

# Opt. scheduling active

kenngr.distc.mode_dist_use_both_encoder

1

# Motor and distance encoder active

#kenngr.distc.use_adaptive_acceleration

1

Adaptive weighting of acceleration active

kenngr.distc.a_min

1000

# [mm/s*s] Min. acceleration

kenngr.distc.a_max

10000

# [mm/s*s] Max. acceleration

kenngr.distc.dist_error_a_min

250

# [0.1 µm] Min. distance

kenngr.distc.dist_error_a_max

500

# [0.1 µm] Max. distance

kenngr.distc.filter_type

KALMAN_MA

# Kalman filter active

kenngr.distc.n_cycles

20

# Number of measured values for filtering

kenngr.distc.sigma

1000

# Uncertainty of measured values