Table of contents
Basic Functions
18
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
9.9.13 Influencing the Stop events through Stop delay area .............................................................. 588
9.10 Asynchronous subroutines (ASUBs), interrupt routines .......................................................... 591
9.10.1 Function ................................................................................................................................... 591
9.10.1.1 General functionality ................................................................................................................ 591
9.10.1.2 Sequence of an interrupt routine in program operation ........................................................... 593
9.10.1.3 Interrupt routine with REPOSA ................................................................................................ 594
9.10.1.4 NC response ............................................................................................................................ 595
9.10.2 Parameter assignment ............................................................................................................. 596
9.10.3 Programming ........................................................................................................................... 601
9.10.4 Restrictions .............................................................................................................................. 603
9.10.5 Examples ................................................................................................................................. 603
9.11 User-specific ASUB for RET and REPOS ............................................................................... 604
9.11.1 Function ................................................................................................................................... 604
9.11.2 Parameter assignment ............................................................................................................. 604
9.11.3 Programming ........................................................................................................................... 605
9.12 Single block ............................................................................................................................. 607
9.12.1 Decoding single block SBL2 with implicit preprocessing stop ................................................. 608
9.12.2 Single block stop: Suppression using SBLOF ......................................................................... 608
9.12.3 Single block stop: inhibit according to situation .......................................................................611
9.12.4 Single-block behavior in mode group with type A/B ................................................................ 612
9.13 Program control ....................................................................................................................... 614
9.13.1 Function selection (via operator panel front or PLC) ............................................................... 614
9.13.2 Activation of skip levels ............................................................................................................ 615
9.13.3 Adapting the size of the interpolation buffer ............................................................................ 616
9.13.4 Program display modes via an additional basic block display ................................................. 618
9.13.5 Basic block display for ShopMill/ShopTurn .............................................................................. 619
9.13.6 Structure for a DIN block ......................................................................................................... 621
9.13.7 Execution from external ........................................................................................................... 624
9.13.8 Execution from external subroutines ....................................................................................... 625
9.14 System settings for power-up, RESET/part-program end and part-program start................... 628
9.14.1 Tool withdrawal after POWER OFF with orientation transformation ........................................ 633
9.15 Replacing functions by subprograms....................................................................................... 636
9.15.1 Overview ................................................
..................................................................
................ 636
9.15.2 Replacement of M, T/TCA and D/DL functions ........................................................................ 637
9.15.2.1 Replacement of M functions .................................................................................................... 637
9.15.2.2 Replacing T/TCA and D/DL functions ...................................................................................... 639
9.15.2.3 System variable ....................................................................................................................... 641
9.15.2.4 Example: Replacement of an M function .................................................................................643
9.15.2.5 Example: Replacement of a T and D function ......................................................................... 645
9.15.2.6 Behavior in the event of a conflict ............................................................................................ 647
9.15.3 Replacement of spindle functions ............................................................................................ 648
9.15.3.1 General .................................................................................................................................... 648
9.15.3.2 Replacement of M40 - M45 (gear stage change) .................................................................... 650
9.15.3.3 Replacement of SPOS, SPOSA, M19 (spindle positioning) .................................................... 651
9.15.3.4 System variable ....................................................................................................................... 652
9.15.3.5 Example: Gear stage change .................................................................................................. 653
9.15.3.6 Example: Spindle positioning ................................................................................................... 655
9.15.4 Properties of the subprograms ................................................................................................ 658
9.15.5 Restrictions .............................................................................................................................. 660