K1: Mode group, channel, program operation, reset response
9.16 Program runtime / Part counter
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
671
• Activation of the workpiece counter $AC_SPECIAL_PARTS:
MD27880 $MC_PART_COUNTER = 'H3000'
MD27882 $MC_PART_COUNTER_MCODE[2] = 77
- $AC_SPECIAL_PARTS is active.
- The following takes place with every M77: $AC_SPECIAL_PARTS + 1
• Deactivation of the workpiece counter $AC_ACTUAL_PARTS:
MD27880 $MC_PART_COUNTER = 'H200'
MD27882 $MC_PART_COUNTER_MCODE[1] = 50
- $AC_ACTUAL_PARTS is inactive
• Activation of all counters:
MD27880 $MC_PART_COUNTER = 'H3313'
MD27882 $MC_PART_COUNTER_MCODE[0] = 80
MD27882 $MC_PART_COUNTER_MCODE[1] = 17
MD27882 $MC_PART_COUNTER_MCODE[2] = 77
- $AC_REQUIRED_PARTS is active
- Display alarm at: $AC_REQUIRED_PARTS == $AC_SPECIAL_PARTS
- $AC_TOTAL_PARTS is active; the counter is incremented by the value 1 with each M02.
- $MC_PART_COUNTER_MCODE[0] has no significance.
- $AC_ACTUAL_PARTS is active; the counter is incremented by a value of "1" with each M17.
- $AC_SPECIAL_PARTS is active; the counter is incremented by a value of "1" with each M77.
• Workpiece counter $AC_ACTUAL_PARTS is not processed during the program test/block search:
MD27880 $MC_PART_COUNTER = 'H700'
MD27882 $MC_PART_COUNTER_MCODE[1] = 75
- $AC_ACTUAL_PARTS is active; the counter is incremented by a value of "1" with each M75, apart from
during the program test and search.