# Designation of the main spindle (P-CHAN-00053)

P-CHAN-00053 | Designation of the main spindle in the NC channel |
Description | Besides the logical axis number, a name must be assigned to the main spindle by which it can be addressed in the subroutine. This parameter therefore assigns an axis name to the main spindle. The axis name is freely selectable, but the first character must be an 'S'.
Parameter | main_spindle_name
Data type | STRING
Data range | Maximum 16 characters (length of spindle designation, application-specific)
Dimension | ----
Default value | *
Remarks | The designation of the main spindle cannot be changed in the subroutine. However, if the main spindle is changed using #MAIN SPINDLE (see [PROG]), the new main spindle is assigned. Parameterisation example: The main spindle (logical axis number 6) is programmed in the subroutine with the name 'S'.

main_spindle_ax_nr 6

main_spindle_name S

* Note: The default value of variables is a blank string.