H2: Auxiliary function outputs to PLC
8.4 Associated auxiliary functions
All user-specific auxiliary functions with the address extension "= 2" are assigned to the
eleventh auxiliary function group.
MD22000 $MC_AUXFU_ASSIGN_GROUP [ 2 ]
MD22010 $MC_AUXFU_ ASSIGN_TYPE [ 2 ]
MD22020 $MC_AUXFU_ ASSIGN_EXTENSION [ 2 ]
MD22030 $MC_AUXFU_ ASSIGN_VALUE [ 2 ]
8.3.1.4
Output behavior
The "output behavior" of user-defined auxiliary functions can be parameterized via the machine
data:
MD22035 $MC_AUXFU_ASSIGN_SPEC[<n>] (output behavior of user-defined auxiliary
functions)
For a description of the individual output parameters, see the "Output behavior (Page 401)"
section of the predefined auxiliary functions. The information given there can be applied
analogously to the output behavior of user-defined auxiliary functions.
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)
408
= 11
= "H"
= 2
= -1
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
Basic Functions