Additional functions
14.8 Program runtime/part counter
14.8.3
Workpiece counter
Function
The "Workpiece counter" function makes available various counters which can be used in
particular internally in the control to count workpieces.
The counters exist as channel-specific system variables with read and write access in a
range of values from 0 to 999,999.999.
System variable
$AC_REQUIRED_PARTS
$AC_TOTAL_PARTS
$AC_ACTUAL_PARTS
$AC_SPECIAL_PARTS
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.
796
Significance
Number of workpieces to be produced (setpoint number of
workpieces)
In this counter the number of workpieces at which the actual workpiece
count ($AC_ACTUAL_PARTS) will be reset to "0" can be defined.
Total number of completed workpieces (actual workpiece total)
This counter specifies the total number of all workpieces produced
since the start time. The value is only automatically reset to "0" when
the control powers up with default values.
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.
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.
Programming Manual, 06/2009, 6FC5398-2BP20-0BA0
Job Planning