View Full Version : heidenhain macro


Goran P.
03-14-2006, 02:36 PM
hi i would like to know if somebody could help me write a macro program for deep hole drilling. my machine is equipped with a heidenhain tnc 410 control.
i cant find a drilling cycle that will go down to the depth of the predrilled hole,
peck and then retract all the way out of the piece to let the chips fall out, and then repeating the whole procedure.

any help would be much appreciated.

goran

gus
03-14-2006, 05:10 PM
My newer control may have such a cycle, but I only have old [145.151] and new[530] , so I don't know what cycles you have. You may just have to write one and label it

Goran P.
03-15-2006, 11:23 AM
can you show me a sample with a label?

gus
03-15-2006, 12:54 PM
I have not done this exact thing, but in shorthand:
L X1 Y1
LBL 1
Z.1
Z-.5 FMAX
Z-.6F100
Z.1FMAX
Z-.5 FMAX
Z-.7 F100
Z.1FMAX
LBL 0
L X2 Y2
CALL LBL 1
L X2 Y3
CALL LBL 1
etc etc
for a .5 dp counterbore clearing to .1 above part

Goran P.
03-16-2006, 11:17 AM
okay, that makes sense i'll just have to do it with incramental and repeat my label a number of times but it should work. what i was thinking originally was a short macro with Q values, that would make things even easier but this should do the job for now, thanks gus.

gus
03-16-2006, 01:37 PM
Well, maybe after you teach me how to use Q values I can figure it out....

Goran P.
03-17-2006, 09:56 PM
if i knew how to use them i wouldnt be asking this question. thanks for your help this far.

goran

gus
03-18-2006, 12:16 PM
Oh well, someday I'll take the journey to Schaumberg and go to the class, but htey want me to start with the beginners............