Heidenhain tnc datum shift

Heidenhain tnc datum shift

danpayneuk
Enthusiast Enthusiast
1,991 Views
11 Replies
Message 1 of 12

Heidenhain tnc datum shift

danpayneuk
Enthusiast
Enthusiast

Hi again 

 

In the process of of trying to to the Cam for  multiple ops in 1 program.  To allow this to work on this controller is uses Cycle 7.  

 

I am just testing the Cam out put and notice it comes out 

 

16 CYCL DEF 7.0 DATUM SHIFT
17 CYCL DEF 7.1 #1
 
with #1 changing to #2 etc.
 
I guess I would need to go into the program and edit to set the coridinates for 7.1, 7.2 & 7.3.
 
Would it be possible to allow these options to be added into the post process menu like the machine home option does.
 
The post processor is the tnc 370 one
 
Thanks for any help
0 Likes
1,992 Views
11 Replies
Replies (11)
Message 2 of 12

KrupalVala
Autodesk
Autodesk

Hi @danpayneuk ,

 

To control CYCL DEF, You can add Post-Properties in your post.
Based on your requirement, you can add multiple conditions and change/choose the 7.1,7.2,7.3 value while post-processing the code.

 

or

 

To get CYCL DEF 7.X Value same as work offset, Change the code from this

 

    writeBlock("CYCL DEF 7.0 " + localize("DATUM SHIFT"));
    writeBlock("CYCL DEF 7.1 #" + currentSection.workOffset);

 

to this.

 

 writeBlock("CYCL DEF 7.0 " + localize("DATUM SHIFT"));
    writeBlock("CYCL DEF 7." +currentSection.workOffset+" #" + currentSection.workOffset);

 

 

it will give below NC output.

Capture.JPG


Thanks,



Krupal Vala
Senior Technology Consultant - Post Processor & Machine Simulation
0 Likes
Message 3 of 12

daniel49DTW
Participant
Participant

CYCL DEF 7.1 #1 refers to row 1 in your datum-table on the control. 

I dont use it that much beacuse on our 3 axis we move stuff around all the time and on our 5-axis we mostly use preset 0 (presets is more or less the same thing )and just adjust Z




0 Likes
Message 4 of 12

danpayneuk
Enthusiast
Enthusiast

Hi @daniel49DTW 

 

Im not sure the TNC370 has a datum table.  

 

This is why I was hoping to be able to possibly have the option to add at processing stage within cam.  A datum table would be much simpler.

 

@KrupalVala thanks for your help.  I will have a look at this and see if it does what I would like it too.  

 

Thanks both 🙂 

0 Likes
Message 5 of 12

danpayneuk
Enthusiast
Enthusiast

Dragging up an old post as it got put to the side and forgotten about.

 

Would be great to be able to add the required co-ordinates into the pp properties menu the same way as being able to adde the machine home positions for x and y.

 

The other thing this processor doesn't have the subroutines added to it.  What is required to add this.

 

Many thanks

 

 

 

 

0 Likes
Message 6 of 12

KrupalVala
Autodesk
Autodesk

Hi @danpayneuk ,

 

It's available in Heidenhain post. You can select your desired subroutine option through the post properties.

KrupalVala_1-1626848199843.png

Thanks,

 

 



Krupal Vala
Senior Technology Consultant - Post Processor & Machine Simulation
0 Likes
Message 7 of 12

a.laasW8M6T
Mentor
Mentor

The problem with the "Heidenhain" post is it wont work on the older Heidenhain controllers as there's a bunch of cycles that the old controllers don't have.

 

the Heidenhain posts for the TNC407 for example should mostly work but they don't have the Subroutines option

 

 

0 Likes
Message 8 of 12

danpayneuk
Enthusiast
Enthusiast

Hi @KrupalVala 

 

I am using a post that was modified to work better with the TNC 370 controller.  It was originally  produced by Patrick from this forum.

 

Attached is a copy of the current one being used.

 

This doesn't have the subroutines enabled.

 

I hoped that this is something I can add along with the other parts for the cycle def 7 parts mentioned, but uncertain of what is required exactly.  

 

I have been trying to have a play at modifying the post for the Cycle def sections.  I can add a tick box, but can't seem to be able to add the boxes to allow coordinates to be added like the home position coordinates.

 

Thanks

 

Dan

0 Likes
Message 9 of 12

KrupalVala
Autodesk
Autodesk

Hi @danpayneuk  & @a.laasW8M6T ,

 

In this case, I would suggest contact our channel partners. They will do the Job for you but It may be a cost option.

Please Click here for more detail.

 

Thanks,



Krupal Vala
Senior Technology Consultant - Post Processor & Machine Simulation
0 Likes
Message 10 of 12

pedro.cokelaere9CRNG
Community Visitor
Community Visitor

In older heidenhain controls, it is not possible to make a datum shift table.

We can not link #1 or #2 to xyz coordinates.


Is it possible to change dat we don't give numbers in the post processor but XYZ coordinates?

0 Likes
Message 11 of 12

accounts946HE
Explorer
Explorer

Hi,  

 

I would like to add cycl def 7.0-7.3 on all b axis movements. I post using plane spatial but the operator wants to be able to shift datum due to the machine not being spot on when rotating. Is it possible to make the 4 lines post every time b axis moves? Or even every toolchange. Your help much appreciated. 🙂

0 Likes
Message 12 of 12

KrupalVala
Autodesk
Autodesk

Hi @accounts946HE ,

 

I believe I understand your situation correctly.Please Correct me if I am wrong.

 

It seems that the machine's calibration or alignment is causing positioning issues during machining at specific angles. To address this, you can shift the workplane and generate the toolpath accordingly, which should work effectively for positional or 3+2 toolpaths.

However, I'm curious about how this approach would work if the toolpath requires simultaneous 5-axis movement.

 

Thanks,



Krupal Vala
Senior Technology Consultant - Post Processor & Machine Simulation
0 Likes