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

How do I remove G53 moves in the post?

9 REPLIES 9
Reply
Message 1 of 10
fishtruk
2627 Views, 9 Replies

How do I remove G53 moves in the post?

fishtruk
Collaborator
Collaborator

Hi,

I have a Haas Minimill and am drilling a part in the vise. the top of part is 7 inches above the table and I'm drilling in a pocket. The Haas generic post I use puts a G53 at the beginning and end with moves to Z0.0 and X moves. This would plunge a stationary tool into the workpiece. (I know I watched it)

I looked in the post config editor and could only find one G53 - - whether to use G28 or G53... but I want No G53 Z0 moves.

 

How would I raise the Z all the way to the machine limit (beyond G53 Z0) and slew the table all the way to the right to get out of the way of the carousel tool rack on the left? I could edit each post but I'm sure there's an automatic way.

 

thanks!

0 Likes

How do I remove G53 moves in the post?

Hi,

I have a Haas Minimill and am drilling a part in the vise. the top of part is 7 inches above the table and I'm drilling in a pocket. The Haas generic post I use puts a G53 at the beginning and end with moves to Z0.0 and X moves. This would plunge a stationary tool into the workpiece. (I know I watched it)

I looked in the post config editor and could only find one G53 - - whether to use G28 or G53... but I want No G53 Z0 moves.

 

How would I raise the Z all the way to the machine limit (beyond G53 Z0) and slew the table all the way to the right to get out of the way of the carousel tool rack on the left? I could edit each post but I'm sure there's an automatic way.

 

thanks!

9 REPLIES 9
Message 2 of 10
HughesTooling
in reply to: fishtruk

HughesTooling
Consultant
Consultant

Not sure how G53 works on your machine, can you move the tool away to the position you want and note down the XYZ machine coordinate position. If you had a line in the code that was G53 and used those coordinates would that work. If that's what you're after I've done something similar for my Heidenhain control and added X Y Z user parameters you can change at post time or accept the defaults.

Capture.PNG

 

Mark

Mark Hughes
Owner, Hughes Tooling
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


0 Likes

Not sure how G53 works on your machine, can you move the tool away to the position you want and note down the XYZ machine coordinate position. If you had a line in the code that was G53 and used those coordinates would that work. If that's what you're after I've done something similar for my Heidenhain control and added X Y Z user parameters you can change at post time or accept the defaults.

Capture.PNG

 

Mark

Mark Hughes
Owner, Hughes Tooling
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Message 3 of 10
fishtruk
in reply to: HughesTooling

fishtruk
Collaborator
Collaborator

Sorry,  G53 just cancels out the G54 settings. The post puts G53 G0 Z0 at the beginning and end of the program. Mills are fine but a drill in a keyless chuck sticks down way too far.

 

 Problem is that G53 Z0 is actually about 7 inches closer to the table that the Z axis can move. I'll look into the Post Config more closely to see what I can do.

0 Likes

Sorry,  G53 just cancels out the G54 settings. The post puts G53 G0 Z0 at the beginning and end of the program. Mills are fine but a drill in a keyless chuck sticks down way too far.

 

 Problem is that G53 Z0 is actually about 7 inches closer to the table that the Z axis can move. I'll look into the Post Config more closely to see what I can do.

Message 4 of 10
HughesTooling
in reply to: fishtruk

HughesTooling
Consultant
Consultant

You could make a copy of the cps file then look for lines with gFormat.format(53) and comment them out with //

 

Is there any way to move in machine coordinates on my Heidenhan you can enter G53 Z10.0 and it goes to the machine coordinates not the work.

 

If you're still stuck upload the post and I'll have a look tomorrow.

 

Mark

Mark Hughes
Owner, Hughes Tooling
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


0 Likes

You could make a copy of the cps file then look for lines with gFormat.format(53) and comment them out with //

 

Is there any way to move in machine coordinates on my Heidenhan you can enter G53 Z10.0 and it goes to the machine coordinates not the work.

 

If you're still stuck upload the post and I'll have a look tomorrow.

 

Mark

Mark Hughes
Owner, Hughes Tooling
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Message 5 of 10
George-Roberts
in reply to: fishtruk

George-Roberts
Collaborator
Collaborator
Can you upload your current post processor?

Would G28 G91 X0 Y0 Z0 work for you instead? That should return to the machine zero position
0 Likes

Can you upload your current post processor?

Would G28 G91 X0 Y0 Z0 work for you instead? That should return to the machine zero position
Message 6 of 10

HughesTooling
Consultant
Consultant

@Customgeo-ManAndMachine wrote:
Can you upload your current post processor?

Would G28 G91 X0 Y0 Z0 work for you instead? That should return to the machine zero position

 

I think that's the problem on his machine home is not fully retracted.

 

Mark

Mark Hughes
Owner, Hughes Tooling
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


0 Likes


@Customgeo-ManAndMachine wrote:
Can you upload your current post processor?

Would G28 G91 X0 Y0 Z0 work for you instead? That should return to the machine zero position

 

I think that's the problem on his machine home is not fully retracted.

 

Mark

Mark Hughes
Owner, Hughes Tooling
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Message 7 of 10
Steinwerks
in reply to: HughesTooling

Steinwerks
Mentor
Mentor

Sounds like what the OP needs is a tool change position. I'd look into it further but no time at the moment. Seems like it'd be a relatively easy thing to add to the Setup or Post Process tabs, but then it'd have to be used in the PP too.

Neal Stein



New to Fusion 360 CAM? Click here for an introduction to 2D Milling, here for 2D Turning.

Find me on:
Instagram and YouTube
0 Likes

Sounds like what the OP needs is a tool change position. I'd look into it further but no time at the moment. Seems like it'd be a relatively easy thing to add to the Setup or Post Process tabs, but then it'd have to be used in the PP too.

Neal Stein



New to Fusion 360 CAM? Click here for an introduction to 2D Milling, here for 2D Turning.

Find me on:
Instagram and YouTube
Message 8 of 10
jeff.walters
in reply to: fishtruk

jeff.walters
Advisor
Advisor

Have you switched the Use G28 option to yes on in the posting screen?

 

G28.png

Jeff Walters
Senior Support Engineer, CAM
0 Likes

Have you switched the Use G28 option to yes on in the posting screen?

 

G28.png

Jeff Walters
Senior Support Engineer, CAM
Message 9 of 10
Anonymous
in reply to: fishtruk

Anonymous
Not applicable
// retract to safe plane
retracted = true;
if (properties.useG28) {
writeBlock(gFormat.format(28), gAbsIncModal.format(91), "Z" + xyzFormat.format(0)); // retract
writeBlock(gAbsIncModal.format(90));
} else {
writeBlock(gAbsIncModal.format(90), gFormat.format(53), gMotionModal.format(0), "Z" + xyzFormat.format(0)); // retract
}
zOutput.reset();
}

 

This bit of code is in the EMC post processor, I'm going to customize it for my machine or delete it all together! Just broke a bit and I need to take my anger out on some code.

Requests to autodesk: leave G53 & G28 completely off by default, noobs don't know about it and I see it causing grief. Send me $32 to replace the bit I broke, my first tendency is to blame myself but this default G53//G28 seems to have been added in correlating with an update.

// retract to safe plane
retracted = true;
if (properties.useG28) {
writeBlock(gFormat.format(28), gAbsIncModal.format(91), "Z" + xyzFormat.format(0)); // retract
writeBlock(gAbsIncModal.format(90));
} else {
writeBlock(gAbsIncModal.format(90), gFormat.format(53), gMotionModal.format(0), "Z" + xyzFormat.format(0)); // retract
}
zOutput.reset();
}

 

This bit of code is in the EMC post processor, I'm going to customize it for my machine or delete it all together! Just broke a bit and I need to take my anger out on some code.

Requests to autodesk: leave G53 & G28 completely off by default, noobs don't know about it and I see it causing grief. Send me $32 to replace the bit I broke, my first tendency is to blame myself but this default G53//G28 seems to have been added in correlating with an update.

Message 10 of 10
Anonymous
in reply to: Anonymous

Anonymous
Not applicable

Yes, does not make alot of sense why they have removed the g53 on/off setting from the pp gui. its this bit of script here that you need to modify:

 

if (!jetMode) {
writeBlock(gMotionModal.format(0), gFormat.format(53), "Z" + xyzFormat.format(0));
}

 

 

Yes, does not make alot of sense why they have removed the g53 on/off setting from the pp gui. its this bit of script here that you need to modify:

 

if (!jetMode) {
writeBlock(gMotionModal.format(0), gFormat.format(53), "Z" + xyzFormat.format(0));
}

 

 

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

Post to forums  

Autodesk Design & Make Report