Detailed Description   
2.1 Predefined auxiliary functions 
  Auxiliary Function Output to PLC (H2) 
2-4  Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0 
Parameter: Type 
The name of an auxiliary function is defined via the "type", e.g.: 
•  M: Special functions 
•  S: Spindle functions 
•  F: Feed 
The "type" cannot be changed for predefined auxiliary functions. 
Parameter: Address extension 
The "address extension" of an auxiliary function is for addressing different components of the 
same type. In the case of predefined auxiliary functions, the value of the "address extension" 
is the spindle number to which the auxiliary function applies. 
If no address extension is programmed, the address extension is implicitly set = 0. Auxiliary 
functions with the address extension = 0 always implicitly refer to the master spindle of the 
channel. 
Example 
 
Programming Function 
N10 M3  ; "Spindle right" for the master spindle of the channel 
N20 M0 = 3  ; "Spindle right" for the master spindle of the channel 
N30 M1 = 3  ; "Spindle right" for the 1st spindle of the channel 
N40 M2 = 3  ; "Spindle right" for the 2nd spindle of the channel 
 
Grouping together auxiliary functions 
To assign an auxiliary function for all spindles of a channel to the same auxiliary function 
group, the value "–1" is entered for the "address extension" parameter.  
Example 
For all spindles of the channel, the auxiliary function M3 (machine data index = 6, 
corresponding to the table in Section: Predefined auxiliary functions) is assigned to the 2nd 
auxiliary function group. 
 
MD22040 $MC_AUXFU_PREDEF_GROUP[ 6 ]  = 2 
MD22050 $MC_AUXFU_PREDEF_TYPE[ 6 ]  = "M" 
MD22060 $MC_AUXFU_PREDEF_EXTENSION[ 6 ]  = -1 
MD22070 $MC_AUXFU_PREDEF_VALUE[ 6 ]  = 3 
Parameter: Value 
Parameters: "Value" and "Type" define the meaning of an auxiliary function. I.e. the system 
function that is activated as a result of this auxiliary function. The "value" cannot be changed 
for a predefined auxiliary function. The "value" can be reconfigured via additional machine 
data for some predefined auxiliary functions. See Section: Associated auxiliary functions.