Haidenhain iTNC 320 for 2d mill without Z

Haidenhain iTNC 320 for 2d mill without Z

Anonymous
Not applicable
1,004 Views
8 Replies
Message 1 of 9

Haidenhain iTNC 320 for 2d mill without Z

Anonymous
Not applicable

Hey everybody

 

I'm new here and I'm looking for a post that doesn't generate Z values for a Heidenhain iTNC 320.

The mill I want to use works with x and y only and the z is controled manually.

Do I have to code my own post or has done that already somebody?

Thanks for any help on that.

 

Cheers

Reto

0 Likes
1,005 Views
8 Replies
Replies (8)
Message 2 of 9

KrupalVala
Autodesk
Autodesk

Hi @Anonymous 

 

Correct me if I'm wrong. In actual condition, First Your machine takes place to the initial position, and you will control the Z value manually. Right? Is it a Conventional machine with a controller?

I made some changes to the post and added a comment. Is it ok?

 

KrupalVala_1-1608274120889.png

 

Thanks

 

 



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

Anonymous
Not applicable

First thank you for you reply!

Honestly I'm not quit sure what you mean with I made changes to the post. Which post may I ask?

 

The machine is a Fehlmann P54 it's a swiss company and I reckon it's considerable as a conventional machine with controller yes. Sorry I didn't find a specsheet only from the controler https://www.heidenhain.de/fileadmin/pdb/media/img/1113511-24_TNC320_en.pdf

 

If I new which post is available and close to the one i need that might be very helpfoul.

 

Regards

Reto

 

 

0 Likes
Message 4 of 9

MACSN547
Participant
Participant

Hello Reto,

 

We are also using the same machine, the Fehlmann P54  with a Heidenhain controller. I have been trying to modify the delivered heidenhain.cps without success. Did you find a solution?

 

Best,

 

 

MarkCK

0 Likes
Message 5 of 9

bob.schultz
Alumni
Alumni

Hello MarkCK,

 

Are you just trying to remove the Z-axis from the output or do you need other modifications also?



Bob Schultz
Sr. Post Processor Developer

0 Likes
Message 6 of 9

Anonymous
Not applicable
Hello Bob


Thanks for your reply.

I need the X and Y coordinates only. Therefore I assume to get rid of the Z would help already.

However, I need the post processing for this particular control (Haidenhein TNC 320) anyway I guess and I can't find it in Fusions post library.


Thanks for any further comments.


Regards

Reto


0 Likes
Message 7 of 9

bob.schultz
Alumni
Alumni

Hello Reto,

 

Have you tried the standard Heidenhain post or one of the model specific Heidenhain posts to see if the output matches or is close to the requirements for the TNC 320 control?  I would think that it should be very close and require only a minimum of changes.

 

The simplest way to get rid of the Z-moves in the output is to disable the Z-axis output.  This can be accomplished by adding the following line in the onOpen function.

 

function onOpen() {
  zOutput.disable(); // <<< ADD THIS LINE

 

You will also need to comment out any places where zOutput is redefined, in this post it would be in the setIncrementalMode and setAbsoluteMode functions.

 

function setIncrementalMode(xyz, abc) {
  xOutput = setAxisMode(xyzFormat, xOutput, " IX", xyz.x, true);
  yOutput = setAxisMode(xyzFormat, yOutput, " IY", xyz.y, true);
  // zOutput = setAxisMode(xyzFormat, zOutput, " IZ", xyz.z, true); // <<< COMMENT OUT THIS LINE
...
...
function setAbsoluteMode(xyz, abc) {
  if (incrementalMode) {
    xOutput = setAxisMode(xyzFormat, xOutput, " X", xyz.x, false);
    yOutput = setAxisMode(xyzFormat, yOutput, " Y", xyz.y, false);
    // zOutput = setAxisMode(xyzFormat, zOutput, " Z", xyz.z, false); // <<< COMMENT OUT THIS LINE


Bob Schultz
Sr. Post Processor Developer

0 Likes
Message 8 of 9

MACSN547
Participant
Participant

Hello Bob,

 

Sorry for the late reply.

 

Removing the Z values is the main goal but I also need to add M52 and M99 were needed.

 

I have now seen your post regarding how best to disable the Z values and I will review the changes I have made to the standard post.

 

In the time in between I have create a working post and have started testing the output but an increased workload means I have no made much progress.

 

Things I have discovered are that we have a TNC 310 and not a TNC 320, which means the CYCL DEF are different, comments are not supported in the .h file and a few other things that do not spring to mind right now.

 

The edits I have made are quick and dirty. Once I have refined the output I will clean up the edits and share.

 

Best,

 

 

MarkCK

Message 9 of 9

Anonymous
Not applicable

Dear Bob

 

I didn't got the chance to check your suggestions yet but I certainly will but don't know when.

Anyway I thank you for posting this.

 

Cheers

Reto

0 Likes