Siemens SINUMERIK 840D sl Programming Manual page 581

Job planning
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Note
The "workpiece counter" function is independent of the tool management functions. All
counters can be read and written from the HMI.
All counters are reset with default values when the control is powered up, and can be
read/written independent of their activation.
Example
Activate workpiece counter $AC_REQUIRED_PARTS:
$MC_PART_COUNTER='H3'
Activate workpiece counter $AC_TOTAL_PARTS:
$MC_PART_COUNTER='H10'
$MC_PART_COUNTER_MCODE[0]=80
Activate workpiece counter $AC_ACTUAL_PARTS:
$MC_PART_COUNTER='H300'
$MC_PART_COUNTER_MCODE[1]=17
Activate workpiece counter $AC_SPECIAL_PARTS:
$MC_PART_COUNTER='H3000'
$MC_PART_COUNTER_MCODE[2]=77
Deactivate workpiece counter $AC_ACTUAL_PARTS:
$MC_PART_COUNTER='H200'
$MC_PART_COUNTER_MCODE[1]=50
Activating all counters in 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
Job planning
Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
13.10 Program runtime/Workpiece counter
$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_TOTAL_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
$AC_TOTAL_PARTS is not active, rest
irrelevant
$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
Additional functions
13-49

Advertisement

Table of Contents
loading

Table of Contents