4-axis operation with Heidenhain

4-axis operation with Heidenhain

milan_vasic
Advocate Advocate
1,732 Views
5 Replies
Message 1 of 6

4-axis operation with Heidenhain

milan_vasic
Advocate
Advocate

I have here a part that according to simulation in Inventor-HSM, works very well with the pocket operation and the setting for the fourth axis.

But what the post is doing is wrong movement.

 

The used post is:

5-axis post for Hermle C12U with a Heidenhain control.

 

I have attached the program and the posted file to you.

 

The question is. Does the post generally not support this processing or is there an error?

 

After the first few movements I aborted the program. Here is a picture of what the milling looks like.

 

20181114_204810_resized.jpg

20181114_204746_resized.jpg

 

Normally the machine should swivel the C-axis and then swing the whole movements only with the A-axis. If I see this correctly, line 36 will reset the whole thing before the machine calls the subroutine? Then the whole part swings in the A-axis without being twisted in C.

0 Likes
Accepted solutions (1)
1,733 Views
5 Replies
Replies (5)
Message 2 of 6

FTKnur
Collaborator
Collaborator

hi @milan_vasic,

 

line 36 is IMO right. The line 24 is your A and C turn. Plane Spatials is just for the pre-positioning. Then all will be reseted and then use M128 / TCPM.

When using M128/TCPM the control always know how are the values of the axis.

 

 

When I look in the backplot (machine used -> Hermle C30U looks like your Machine/axis) and your file... it looks all fine for me!

 

What is exactly happened in your machine? Does the A-Axis not turn right? it seems the tool is not at 90° to the face.

Perhaps the A-Axis must changed (e.g. inverted)

0 Likes
Message 3 of 6

milan_vasic
Advocate
Advocate

Hi @FTKnur

 

Here is a photo of how the part is clamped on the table.

20181114_211722_resized.jpg

To the back is A- and to the front is A+.
There are several milling operations on the part. That's why the part has to be clamped like this.

 

Normally, the table should now move 90 degrees along the C axis. Then you could machine it as it is simulated in HSM.

 

During machining, however, the part stands exactly as it does on the picture. The A-axis swings and the spindle moves simultaneously in the X-axis to the left and right.
Of course, this cannot work like this.

 

The Y-movement in the code is executed in X.

 

We have now processed the parts with a different strategy.

It doesn't work with this one here in the forum. There is an error somewhere.

0 Likes
Message 4 of 6

FTKnur
Collaborator
Collaborator

@milan_vasic

 

I Exactly know what your machine have to do for this. Table 90° and then A axis turn the Part in Exactly 90° to the milling face (like to see in HSM)

 

I see now that you have 3 finishing operations for your Part ... Orientation to the left and then right (contour) and then you take a long tool to cut it radial in A+90 posiiton.

 

But I want to know what your machine exactly do wrong when you have used the simultaneous strategie.

 

At the first look I think the a-axis doesn't move and the tool just dive in the part.

 

Can you attech your post processor? So I can take a look at this.

0 Likes
Message 5 of 6

milan_vasic
Advocate
Advocate

@FTKnur @AchimN

 

I found the mistake.
It is the TCPM function.
If I disable it then everything is running correctly.
 
I then took a closer look at the TCPM settings.
If the value in line 37 is set to "SPAT" then it is milled wrong.
You have to set the value to "POS" then it runs correctly with TCPM.
I have changed the setting in my post.
 
Here 2 more pictures with the different settings and the result of the simulation directly on the machine.
 
20181116_172522_resized.jpg20181116_172559_resized.jpg
 
The problem in the post should be checked again and changed for everyone.

 

0 Likes
Message 6 of 6

AchimN
Community Manager
Community Manager
Accepted solution

Thanks for your feedback. I was able to reproduce this as well on the simulator. All posts are now changed to use AXIS POS.



Achim.N
Principal Technology Consultant
0 Likes