Programming
10.12 Timers and workpiece counters
Cylindrical grinding
Programming and Operating Manual, 07/2009, 6FC5398-4CP10-2BA0
321
10.12.2
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.
Counters
●
$AC_REQUIRED_PARTS
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.
●
$AC_TOTAL_PARTS
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 set to zero upon every booting of the control system.
●
$AC_ACTUAL_PARTS
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.
●
$AC_SPECIAL_PARTS
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 example
N10 IF $AC_TOTAL_PARTS==R15 GOTOF SIST
; Count reached?
...
N80 SIST:
N90 MSG("Workpiece setpoint reached")
N100 M0
Содержание SINUMERIK 802D
Страница 6: ...Preface Cylindrical grinding 6 Programming and Operating Manual 07 2009 6FC5398 4CP10 2BA0 ...
Страница 12: ...Table of contents Cylindrical grinding 12 Programming and Operating Manual 07 2009 6FC5398 4CP10 2BA0 ...
Страница 64: ...Define 4 10 User data Cylindrical grinding 64 Programming and Operating Manual 07 2009 6FC5398 4CP10 2BA0 ...
Страница 152: ...System 8 7 Alarm display Cylindrical grinding 152 Programming and Operating Manual 07 2009 6FC5398 4CP10 2BA0 ...
Страница 334: ...Programming 10 15 Oscillation Cylindrical grinding 334 Programming and Operating Manual 07 2009 6FC5398 4CP10 2BA0 ...
Страница 394: ...Appendix A 5 Overview Cylindrical grinding 394 Programming and Operating Manual 07 2009 6FC5398 4CP10 2BA0 ...
Страница 399: ...Index Cylindrical grinding Programming and Operating Manual 07 2009 6FC5398 4CP10 2BA0 399 W Word structure 221 ...