Hello Guest it is April 20, 2024, 05:39:16 AM

Author Topic: Macro for extension G-code  (Read 3384 times)

0 Members and 1 Guest are viewing this topic.

Macro for extension G-code
« on: March 29, 2016, 06:37:25 AM »
Hi,
There are some Gcode commands that Mach3 can't understand, eg: G68, G69, G72. I have to write a software to translate it to M-codes that Mach3 can understand by Macro (writen by me)
Is there any macro/plugin method for Mach3 to directly understand those Gcodes (G68, G69...)?
(I'm sorry for my bad English)
thanks.

Offline Tweakie.CNC

*
  • *
  •  9,198 9,198
  • Super Kitty
    • View Profile
Re: Macro for extension G-code
« Reply #1 on: March 29, 2016, 10:28:51 AM »
I don't know about G72 but Mach3 understands the Gcodes G68 & G69 just fine.

Tweakie.
« Last Edit: March 29, 2016, 10:32:36 AM by Tweakie.CNC »
PEACE
Re: Macro for extension G-code
« Reply #2 on: March 29, 2016, 11:34:26 AM »
I mean that how we can define some Gcodes that aren't known by Mach3 (not Mcode)

Offline Tweakie.CNC

*
  • *
  •  9,198 9,198
  • Super Kitty
    • View Profile
Re: Macro for extension G-code
« Reply #3 on: March 29, 2016, 11:45:35 AM »
It may be helpful if you could explain the reason why you need to do this.

For example, why would you want Mach3 to understand G72 ?

Tweakie.
PEACE
Re: Macro for extension G-code
« Reply #4 on: March 29, 2016, 12:11:16 PM »
I'm using Mach3 to control an old CNC turret puch. There are some Gcode commands for turret puch in .tap file that Mach3 cannot understand (eg: G66I115.J180.P-20.Q-20.D0T256C315) . So I had to write a software to translate these commands to a series of base code (eg: G0 x y, M500) and save to another .tap file. The translated file then can run by mach3

Offline RICH

*
  • *
  •  7,427 7,427
    • View Profile
Re: Macro for extension G-code
« Reply #5 on: March 29, 2016, 07:09:46 PM »
Different software controllers have similar but not exactly the same, some additional codes and some less gcode codes, AND like a language the dillect can be slightly different for commands. Mach is Mach and others are others. So it was done and so it is. That's just the way things are!

RICH