Override set_default_blending

  • rodw
  • rodw's Avatar Topic Author
  • Away
  • Platinum Member
  • Platinum Member
More
09 Jul 2024 04:37 #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 or Create an account to join the conversation.

More
09 Jul 2024 04:46 #304724 by phillc54
Replied by phillc54 on topic Override set_default_blending
You are correct but the code does do that, here is the loaded file from 10mmcleats.ngc in your first post.
Warning: Spoiler!
The following user(s) said Thank You: rodw

Please Log in or Create an account to join the conversation.

  • rodw
  • rodw's Avatar Topic Author
  • Away
  • Platinum Member
  • Platinum Member
More
09 Jul 2024 05:08 #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 or Create an account to join the conversation.

More
09 Jul 2024 05:09 #304726 by phillc54
Replied by phillc54 on topic Override set_default_blending

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...
The following user(s) said Thank You: rodw

Please Log in or Create an account to join the conversation.

More
09 Jul 2024 05:20 - 09 Jul 2024 05:21 #304727 by phillc54
Replied by phillc54 on topic Override set_default_blending
This should be all you need:
Warning: Spoiler!
Last edit: 09 Jul 2024 05:21 by phillc54.
The following user(s) said Thank You: rodw

Please Log in or Create an account to join the conversation.

  • rodw
  • rodw's Avatar Topic Author
  • Away
  • Platinum Member
  • Platinum Member
More
09 Jul 2024 05:32 #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 or Create an account to join the conversation.

  • rodw
  • rodw's Avatar Topic Author
  • Away
  • Platinum Member
  • Platinum Member
More
26 Aug 2024 12:14 #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.
 

Any help to fix this would be appreciated.
 
Attachments:

Please Log in or Create an account to join the conversation.

More
27 Aug 2024 01:02 #308750 by phillc54
Replied by phillc54 on topic Override set_default_blending
It is looking a bit ugly but it seems to do what you need:
Warning: Spoiler!
The following user(s) said Thank You: rodw

Please Log in or Create an account to join the conversation.

  • rodw
  • rodw's Avatar Topic Author
  • Away
  • Platinum Member
  • Platinum Member
More
27 Aug 2024 11:23 #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 or Create an account to join the conversation.

Moderators: snowgoer540
Time to create page: 0.094 seconds
Powered by Kunena Forum