# Behaviour with programmed software limit switches (P-CHAN-00498)

P-CHAN-00498 | Behaviour with programmed software limit switches
Description | This parameter defines the limitation behaviour for programming software limits switches in the NC program using G98 and G99. As of CNC Build V3.1.3077.0 it is permitted to increase the range of the software limits switches in the NC program. If this behaviour is not required, the limitation can be activated to the parameterised software limit switches of the corresponding axis parameter list:. (P-AXIS-00177 and P-AXIS-00178)

The programmed values for the software limit switches are then limited to the values in the corresponding axis parameter list and the warning ID 21648 or ID 21650 is output.

For further information on software limit switches: Extensions to G98 and G99

Parameter | range_check_prog_soft_limits
Data type | BOOLEAN
Data range | 0: No limitation of the programmed values 1: Limitation of the programmed values to the range of the software limit switches
Dimension | ---
Default value | 0
Remarks | Parameter available as of V3.1.3080.4