Sag/angularity complete-CEC compensation (Siemens Sinumerik)

Please note that in order to set sag/angularity compensation between axes, the appropriate option must be purchased. To set the compensation, follow these steps:

  1. Set the number of points for compensation using parameter 18342-$MN_mm_cec_max_points.
  2. Use parameter 18342 (0) for table 0, parameter 18342 (1) for table 1, and so on.
  3. Enable the compensation by setting parameter 32710 MA_CEC_ENABLE to 1, or disable it by setting it to 0.

Please be aware that after an NCK reset or changing parameter 18342, the memory may be reorganized and data may be lost.

Before resetting the NCK, it’s important to override the 18342 parameter and create an archive of the Serial UDP-NC, including compensation data, which should then be reloaded.

Once this is done, go to the NC directory and select NC active data -> sag/angularity -> complete, and create a compensation file (CEC). You can then edit the file and create an archive (output data, archive, name the file, format-punched tape).

The CEC compensation file looks like the following:

CHANDATA (1)                   position Y

$AN _cec [0.0] = 0           -1000

$AN _cec [0.1] = 0.05      -950

$AN _cec [0.2] = 0.03     -900

$AN _cec [0.3] = 0.01      -850

$AN _cec [0.4] = 0.06     -800

$AN _cec [0.5] = 0.09      -750

$AN _cec [0.6] = 0.11      -700

$AN _cec [0.7] = 0.12      -650

$AN _cec [0.8] = 0.06     -600

$AN _cec [0.9] = 0.03      -550

$AN _cec [0.10] = 0          -500

$AN _cec [0.11] =-0.3       -450

$AN _cec [0.12] =-0.06    -400

$AN _cec [0.13] = 0.01      -350

$AN _cec [0.14] = 0.07      -300

$AN _cec [0.15] = 0.03      -250

$AN _cec [0.16] = 0.01     -200

$AN _cec [0.17] = 0.02     – 150

$AN _cec [0.18] = 0.03      -100

$AN _cec [0,19] = 0.015      -50

$AN _cec [0.20] = 0             -0

$AN _cec_input_axis [0] = (Y)-input Axis

$AN _cec_output_axis [0] = (Z)-output Axis

$AN _cec_step [0] = 50-distance points

$AN _cec_min [0] =-1000-start of compensation (minimum ref. Y-axis Position)

$AN _cec_max [0] = 0-end of compensation (maximum ref. Y Position)

$AN _cec_direction] = 0

$AN _cec_is_ MODULO [0] = 0-switch on the rotary axis module

M17

value =   …..is the compensation value e.g. 0.01 The system shifts the measuring by 0.01 mm.

After editing the  table ,upload back(data input, archive, select file, upload)

When loaded the parameter 32700 ENC_COMP_ENABLE (activation Compensation) must be in 0!!!!!

Then set the parameter 32700 to 1 compenzation should Work.

When changing the $AN _cec_input_axis], $AN _cec_output_axis [0], $AA _cec_comp_step, $AA _cec_comp_min, $AA _enc_comp_max need to give NCK reset!!!!

$AN _cec_output_axis [0], $AA _cec_comp_step, $AA _cec_comp_min, $AA _enc_comp_max need to give NCK reset!!!!

Always make a backup of your data before you start your Work. Archive for serial start up!!!!

Setting on your own responsibility, we recommend that you have a professional service company.