# Description

P-AXIS-00047 | Activation of cross compensation
Description | This parameter activates the cross compensation.
Parameter | lr_param.crosscomp
Data type | BOOLEAN
Data range | 0/1
Axis types | T
Dimension | T: ---- |
Default value | 0
Drive types | ----
Remarks |

P-COMP-00060 | Maximum number of table entries for cross compensation
Description | This cross compensation parameter (FCT-C5) saves the memory space required for a particular number of table entries. The size of the actually used compensation table is defined by `last_index` (P-COMP-00004) and `last_index` must be smaller than `max_points`.
Parameter | kw.crosscomp.max_points
Data type | UNS32
Data range | 0 <= P-COMP-00060
Axis types | T, R, S
Dimension | T: ---- | R,S: ----
Default value | 1001
Remarks | The parameter value can no longer be changed after start-up or after lists are reloaded. Otherwise error ID 110639 is output. If P-COMP-00060 is not specified (or assigned the value 0), the default value is assigned to P-COMP-00060 for downward compatibility reasons.

To avoid the default assignment, memory can be saved for an axis that does not use cross compensation by assigning the value 1 to P-COMP-00060.

This parameter is available as of CNC Build V3.3079.06

P-COMP-00003 | Unit of the length entries
Description | The parameter defines the unit to be used for the length entries of compensation values.
Parameter | kw.crosscomp.unit
Data type | BOOLEAN
Data range | 0: Encoder increments 1: Metric (in 0.1 µm)
Axis types | T, R, S
Dimension | T: ---- | R,S: ----
Default value | 0
Remarks |

P-COMP-00004 | Last index of compensation value table
Description | This parameter determines the last valid index in the table of the master axis. The table always starts with index 0
Parameter | kw.crosscomp.last_index
Data type | SGN32
Data range | 0 ≤ last_index < P-COMP-00060
Axis types | T, R, S
Dimension | T: ---- | R,S: ----
Default value | 0
Remarks | P-COMP-00060 is available as of Build V3.1.3079.06. The upper limit in previous CNC versions is 1000.

P-COMP-00005 | Logical axis number of the master axis
Description | This parameter determines the logical number of the master axis whose command position is used to calculate the input variable of the compensation value table of the slave axis.
Parameter | kw.crosscomp.master_ax_nr
Data type | UNS16
Data range | 1 ≤ master_ax_nr ≤ MAX (UNS16)
Axis types | T, R, S
Dimension | T: ---- | R,S: ----
Default value | 0
Remarks |

P-COMP-00026 | Number of cycles for ‘smooth switching’
Description | This parameter determines the number of cycles for which cross compensation is activated/deactivated smoothly.
Parameter | kw.crosscomp.n_cycles
Data type | UNS16
Data range | 0 ≤ n_cycles ≤ 20 (maximum number of cycles for which cross compensation is activated/deactivated, application-specific)
Axis types | T, R, S
Dimension | T: ---- | R,S: ----
Default value | 0
Remarks |

P-COMP-00029 | Manual activation
Description | Cross compensation is automatically activated by the CNC if it selected in the axis parameters (P-AXIS-00047) and the required conditions are met (e.g. axis is homed). If the parameter is set to the value 1, cross compensation must be activated explicitly by an NC command (see [PROG//Selecting/deselecting axis compensations in the NC program]. In addition, compensation is deselected at the end of the NC program, at CNC reset and on axis release.
Parameter | kw.crosscomp.manual_activation
Data type | BOOLEAN
Data range | 0: Automatic activation 1: Manual activation in NC program
Axis types | T, R, S
Dimension | T: ---- | R,S: ----
Default value | 0
Remarks |

P-COMP-00006 | Interpolation point of the master axis
Description | This parameter determines the interpolation points of the master axis on which the slave axis has to be corrected.
Parameter | kw.crosscomp.table[i].setpoint
Data type | SGN32
Data range | MIN(SGN32) ≤ setpoint < MAX(SGN32)
Axis types | T, R, S
Dimension | T: 0.1 µm or increments | R,S: 0.0001° or increments
Default value | 0
Remarks |

P-COMP-00007 | Compensation values for the slave axis
Description | This parameter determines the relative compensation values for the slave axis at interpolation points 'i'.
Parameter | kw.crosscomp.table[i].correction
Data type | SGN32
Data range | MIN(SGN32) ≤ correction < MAX(SGN32)
Axis types | T, R, S
Dimension | T: 0.1 µm or increments | R,S: 0.0001° or increments
Default value | 0
Remarks |