G43.4 and G53 retraction, I need to turn of G43.4 before retractions, Post processor change

G43.4 and G53 retraction, I need to turn of G43.4 before retractions, Post processor change

kdee122
Participant Participant
406 Views
2 Replies
Message 1 of 3

G43.4 and G53 retraction, I need to turn of G43.4 before retractions, Post processor change

kdee122
Participant
Participant

I am using the Mitsubishi/Microdynamics 5-axis post processor for the Microdynamics 30VT.  This post was written specifically for this machine and is not a generic post.

 

When using G43.4 (Tool Center Point Control) at the end of the machining cycle a G53 retraction is called. The G53/G28 is called before TCP is turned off this causes a P942 error on the control. "Invalid cmnd during T tip ctrl"

 

Here is a sample of my code:

N105050 X-24.476 Y12.023 Z140.767
N105055 X-24.471 Y11.96 Z140.956
N105060 X-24.452 Y11.933 Z141.123
N105065 X-33.138 Y16.575 Z142.859

N105070 M09
N105075 G53 G00 Z0.
N105080 G49
N105085 G00 A0. C0.
N105090 G53 G00 X0. Y0.
N105095 M30
%

 

The G49 to turn off The G43.3 (TCP) is BELOW the first G53 retraction line. I have manually moved the G49 above the G53 moves and everything seems to work ok.

 

How can I make this change in the post-processor?

 

Is there a reason not to make this change that I may not be aware of?

 

BTW the machine is trunnion 5 axis so it is always safe to retract in the Z direction.

 

0 Likes
407 Views
2 Replies
Replies (2)
Message 2 of 3

CNC_Lee
Collaborator
Collaborator

@kdee122 

If the generic posts are not providing the required output, I offer post processor development services and happy to work out a solution for your machine! Message me if I can be of further assistance.

If my post answers your question, please use Accept as Solution.

CNC Lee
Autodesk CAM Post Processor Expert
0 Likes
Message 3 of 3

Sohny
Participant
Participant

Hi!

Im a Heidenhain guy, had now to learn Okuma too. I only learned before Heidenhain so im not good with the G Codes.

But i Configured before for our 3 Axis Hermle a Post, the Post for the 5 Axis DMG was bought external. But i learned a lot now here and with help when doing the Okuma Post. You wrote the Post is special for that machine! Is i bought from a external CAM Company? Because our DMG Post is encrypted and we can't do changes ourself. If npt amd you Downloaded it from the Autodesk Page Install Visual Studip Code and the Fusion Extension in it. Theres a lot instructipns out there for it. Before dping changes Backup your Original Post.

Then search if it's similar written to the other Posts for a Line with g.format written and your code G53.

If it written like the other post the next line sould be g.format and then 49.

Only from my head written like this g.frormat (49).

Copy that line above the G53 Line and it should work. No guarantee and Test it with Caution if it works.

I do that always too.

0 Likes