Program code CommentN1080 L6 ; Call tool change routineN1085 ASUP_ENDE1:N1090 IF TNR_VORWAHL == TNR_SUCHLAUF GOTOF AS-UP_ENDEN1100 T = $TC_TP2[TNR_VORWAHL] ; Restore T preselection by tool nameN1110 ASUP_ENDE:N1110 M90 ; Feedback to PLCN1120 REPOSA ;ASUB endIn both of the programs PROC L6 and PROC ASUPWZV2, the tool change is programmedwith M206 instead of M6.ASUB "ASUPWZV2" uses different system variables to detect the progress of the program($P_TOOLNO) and represent the current status of the machine ($TC_MPP6[9998,1] ).Spindle ramp-upWhen the SERUPRO ASUB is started, the spindle is not accelerated to the speed specifiedin the program because the SERUPRO ASUB is intended to move the new tool into the correctposition at the workpiece after the tool change.A spindle ramp-up is performed with SERUPRO ASUB as follows:● SERUPRO operation has finished completely.● The user starts the SERUPRO ASUB via function block FC 9in order to ramp up the spindle.● The start after M0 in the ASUB does not change the spindle status.● SERUPRO ASUB automatically stops before the REPOS part program block.● The user presses START.● The spindle accelerates to the target block state if the spindle was not programmeddifferently in the ASUB.NoteModifications for REPOS of spindles:The transitions of speed control mode and positioning mode must be taken intoconsideration in the event of modifications in SERUPRO approach and spindle functionality.For further information on the operating mode switchover of spindles, see Section "Modes(Page 1200)".K1: Mode group, channel, program operation, reset response9.8 Block search Type 5 (SERUPRO)Basic Functions510 Function Manual, 01/2015, 6FC5397-0BP40-5BA2