# Example of a compensation value list

The diagram below shows a compensation value table with the properties:

- Non-equidistant interpolation points (kw.ssfk.interval = 0)
- Bilateral compensation table (kw.ssfk.bilateral = 1)
- Position specifications in metric system (kw.ssfk.unit = 1)
- Compensation value table with 140 entries (kw.ssfk.kw_nr_max = 140). The index of the position and setpoint entries goes from 0 to 139.
- The following values were measured at the third gauged position (table[2]):

Programmed position ith setpoint | Measured value pos ith actual value (pos direction) | Measured value neg ith actual value (neg direction) | pos calculated compensation value | neg calculated compensation value
19866.7 μm | 19856.5 μm | 19874.7 μm | -102 x 0.1 μm | 80 x 0.1 μm

## Programing Example

Example of a compensation value list

kopf.log_achs_nr 2

kopf.log_achs_name Y-ACHSE

kw.ssfk.interval 0

kw.ssfk.kw_startpos -200000

kw.ssfk.kw_nr_max 140

kw.ssfk.unit 1

kw.ssfk.bilateral 1

kw.ssfk.table[0].setpoint -200000

kw.ssfk.table[1].setpoint -199306

kw.ssfk.table[2].setpoint -198667

kw.ssfk.table[3].setpoint -198001

...

kw.ssfk.table[138].setpoint 334488

kw.ssfk.table[139].setpoint 335591

kw.ssfk.table[0].pos 0

kw.ssfk.table[1].pos 24

kw.ssfk.table[2].pos -102

...

kw.ssfk.table[139].pos -55

kw.ssfk.table[0].neg 0

kw.ssfk.table[1].neg 67

kw.ssfk.table[2].neg 80

...

kw.ssfk.table[139].neg 114