Script/GCode interface

C Scripting questions and answers
Vangoth
Site Admin
Posts: 8
Joined: Fri Mar 16, 2018 1:49 pm

Re: Script/GCode interface

Post by Vangoth »

yes sir thank you very much, indeed the error was the code G4. edit it and it works

Does that mean that I must change the postprocessor for one that does not generate a g4?
ArtF
Global Moderator
Global Moderator
Posts: 4557
Joined: Sun Sep 05, 2010 5:14 pm
Contact:

Re: Script/GCode interface

Post by ArtF »

Hi:

yes, or edit the files afterwards. The G04 is allowed, but it has to be in the form of G04P.5 for example as a .5 second dwell.
Plasma usually uses this to wait for fire..

Art
Vangoth
Site Admin
Posts: 8
Joined: Fri Mar 16, 2018 1:49 pm

Re: Script/GCode interface

Post by Vangoth »

yes sir, I am in the task of looking for and testing a postprocessor that will probe in the Z axis before turning on the torch and then turn on the torch with M3 and pause for 1 second depending on the thickness of the metal so that the Fire penetrate the material and start the cut.

MUCHAS GRACIAS POR SU AYUDA
ArtF
Global Moderator
Global Moderator
Posts: 4557
Joined: Sun Sep 05, 2010 5:14 pm
Contact:

Re: Script/GCode interface

Post by ArtF »

You should probably just hook up a home switch on the Z that homes downwards till the switch hits the material and sets it as home.
You just tell Auggie to home the Z then. That can probably be done with a macro call or a simple macro script. Ill check into the GCode
command for telling an axis to home to switch.. I think I added it but Im not sure..

Art
Post Reply