H2: Auxiliary function outputs to PLC
8.17 Examples
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
467
8.17
Examples
8.17.1
Extension of predefined auxiliary functions
Task
Parameter assignment of auxiliary functions M3, M4, and M5 for the second spindle of the channel
Parameter assignment: M3
Requirements:
• Machine data index: 0 (first 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
Parameter assignment:
Parameter assignment: M4
Requirements:
• Machine data index: 1 (second user-defined auxiliary function)
• auxiliary function group: 5
• Type and value: M4 (spindle left)
• Address extension: 2 as appropriate for the 2nd spindle of the channel
• Output behavior:
- Output duration one OB1 cycle (normal acknowledgment)
- Spindle response following acknowledgment
- Output during motion
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'