# Description

P-AXIS-00271 | Selection of temperature compensation
Description | The parameter selects the temperature compensation.
Parameter | lr_param.temp_comp
Data type | BOOLEAN
Data range | 0/1
Axis types | T, R, S
Dimension | T: ---- | R,S: ----
Default value | 0
Drive types | ----
Remarks |

P-AXIS-00272 | Parameterisation of temperature compensation (Basic position)
Description | The compensation values are approximated by a linear straight line. This straight line is defined by a basic position, an offset at this position and a geometrical pitch. Depending on the temperature, these parameters can be adjusted e.g. by the PLC.
Parameter | lr_param.temp_comp_position_0
Data type | SGN32
Data range | MIN(SGN32) < temp_comp_position_0 < MAX(SGN32)
Axis types | T, R, S
Dimension | T: 0.1 µm | R,S: 0.0001°
Default value | 0
Drive types | ----
Remarks |

P-AXIS-00273 | Parameterisation of temperature compensation (Offset)
Description | The compensation values are approximated by a linear straight line. This straight line is defined by a basic position, an offset at this position and a geometrical pitch. Depending on the temperature, these parameters can be adjusted e.g. by the PLC.
Parameter | lr_param.temp_comp_offset_0
Data type | SGN32
Data range | MIN(SGN32) < temp_comp_offset_0 < MAX(SGN32)
Axis types | T, R, S
Dimension | T: 0.1 µm | R,S: 0.0001°
Default value | 0
Drive types | ----
Remarks |

P-AXIS-00274 | Parameterisation of temperature compensation (Geometrical pitch)
Description | The compensation values are approximated by a straight line. This straight line is defined by a basic position, an offset at this position and a geometrical pitch. Depending on the temperature these parameters can be adjusted e.g. by the PLC.
Parameter | lr_param.temp_comp_coefficient
Data type | REAL64
Data range | -10000 ≤ temp_comp_coefficient ≤ 10000
Axis types | T, R, S
Dimension | T: µm/m | R,S: ----
Default value | 0
Drive types | ----
Remarks |

P-AXIS-00275 | Distribution of the temperature compensation on several cycles
Description | The compensation values are recalculated for each interpolation cycle. If the change per cycle exceeds the given maximum axis acceleration, this change can be output filtered over multiple cycles. For this the number of cycles of the sin² filter can be defined in the axis parameter list.
Parameter | lr_param.temp_comp_n_cycles
Data type | UNS16
Data range | 0 < temp_comp_n_cycles < 20
Axis types | T, R, S
Dimension | T: Number of interpolation cycles | R,S: Number of interpolation cycles
Default value | 0
Drive types | ----
Remarks |

P-AXIS-00482 | Manual activation of the temperature compensation
Description | The CNC turns the temperature compensation on when it is selected in the axis parameter list (P-AXIS-00271) and the required preconditions are met (e.g. the axis is homed). If the parameter is set to 1, the temperature compensation must be manually turned on in the NC program via an NC command (see [PROG//Switching axis compensation on/off in the NC program]). In addition, the compensation is turned off at the end of the NC program, during CNC reset and axis release.
Parameter | lr_param.temp_comp_manual_activation
Data type | BOOLEAN
Data range | 0: Automatic activation (default). 1: Manual activation in NC program.
Axis types | T, R, S
Dimension | T: ---- | R,S: ----
Default value | 0
Drive types | ----
Remarks |