Brief Description
1.1 Function
Auxiliary Function Output to PLC (H2)
1-2 Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
Extension of predefined auxiliary functions
Extension of predefined auxiliary functions refers to the parameter: "Address extension". The
address extension defines the number of the spindle to which the auxiliary function applies.
For example, spindle function M3 (spindle right) is predefined for the master spindle of a
channel. If a 2nd spindle is assigned to a channel, a corresponding user-defined auxiliary
function must be defined that extends the predefined auxiliary function.
Type Function Example Meaning
M Miscellaneous (i.e.
special) function
M2=3 2. spindle: spindle right
S Spindle function S2=100 2. spindle: spindle speed = 100, e.g. 1 rpm
T Tool number T2=3
User-specific auxiliary functions
One feature of user-specific auxiliary functions is that the "Type" parameter must always be
H. User-specific auxiliary functions do not activate system functions. User-specific auxiliary
functions are output by the NC to the NC/PLC interface only. The functionality of the auxiliary
functions must be implemented by the machine manufacturer/user via the PLC user
program.
Type Function Example Meaning
H Auxiliary function H2=5 User-specific function
Definition of an auxiliary function
An auxiliary function is defined by the following parameters:
• Type, address extension and value
The three parameters are output at the NC/PLC interface.
• Output behavior
The auxiliary-function-specific output behavior defines how long an auxiliary function is
output to the NC/PLC interface and when it is output relative to the traverse movement
programmed in the same part program block.
• Group assignment
An auxiliary function can be assigned to an auxiliary function group. The output behavior
can be defined separately for each auxiliary function group. This becomes active if no
auxiliary-function-specific output behavior has been defined. Group membership also
affects output of an auxiliary function after block search.
For more detailed information on auxiliary function output to the NC/PLC interface, see:
References:
/FB/ Description of Function Basic Machines, PLC Basic Program (P3)