Contents   
  Mode Group, Channel, Program Operation, Reset Response (K1) 
iv  Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0 
2.6.9  System variables and variables for SERUPRO sequence ...................................................... 2-77 
2.6.10  Restrictions .............................................................................................................................. 2-79 
2.7  Program operation mode ......................................................................................................... 2-79 
2.7.1  Initial settings ........................................................................................................................... 2-80 
2.7.2  Selection and start of part program or part-program block ...................................................... 2-80 
2.7.3  Part-program interruption......................................................................................................... 2-82 
2.7.4  RESET command .................................................................................................................... 2-83 
2.7.5  Program status......................................................................................................................... 2-84 
2.7.6  Channel status ......................................................................................................................... 2-86 
2.7.7  Responses to operator or program actions.............................................................................. 2-87 
2.7.8  Part-Program Start ................................................................................................................... 2-88 
2.7.9  Example of timing diagram for a program run.......................................................................... 2-89 
2.7.10  Program section repetitions ..................................................................................................... 2-89 
2.7.11  Eventdriven program calls........................................................................................................ 2-91 
2.7.12  Control and effect on stop events .......................................................................................... 2-100 
2.7.13  Asynchronous Subroutines (ASUBs), Interrupt Routines ...................................................... 2-102 
2.7.14  Calling the ASUB outside program operation ........................................................................ 2-107 
2.7.15  Userdefined system ASUBs................................................................................................... 2-111 
2.8  Single block............................................................................................................................ 2-115 
2.8.1  Decoding single block SBL2 with implicit preprocessing stop ............................................... 2-116 
2.8.2  Single-block stop: Suppression using SBLOF ....................................................................... 2-116 
2.8.3  Single-block stop: inhibit according to situation ..................................................................... 2-119 
2.8.4  Single-block behavior in mode group with type A/B .............................................................. 2-120 
2.9  Program control...................................................................................................................... 2-121 
2.9.1  Function selection (via operator interface or PLC) ................................................................ 2-121 
2.9.2  Activation of skip levels.......................................................................................................... 2-122 
2.9.3  Adapting the size of the interpolation buffer........................................................................... 2-123 
2.9.4  Program display modes ...................................................................................................
...... 2-125 
2.9.5  Execution from external source (buffer size and number)..................................................... 2-131 
2.9.6  Execution from external subroutines......................................................................................2-132 
2.10  System settings for power-up, RESET/part-program end and part-program start ................ 2-135 
2.11  Subroutine call with M, T, and D functions............................................................................. 2-144 
2.11.1  Replacement of auxiliary functions with subroutines............................................................. 2-144 
2.11.2  M function replacement.......................................................................................................... 2-147 
2.11.3  Replacement of tool programming.........................................................................................2-148 
2.11.3.1  T and D function replacement................................................................................................ 2-148 
2.11.3.2  M function replacement for tool change................................................................................. 2-150 
2.11.3.3  Example of M/T function replacement for tool change .......................................................... 2-152 
2.11.4  Parameter transfer to the replacement subroutine ................................................................ 2-153 
2.11.5  Properties of replacement subroutines .................................................................................. 2-157 
2.12  Program runtime/workpiece counter ...................................................................................... 2-158 
2.12.1  Function.................................................................................................................................. 2-158 
2.12.2  Program runtime .................................................................................................................... 2-158 
2.12.3  Workpiece counter ................................................................................................................. 2-160 
3  Supplementary Conditions...................................................................................................................... 3-1 
3.1  Supplementary conditions.......................................................................................................... 3-1 
4  Examples................................................................................................................................................ 4-1 
4.1  Examples.................................................................................................................................... 4-1 
5  Data Lists................................................................................................................................................ 5-1 
5.1  Machine data.............................................................................................................................. 5-1 
5.1.1  General machine data................................................................................................................ 5-1