Programming
8.10 Timers and workpiece counters
8-188
SINUMERIK 802D sl Operation and Programming Nibbling (BP-N), 06/2006 Edition
6FC5 398-3CP10-0BA0
S $AC_SPECIAL_PARTS – Number of workpieces specified by the user
This counter allows user-defined workpiece counting. Alarm output can be defined for the
case of identity with
$AC_REQUIRED_PARTS (workpiece target). Users must reset the counter themselves.
Programming example
N10 IF $AC_TOTAL_PARTS==R15 GOTOF SIST ; Required number of workpieces reached?
...
N80 SIST:
N90 MSG(“Workpiece target reached”)
N100 M0
Display
The contents of the active system variables is displayed on the screen under <OFFSET PA-
RAM> <Setting data> <Timers/counters>:
Parts, total = $AC_TOTAL_PARTS
Parts requested = $AC_REQUIRED_PARTS
Number of parts = $AC_ACTUAL_PARTS
$AC_SPECIAL_PARTS Cannot be displayed
“Part count” is visible in addition in the AUTOMATIC mode in the “Position” operating area in
the information line.