Community
HSM Post Processor Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Haas A-axis Post - Making Retract Position Variable

10 REPLIES 10
Reply
Message 1 of 11
Anonymous
1477 Views, 10 Replies

Haas A-axis Post - Making Retract Position Variable

Quick question for the masses:
I am using the default Haas with A axis post provided with HSM. 
Everytime a rotary move is commanded, the post sends the machine to home in the Z axis. 
Is there a way to make this retract distance a user-defined variable? 

Along the same lines, the post also retracts to Z home when switching work offsets. 
I know lonnie has a version of the haas post that only retracts to the clearance plane when changing offsets. 
This may work, but I possibly would like a "happy medium" retract distance.  Somewhere between home and and the part clearance plane. 

Any suggestions on post edits here?

Thanks,
Steve
10 REPLIES 10
Message 2 of 11
Laurens-3DTechDraw
in reply to: Anonymous

Not at a pc now. But you would want the retractions for which fullretract is true to have a property in the post that you can set at the post process screen.
Assuming the toolchange doesnt do a full retract. If that uses full retract as well you would need a little more complicated edit

Laurens Wijnschenk
3DTechDraw

AutoDesk CAM user & Post editor.
René for Legend.


Message 3 of 11
Greg_Haisley
in reply to: Anonymous

Clearance plane (clearance radius in this case) would be nice a solution. Also when moving from job to job within the same program, this scenario currently goes back to Z home also. It is a safe practice, but costs machine time.
Message 4 of 11
Anonymous
in reply to: Anonymous

Doing some post editing today, so I figured I would bump this to the top. 
Any ideas on making the retract between WCS changes and on rotary moves a variable height?

Thanks,
Steve
Message 5 of 11
Greg_Haisley
in reply to: Anonymous

I thought that some of the posts have a retract to clearance plane option in the properties page. Would be nice to see this for indexes and/or work offset changes for all posts.
Message 6 of 11
AchimN
in reply to: Anonymous

Steve have a look in your inbox, there should be a working solution for you 😉


Achim.N
Principal Technology Consultant
Message 7 of 11
soldanr
in reply to: AchimN

Would love to get a copy of that post!?

 

I find the G53 G0 Z0 annoying as well. 🙂

 

Message 8 of 11
AchimN
in reply to: soldanr

You can customize the Z value in the G53 line to your desired value.

Using G53 is the safest way to handle retracts.



Achim.N
Principal Technology Consultant
Message 9 of 11
soldanr
in reply to: AchimN

Thanks. I still want to use the G53 Z0 to go home on the "on close".

During tool changes M5, M9 and G53 G0 Z0 are not required. The machine knows that.

 

I don't want to have the machine going home for every new work plane plane change. I rather control that myself with the clearance plane.

 

So I think I found it:

 

Changed line

 

if ((insertToolCall && !properties.fastToolChange) || newWorkOffset || newWorkPlane || toolChecked) {

to

 

if ((insertToolCall && !properties.fastToolChange) || newWorkOffset || toolChecked) {

 

PS: I am not responsible for any crashes on your machine. Use edit at your own risk. Smiley Indifferent

Hope it helps someone.

 

Message 10 of 11
sderyck
in reply to: soldanr

Has anyone made this change and if so can they send me some sample code from the change

 

thanks

Message 11 of 11
soldanr
in reply to: sderyck

I made the change. The only difference is that you will not see a G53 between work offset changes. It is a little dangerous. Ha!

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report