HEIDENHAIN TNC 426 PB/M Technical Manual page 1092

Table of Contents

Advertisement

Example:
HEIDENHAIN
Standard Cycle 201
REAMING
HEIDENHAIN conversational program
0 BEGIN PGM 201 MM P1 FN 17: SYSWRITE ID212 = +3
2 FN 9: IF +Q110 EQU +0 GOTO LBL 199
3 FN 9: IF +Q110 EQU +1 GOTO LBL 199
4 FN 14: ERROR = 1000
5 LBL 199
6 FN 10: IF +Q109 NE –1 GOTO LBL198
7 FN 14: ERROR = 1001
8 LBL 198
9 FN 12: IF +Q201 LE +0 GOTO LBL 197
10 FN 0: Q30 = -1
11 FN 9: IF +0 EQU +0 GOTO LBL 194
12 LBL 197
13 FN 0: Q30 = +1
14 LBL 194
15 FN 9: IF +Q97 EQU +1 GOTO LBL 193
16 CALL LBL 4
17 LBL 193
18 FN 1: Q19 = +Q203 + +Q200
19 FN 9: IF +Q204 EQU +0 GOTO LBL 2
20 FN 1: Q19 = +Q203 + +Q204
21 LBL 2
22 FN 1: Q20 = +Q203 + +Q200
23 FN 1: Q24 = +Q203 + +Q201
24 FN 0: Q25 = +Q208
25 FN 10: IF +Q208 NE +0 GOTO LBL 4
26 FN 0: Q25 = +Q206
27 LBL 4
28 FN 9: IF +Q97 EQU +1 GOTO LBL 192
December 2001
The new HEIDENHAIN standard cycles (beginning with Cycle 200) are written
like OEM cycles.
Application of OEM Cycles
Comment
Automatic compensation in the tool axis
Inquiry whether spindle on with M3 or M4
Error message, spindle
Inquiry whether tool is active
Error message, tool axis is missing
Inquiry whether machining direction is
negative
If not, set the constant to negative
Otherwise, set the constant to positive
Inquiry whether signs were already negated
Calculate Z end position
Inquiry whether 2nd safety clearance was
entered
If so, set a new Z end position
Calculate Z preparatory position
Calculate total hole depth
Transfer the feed rate for retraction
Inquiry whether feed rate for retraction was
entered
No: Feed rate for retraction = feed rate for
reaming
Negate sign-critical parameters
If sign was already reversed in the DEF
cycle, skip negation
9 – 9

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tnc 430 pa/mTnc 430 mTnc 426 cbTnc 430 caTnc 426 pbTnc 430 pa ... Show all

Table of Contents