H2: Auxiliary function outputs to PLC
8.4 Associated auxiliary functions
Basic Functions
426
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
8.4
Associated auxiliary functions
Function
Associated auxiliary functions are user-defined auxiliary functions that have the same effect as the
corresponding predefined auxiliary functions. User-defined auxiliary functions can be associated for the following
predefined auxiliary functions:
• M0 (stop)
• M1 (conditional stop)
Requirements
The precondition for association of a user-defined auxiliary function with one of the predefined auxiliary functions
mentioned is parameterization of a user-defined auxiliary function. Only "M" is allowed as a "type" parameter of
the user-defined auxiliary function.
Parameter assignment
Association of a user-defined auxiliary function with one of the predefined auxiliary functions mentioned is set in
the machine data:
MD22254 $MC_AUXFU_ASSOC_M0_VALUE (additional M function for program stop)
MD22256 $MC_AUXFU_ASSOC_M1_VALUE (additional M function for conditional stop)
Group assignment
The group assignment of an associated user-defined auxiliary function is always the group assignment of the
corresponding predefined auxiliary function.
Application
Associated auxiliary functions can be used in:
• Main program
• Subroutine
• Cycle
NC/PLC interface signals
In the case of an associated user-defined auxiliary function, the same signals are output to the NC/PLC interface
as for the corresponding predefined auxiliary function. To distinguish which auxiliary function has actually been
programmed, the value of the user-defined auxiliary function ("value" parameter) is output as the value of the
Note
Associated auxiliary functions may not be used in synchronized actions.