5 Axis Swarf not setting work coordinates correctly

5 Axis Swarf not setting work coordinates correctly

bmeyerRWNGL
Contributor Contributor
586 Views
4 Replies
Message 1 of 5

5 Axis Swarf not setting work coordinates correctly

bmeyerRWNGL
Contributor
Contributor

I have a part that contains 4 different swarfing operations.  Whenever I post my G-Code it doesn't seem to be setting my work coordinate G54 correctly for one of the four swarfing operations.  It does not set A-axis and C-axis rotations like it does for my other operations.   I have noticed if I move the operation priority in front of the previous operation then it correctly sets my work coordinates. But, when doing this, the coordinates for the operation I move below the swarf gets messed up.    Any ideas on why this could be happening? 

 

Thanks!

 

Work coords not set:

bmeyerRWNGL_0-1615306210393.png

 

 

 

Work coords set properly after moving operation up in priority:

bmeyerRWNGL_1-1615306630534.png

 

 

0 Likes
587 Views
4 Replies
Replies (4)
Message 2 of 5

brian_p1
Advocate
Advocate

@bmeyerRWNGL 

Hi,

 

Usually when this occurs it is down to your post, if you are using one tool for multiple features, then the problem could lie in the segment start area of your post processor.

I have come across this on some of our older programs and the quick work around is to put another operation in front of the one that is not working correctly until you can find the error in your post.

0 Likes
Message 3 of 5

bmeyerRWNGL
Contributor
Contributor

It looks like the "Segment Start" of my post is running an IF/ELSE statement that determines if it posts A-axis and C-axis coordinates.  

bmeyerRWNGL_0-1615325740356.png

Looks like if it reads the post variable "Z9.1 INDEX Z" before the segment it posts correctly.  If the Index retract is missing then it just posts my x, y, and z coordinates.  I am trying to add the 9.1 in my post variables under P1 but it does not post to my G-Code like the other swarf operations do and thus is still not setting the work coords correctly. I am adding the post variables wrong?

bmeyerRWNGL_1-1615326035186.png

 

0 Likes
Message 4 of 5

bmeyerRWNGL
Contributor
Contributor

looking more into my post is looks like the "Rapid" Move is setting my Z9.1 INDEX Z here:

bmeyerRWNGL_0-1615329386808.png

trying to wrap my head around the IF/ELSE conditions and what it needs in order to post the INDEX Z.  I'm still learning post editing.  

 

0 Likes
Message 5 of 5

ADVAERO
Enthusiast
Enthusiast

I'm pretty sure its a post error, 
What machine and controller type is it for?

0 Likes