Special Functions | Defining a counter
11
HEIDENHAIN | TNC 320 | ISO Programming User's Manual | 10/2017
457
11.4 Defining a counter
Application
Refer to your machine manual.
Your machine manufacturer enables this function.
The FUNCTION COUNT function allows you to control a simple
counter from within the NC program. For example, this function
allows you to count the number of manufactured workpieces. The
counter is only effective in the Program Run Single Block and
Program Run Full Sequence operating modes.
The counter values are retained even after a restart of the control.
You can use Cycle 225 to engrave the current counter value into the
workpiece.
NOTICE
Caution: Data may be lost!
Only one counter can be managed by the control. If you execute
an NC program that resets the counter, any counter progress of
another NC program will be deleted.
Please check prior to machining whether a counter is active.
If necessary, note down the counter value and enter it again
via the MOD menu after execution.
You can use Cycle 225 to engrave the current counter
value into the workpiece.
Further information: Cycle Programming User's
Manual
Define FUNCTION COUNT
The FUNCTION COUNT function provides the following possibilities:
Soft key Meaning
Increase count by 1
Reset counter
Set the nominal count (target value) to the
desired value
Input value: 0–9999
Set the counter to the desired value
Input value: 0–9999
Increment the counter by the desired value
Input value: 0–9999
Repeat the NC program starting from this label if
more parts are to be machined.