Override set_default_blending

More
2 years 3 months ago #304723 by rodw
Replied by rodw on topic Override set_default_blending
I don't think that works. the G53 command requires G90 to be active and the G53 is issued before the cut starts with an M3
G91 needs to be active before any cutting motion starts.
So the sequence needs to be:
G90
G53
G91
M3
(cut)
M5
M30
Setting something at the end of the file won't achieve what we want as the G91 is not active when the next M3 is encountered.
Maybe I am not understanding something.

Please Log in to join the conversation.

More
2 years 3 months ago #304724 by phillc54
You are correct but the code does do that, here is the loaded file from 10mmcleats.ngc in your first post.
Warning: Spoiler!

Please Log in to join the conversation.

More
2 years 3 months ago #304725 by rodw
Replied by rodw on topic Override set_default_blending
Thanks for clarifying. I'lll check it out when I get home tonight.
If a cut is terminated early (eg estop) won't it be left in G91 so the next run will fail?

Please Log in to join the conversation.

More
2 years 3 months ago #304726 by phillc54

If a cut is terminated early (eg estop) won't it be left in G91 so the next run will fail?
True that. Probably should force a G90 early on...

Please Log in to join the conversation.

More
2 years 3 months ago #304727 by phillc54
This should be all you need:
Warning: Spoiler!

Please Log in to join the conversation.

More
2 years 3 months ago #304728 by rodw
Replied by rodw on topic Override set_default_blending
Perfect, that would be an excellent example for the plasmac docs now you've written it!
It shows how to support a third party CAM without any changes to the post processor and it includes a few enhancements to the existing examples.
Plus its a real life example (for Hypertherm Nestmaster)

Please Log in to join the conversation.

More
2 years 2 months ago #308693 by rodw
Replied by rodw on topic Override set_default_blending
As luck would have it now we get to running this on a real machine (and a sim) it fails.
It seems the G91 is being inserted too early. It should be inserted after the G53 so an error is not generated
I've attached the filter we worked out earlier and a new gcode file.
 

Attachment not found



Any help to fix this would be appreciated.
 

Please Log in to join the conversation.

More
2 years 2 months ago #308750 by phillc54
It is looking a bit ugly but it seems to do what you need:
Warning: Spoiler!

Please Log in to join the conversation.

More
2 years 2 months ago #308787 by rodw
Replied by rodw on topic Override set_default_blending
Thanks Phill, It seems to be working again. Hopefully it keeps working!

This complete  config can be found here for those interested.  github.com/rodw-au/showstopper
 

Please Log in to join the conversation.

Time to create page: 0.054 seconds
Powered by Kunena Forum