Special functions | Defining a counter
Defining
FUNCTION COUNT
The
FUNCTION COUNT
function provides the following possibilities:
Soft key
Function
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.
Example
5 FUNCTION COUNT RESET
Reset the counter value
6 FUNCTION COUNT TARGET10
Enter the target number of parts to be machined
7 LBL 11
Enter the jump label
8 L ...
Machining
51 FUNCTION COUNT INC
Increment the counter value
52 FUNCTION COUNT REPEAT LBL 11
Repeat the machining operations if more parts are to be
machined
53 M30
54 END PGM
7
HEIDENHAIN | TNC 620 | User's Manual for Setup, Testing and Running NC Programs | 01/2022
315
Summary of Contents for TNC 620
Page 4: ...Contents 4 HEIDENHAIN TNC 620 User s Manual for Setup Testing and Running NC Programs 01 2022...
Page 6: ...Contents 6 HEIDENHAIN TNC 620 User s Manual for Setup Testing and Running NC Programs 01 2022...
Page 24: ......
Page 25: ...1 Basic information...
Page 43: ...2 First steps...
Page 55: ...3 Fundamentals...
Page 126: ......
Page 127: ...4 Tools...
Page 165: ...5 Setup...
Page 245: ...6 Testing and running...
Page 311: ...7 Special functions...
Page 316: ......
Page 317: ...8 Pallets...
Page 339: ...9 MOD functions...
Page 368: ......
Page 369: ...10 HEROS functions...
Page 470: ......
Page 471: ...11 Operating the touchscreen...
Page 488: ......
Page 489: ...12 Tables and overviews...