Programming and Operating Manual (Milling) 
116  6FC5398-4DP10-0BA1, 01/2014 
You can also view the time counter information through the following operating area: 
 
→ 
 
→ 
 
 
Workpiece counter 
Functionality 
The "Workpiece counter" function provides counters for counting workpieces. 
These counters exist as system variables with write and read access from the program or via operator input (observe the 
protection level for writing!). 
Machine data can be used to control counter activation, counter reset timing and the counting algorithm. 
● 
 
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 21800 "Workpiece setpoint reached" can be activated via machine data. 
● 
 
Total number of workpieces produced (total actual) 
The counter specifies the total number of all workpieces produced since the start time. 
The counter is set to zero automatically upon every booting of the control system. 
● 
 
Number of actual workpieces (actual) 
This counter registers the number of all workpieces produced since the starting time. When the workpiece setpoint is 
reached ( $AC_REQUIRED_PARTS, value greater than zero), the counter is automatically zeroed. 
● 
 
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. 
N10 IF $AC_TOTAL_PARTS==R15 GOTOF SIST 
N90 MSG("Workpiece setpoint reached") 
The content of the active system variables is visible on the window opened through the following key operations: 
 
→ 
 
→