H2: Auxiliary function outputs to PLC
8.17 Examples
Basic Functions
468
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
Parameter assignment:
Parameter assignment: M5
Requirements:
• Machine data index: 2 (third user-defined auxiliary function)
• auxiliary function group: 5
• Type and value: M5 (spindle stop)
• 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 at block end
Parameter assignment:
MD22000 $MC_AUXFU_ASSIGN_GROUP [ 1 ]
= 5
MD22010 $MC_AUXFU_ASSIGN_TYPE [ 1 ]
= "M"
MD22020 $MC_AUXFU_ASSIGN_EXTENSION [ 1 ] = 2
MD22030 $MC_AUXFU_ASSIGN_VALUE [ 1 ]
= 4
MD22035 $MC_AUXFU_ASSIGN_SPEC [ 1 ]
= 'H51'
MD22000 $MC_AUXFU_ASSIGN_GROUP [ 2 ]
= 5
MD22010 $MC_AUXFU_ASSIGN_TYPE [ 2 ]
= "M"
MD22020 $MC_AUXFU_ASSIGN_EXTENSION [ 2 ] = 2
MD22030 $MC_AUXFU_ASSIGN_VALUE [ 2 ]
= 5
MD22035 $MC_AUXFU_ASSIGN_SPEC [ 2 ]
= 'H91'