K1: Mode group, channel, program operation, reset response
9.16 Program runtime / Part counter
Basic Functions
672
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
• Cancellation of the count modes in the MD27880 $MC_PART_COUNTER with bit 0 = 1:
MD27882 $MC_PART_COUNTER_MCODE[0] = 41
MD27882 $MC_PART_COUNTER_MCODE[1] = 42
MD27882 $MC_PART_COUNTER_MCODE[2] = 43
Program code
Comment
...
N100 $AC_REQUIRED_PARTS=-10
; value < 0 ? stop counting.
N200 M41 M43
; Not counting.
N300 M42
...
N500 $AC_REQUIRED_PARTS=52
; Value > 0: Counting in accordance with MD27880
activated.
N501 M43
; Counting.
N502 M42 M41
; Counting.
...