Detailed Description
2.2 User-defined auxiliary functions
Auxiliary Function Output to PLC (H2)
2-16 Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
2.2.5.3 Parameter: Output behavior
Function
The "Output behavior" of user-defined auxiliary functions can be parameterized via:
MD22035 $MC_AUXFU_ASSIGN_SPEC[ index ] (specification of output behavior)
For a description of the individual output parameters, see Section: "Parameter output
behavior" of the predefined auxiliary functions. The information given there can be applied
analogously to the output behavior of user-defined auxiliary functions.
2.2.5.4 Examples
Examples of the extension of predefined auxiliary functions
The following auxiliary functions are parameterized for the 2nd spindle of the channel:
Parameterization: M3
• Machine data index: 0 (1. user-defined auxiliary function)
• Auxiliary function group: 5
• Type and value: M3 (spindle right)
• Address extension: 2 as appropriate for the 2nd spindle of the channel
• Output behavior:
– Output duration one OB1 cycle (normal acknowledgment)
– Output prior to motion
Machine data Machine data index Value
MD22000 $MC_AUXFU_ASSIGN_GROUP 0 5
MD22010 $MC_AUXFU_ASSIGN_TYPE 0 'M'
MD22020 $MC_AUXFU_ASSIGN_EXTENSION 0 2
MD22030 $MC_AUXFU_ASSIGN_VALUE 0 3
MD22035 $MC_AUXFU_ASSIGN_SPEC 0 H21