# Plane compensation (kw.crosscomp2.*)

Plane compensation allows the correction of an axis position depending on the actual positions of two axes. The axis for which correction is active is called the slave axis. The two axes whose command positions influence the compensation value are called master axes.

The data for plane compensation is defined in the compensation value list of the slave axis. General data of the list body is entered in the structure kw.cross comp2.*. It contains the following elements.

## Additional information

- Maximum number of table entries for plane compensation (P-COMP-00061)
- Type of interpolation point grid (P-COMP-00031)
- Distance between interpolation points (P-COMP-00009)
- Distance between the interpolation points of the first master axis (P-COMP-00032)
- Distance between interpolation points on the second master axis (P-COMP-00033)
- Last index of master axis 1 (P-COMP-00010)
- Last index of master axis 2 (P-COMP-00011)
- Start position of master axis 1 (P-COMP-00012)
- Start position of master axis 2 (P-COMP-00013)
- Logical axis number of the master axis 1 (P-COMP-00014)
- Logical axis number of the master axis 2 (P-COMP-00015)
- Number of cycles for ‘smooth switching’ (P-COMP-00027)
- Manual activation (P-COMP-00030)
- Table of compensation values (kw.crosscomp2.table[j][i].*)
- Example of a compensation value list