H2: Auxiliary function outputs to PLC
8.2 Predefined auxiliary functions
Basic Functions
400 Function Manual, 09/2011, 6FC5397-0BP40-2BA0
8.2 Predefined auxiliary functions
Function
Every pre-defined auxiliary function is assigned to a system function and cannot be changed. If a pre-defined
auxiliary function is programmed in a part program/cycle, then this is output to the PLC via the NC/PLC interface
and the corresponding system function is executed in the NCK.
Definition of a predefined auxiliary function
The parameters of the predefined auxiliary function are stored in machine data and can be changed in some
cases. All machine data, which are assigned to an auxiliary function, have the same index <n>.
• MD22040 $MC_AUXFU_PREDEF_GROUP[<n>] (group assignment of predefined auxiliary functions)
• MD22050 $MC_AUXFU_PREDEF_TYPE[<n>] (type of predefined auxiliary functions)
• MD22060 $MC_AUXFU_PREDEF_EXTENSION[<n>] (address extension for predefined auxiliary functions)
• MD22070 $MC_AUXFU_PREDEF_VALUE[<n>] (value of predefined auxiliary functions)
• MD22080 $MC_AUXFU_PREDEF_SPEC[<n>] (output behavior of predefined auxiliary functions)
8.2.1 Overview: Predefined auxiliary functions
Significance of the parameters listed in the following tables:
Predefined auxiliary functions
Parameter Meaning
Index <n> Machine data index of the parameters of an auxiliary function
Type MD22050 $MC_AUXFU_PREDEF_TYPE[<n>]
Address extension MD22060 $MC_AUXFU_PREDEF_EXTENSION[<n>]
Value MD22070 $MC_AUXFU_PREDEF_VALUE[<n>]
Group MD22040 $MC_AUXFU_PREDEF_GROUP[<n>]
General auxiliary functions, Part 1
System function Index <n> Type
Address
extension
Value Group
Stop 0 M 0 0 1
Conditional stop 1 M 0 1 1
End of subroutine 2 M 0 2 1
3 M 0171
4 M 0301
Tool change 5 M (0)
6
1)
(1)