Workpiece Counter - Siemens SINUMERIK 840D sl Programming Manual

Job planning
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents
Additional functions
13.10 Program runtime/Workpiece counter
Example
1. Activate runtime measurement for the active NC program; no measurement
with active dry run feedrate and program testing:
$MC_PROCESSTIMER_MODE = 'H2'
2. Activate measurement for the tool operating time; measurement also with
active dry run feedrate and program testing:
$MC_PROCESSTIMER_MODE = 'H34'
3. Activate measurement for the total runtime and tool operating time;
measurement also during program testing:
$MC_PROCESSTIMER_MODE = 'H25'
13.10.3

Workpiece counter

Function
The "Workpiece counter" function can be used to prepare counters, e.g., for internal counting
of workpieces on the control. These counters exist as channel-specific system variables with
read and write access within a value range from 0 to 999 999 999.
Machine data can be used to control counter activation, counter reset timing and the
counting algorithm.
Parameters
The following counters are available:
system variables
$AC_REQUIRED_PARTS
$AC_TOTAL_PARTS
$AC_ACTUAL_PARTS
$AC_SPECIAL_PARTS
13-48
Number of workpieces required (workpiece setpoint)
In this counter you can define the number of workpieces at
which the actual workpiece counter $AC_ACTUAL_PARTS is
reset to zero. The generation of the display alarm
workpiece setpoint reached and the channel VDI signal
workpiece setpoint reached can be activated via MD.
Total number of workpieces produced (total actual)
The counter specifies the total number of all workpieces
produced since the start time. The counter is automatically
reset with default values only when the control is powered
up.
Number of actual workpieces (actual)
This counter registers the total number of all workpieces
produced since the start time. The counter is automatically
reset to zero (on condition that $AC_REQUIRED_PARTS is not
equal to 0) when the required number of workpieces
($AC_REQUIRED_PARTS) has been reached.
Number of workpieces specified by the user
This counter allows users to make a workpiece counting in
accordance with their own definition. Alarm output can be
defined for the case of identity with $AC_REQUIRED_PARTS
(workpiece target). Users must reset the counter
themselves.
Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
Job planning
Table of Contents
loading

Table of Contents