Main spindle
The main spindle can be programmed together with specific functionality (e.g. thread tapping, gear change, etc.) in the conventional DIN syntax.
The main spindle is defined via the assignment of the P-CHAN-00051 (main_spindle_ax_nr) parameter. Here, the logical axis number of one of the spindles configured in the channel parameter list is entered. Once the control system has started up, this spindle is the main spindle.
By means of the #MAIN SPINDLE NC command, see [PROG], any other spindle in the system can be made the main spindle.
Via the P-CHAN-00053 (main_spindle_name) parameter, the main spindle is assigned an axis designation by means of which it can be addressed in the part program. This axis designation can be chosen freely but must begin with the letter "S".
Even if there is only one spindle in the system, it must be configured as the main spindle. |
Parameters
P-CHAN-00051 | Logical axis number of the main spindle |
P-CHAN-00053 | Designation of the main spindle |
Example: spindle S1 is defined as the main spindle.
Initialization in the channel parameter list
main_spindle_ax_nr 10
main_spindle_name S
spindel[0].bezeichnung S1
spindel[0].log_achs_nr 10
spindel[1].bezeichnung S2
spindel[1].log_achs_nr 11
spindel[2].bezeichnung S3
spindel[2].log_achs_nr 12