K1: Mode group, channel, program operation, reset response
9.16 Program runtime / Part counter
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
669
Activation
The workpiece counter is activated with the machine data:
MD27880 $MC_PART_COUNTER (activation of workpiece counters)
$AC_ACTUAL_PARTS
Number of completed workpieces (actual workpiece total)
This counter registers the total number of all workpieces produced
since the start time. On condition that $AC_REQUIRED_PARTS > 0,
the counter is automatically reset to "0" when the required number of
workpieces ($AC_REQUIRED_PARTS) is reached.
$AC_SPECIAL_PARTS
Number of workpieces selected by the user
This counter supports user-specific workpiece counts. An alarm can be
defined to be output when the setpoint number of workpieces is
reached ($AC_REQUIRED_PARTS). Users must reset the counter
themselves.
Note
All workpiece counters are set to "0" when the control powers up with default values and can
be read and written independent of their activation.
Bit
Value
Significance
0
1
$AC_REQUIRED_PARTS is active
1
0
Alarm / signal output in case of: $AC_ACTUAL_PARTS = $AC_REQUIRED_PARTS
1
Alarm / signal output in case of: $AC_SPECIAL_PARTS = $AC_REQUIRED_PARTS
4
1
$AC_TOTAL_PARTS is active.
5
0
$AC_TOTAL_PARTS is increased by the value "1" through M02 / M30.
1
$AC_TOTAL_PARTS is incremented by the value "1" through the M command
defined with MD27882[0].
6
0
$AC_TOTAL_PARTS is also active for program test / block search.
7
1
$AC_TOTAL_PARTS is incremented by the value "1" upon a jump back with
GOTOS
.
8
1
$AC_ACTUAL_PARTS is active
9
0
$AC_ACTUAL_PARTS is increased by the value "1" through M02 / M30.
1
$AC_ACTUAL_PARTS is incremented by the value "1" through the M command
defined with MD27882[1].
10
0
$AC_ACTUAL_PARTS is also active for program test / block search.
11
1
$AC_ACTUAL_PARTS is incremented by the value "1" upon a jump back with
GOTOS
.
12
1
$AC_SPECIAL_PARTS is active.
13
0
$AC_SPECIAL_PARTS is increased by the value "1" through M02 / M30.
1
$AC_SPECIAL_PARTS is incremented by the value 1 through the M command
defined with MD27882[2].
14
0
$AC_SPECIAL_PARTS is also active for program test / block search.
15
1
$AC_SPECIAL_PARTS is incremented by the value "1" upon a jump back with
GOTOS
.
System variable
Description