H2: Auxiliary function outputs to PLC
8.3 Userdefined auxiliary functions
8.3.1.3
Type, address extension and value
An auxiliary function is programmed via the type, address extension, and value parameters (see "Programming
an auxiliary function [Page 431]").
Type
The name of an auxiliary function is defined via the "type".
The identifiers for user-defined auxiliary functions are:
Type
Identifier
"H"
Auxiliary function
"M"
Special function
"S"
Spindle function
"T"
Tool number
The setting is done via the following machine data:
MD22010 $MC_AUXFU_ASSIGN_TYPE[<n>] (type of user-defined auxiliary functions)
Address extension
MD22020 $MC_AUXFU_ASSIGN_EXTENSION[<n>] (address extension user-defined auxiliary functions)
The functionality of the address extension is not defined in user-specific auxiliary functions. It is generally used to
distinguish between auxiliary functions with the same "value".
Grouping together auxiliary functions
If all the auxiliary functions of the same type and value are assigned to the same auxiliary function group, a value
of "-1" must be entered for the "address extension" parameter.
Example:
All user-specific auxiliary functions with the value "= 8" are assigned to the tenth auxiliary function group.
MD22000 $MC_AUXFU_ASSIGN_GROUP [ 1 ]
MD22010 $MC_AUXFU_ ASSIGN_TYPE [ 1 ]
MD22020 $MC_AUXFU_ ASSIGN_EXTENSION [ 1 ]
MD22030 $MC_AUXFU_ ASSIGN_VALUE [ 1 ]
Value
MD22030 $MC_AUXFU_ASSIGN_VALUE[<n>] (value of user-defined auxiliary functions)
The functionality of the "value" parameter is not defined in user-specific auxiliary functions. The value is generally
used to activate the corresponding PLC user function.
Grouping together auxiliary functions
If all the auxiliary functions of the same type and address extension are assigned to the same auxiliary function
group, a value of "-1" must be entered for the "value" parameter.
Example:
424
Meaning
User-specific auxiliary functions
Extension of predefined auxiliary
functions
= 10
= "H"
= -1
= 8
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
Basic Functions