13
Additional Functions 12.98
13.8 Pro
ram execution time/Work
iece counter
as from SW 5.2
13
840D
NCU 571
840D
NCU 572
NCU 573
FM-NC 810D 840Di
ï›™
Siemens AG 2000. All rights reserved
13-462
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA) – 04.00 Edition
2. Activate workpiece counter $AC_TOTAL_PARTS:
$MC_PART_COUNTER='H10'
$MC_PART_COUNTER_MCODE[0]=80
$AC_TOTAL_PARTS is active, the counter is
incremented by 1 on each M02,
$MC_PART_COUNTER_MCODE[0] is
irrelevant
3. Activate workpiece counter $AC_ACTUAL_PARTS:
$MC_PART_COUNTER='H300'
$MC_PART_COUNTER_MCODE[1]=17
$AC_TOTAL_PARTS is active, the counter is
incremented by 1 on each M17
4. Activate workpiece counter $AC_SPECIAL_PARTS:
$MC_PART_COUNTER='H3000'
$MC_PART_COUNTER_MCODE[2]=77
$AC_SPECIAL_PARTS is active, the counter
is incremented by 1 on each M77
5. Deactivate workpiece counter $AC_ACTUAL_PARTS:
$MC_PART_COUNTER='H200'
$MC_PART_COUNTER_MCODE[1]=50
$AC_TOTAL_PARTS is not active, rest
irrelevant
6. Activate all counters, examples 1–4:
$MC_PART_COUNTER ='H3313'
$MC_PART_COUNTER_MCODE[0] =80
$MC_PART_COUNTER_MCODE[1] =17
$MC_PART_COUNTER_MCODE[2] =77
$AC_REQUIRED_PARTS is active
Display alarm on $AC_REQUIRED_PARTS
== $AC_SPECIAL_PARTS
$AC_TOTAL_PARTS is active, the counter is
incremented by 1 on each M02
$MC_PART_COUNTER_MCODE[0] is
irrelevant
$AC_ACTUAL_PARTS is active, the counter
is incremented by 1 on each M17
$AC_SPECIAL_PARTS is active, the counter
is incremented by 1 on each M77