Detailed Description 
  2.2 User-defined auxiliary functions 
Auxiliary Function Output to PLC (H2) 
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0 
2-13 
Type 
Address extension 
1)
 
System function 
 
  Value 
Tool change  M  1  6 
Spindle right  M  1  3 
Spindle left  M  1  4 
Spindle stop  M  1  5 
Position spindle  M  1  19 
Axis mode  M  1  70 
Automatic gear stage  M  1  40 
Gear stage 1  M  1  41 
Gear stage 2  M  1  42 
Gear stage 3  M  1  43 
Gear stage 4  M  1  44 
Gear stage 5  M  1  45 
Spindle speed  S  1  -1 
Tool selection  T  1  -1 
1) address extension = 1 is the default value used in the auxiliary functions predefined in the machine 
data. 
Example 
Extension of the predefined auxiliary function for the system function: "Spindle right" for the 
2nd and 3rd spindle of the channel. 
 
Auxiliary function "Spindle right" for the 2nd spindle of the channel 
MD22010 $MC_AUXFU_ASSIGN_TYPE[ n ]  = "M" 
MD22020 $MC_AUXFU_ASSIGN_EXTENSION[ n ]  = 2 
MD22030 $MC_AUXFU_ ASSIGN_VALUE[ n ]  = 3 
Auxiliary function "Spindle right" for the 3rd spindle of the channel 
MD22010 $MC_AUXFU_ ASSIGN_TYPE[ m ]  = "M" 
MD22020 $MC_AUXFU_ASSIGN_EXTENSION[ m ]  = 3 
MD22030 $MC_AUXFU_ ASSIGN_VALUE[ m ]  = 3