Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: plasmacutting on January 21, 2012, 03:06:08 PM

Title: axis are stopping during cutting process?
Post by: plasmacutting on January 21, 2012, 03:06:08 PM
Why my plasmatable axis are stopping for a moment during the cutting process when M15 (THC off) is read from G-code? If M15 is erased from G-code, cutting is continuous.
Title: Re: axis are stopping during cutting process?
Post by: Hood on January 21, 2012, 03:07:48 PM
What is in the M15 macro?

Hood
Title: Re: axis are stopping during cutting process?
Post by: plasmacutting on January 21, 2012, 03:23:37 PM
What is in the M15 macro?

Hood

I have no macro for M15

Title: Re: axis are stopping during cutting process?
Post by: Hood on January 21, 2012, 03:50:17 PM
Then why do you have M15 in your code?
Hood
Title: Re: axis are stopping during cutting process?
Post by: plasmacutting on January 23, 2012, 12:47:51 PM
Then why do you have M15 in your code?
Hood

Whoops! M15 macro is: "Deactivatesignal(output2)"
Title: Re: axis are stopping during cutting process?
Post by: Hood on January 23, 2012, 02:03:54 PM
What do you use OutPut2 for?
Hood
Title: Re: axis are stopping during cutting process?
Post by: plasmacutting on January 24, 2012, 03:53:47 AM
What do you use OutPut2 for?
Hood

It swiches off automatic arc height control before leadout or in case it is better to cut in manual THC mode.
Title: Re: axis are stopping during cutting process?
Post by: Hood on January 24, 2012, 04:01:59 AM
If the pause is only during the line with the macro then it is because Mach is reading the macro and acting on it so there will be a momentary pause, not much you can do about that.
You could try putting it on the same line as code but whether that would help I dont know, likely not.
Hood
Title: Re: axis are stopping during cutting process?
Post by: plasmacutting on January 24, 2012, 04:21:33 AM
If the pause is only during the line with the macro then it is because Mach is reading the macro and acting on it so there will be a momentary pause, not much you can do about that.
You could try putting it on the same line as code but whether that would help I dont know, likely not.
Hood

I will try, thanks a lot!
Title: Re: axis are stopping during cutting process?
Post by: Hood on January 24, 2012, 05:24:02 AM
It may be possible for you to instead utilise the M110/M10 commands instead.  It may not be working in the present download but should be soon in the development version.

Hood
Title: Re: axis are stopping during cutting process?
Post by: plasmacutting on January 24, 2012, 08:38:01 AM
It may be possible for you to instead utilise the M110/M10 commands instead.  It may not be working in the present download but should be soon in the development version.

Hood

Thanks! This would be another topic but I would need some with XY offsets again. I have used G54 and G55 for torch and Scribe. Now Homing swiches are installed and therefore this offseting is not working anymore. What would be the procedure for setting offset parameters for G52?
Title: Re: axis are stopping during cutting process?
Post by: Hood on January 24, 2012, 10:02:34 AM
Simply G52X*Y*  where * are the values you wish to offset the axis. G52 X0Y0 will set them back.

Hood
Title: Re: axis are stopping during cutting process?
Post by: plasmacutting on January 26, 2012, 03:43:57 AM
Simply G52X*Y*  where * are the values you wish to offset the axis. G52 X0Y0 will set them back.

Hood

It was easier than I expected - works fine, thanks a lot!
Title: Re: axis are stopping during cutting process?
Post by: plasmacutting on May 15, 2012, 09:35:02 AM
Simply G52X*Y*  where * are the values you wish to offset the axis. G52 X0Y0 will set them back.

Hood

I have now updated Mach. How can I use M110/M10 commands to deactivate output 2 (THC off) instead of M15, to prevent axis stopping during the process?

Thank you in advance!
Title: Re: axis are stopping during cutting process?
Post by: stirling on May 15, 2012, 10:35:01 AM
What do you use OutPut2 for?
Hood

It swiches off automatic arc height control before leadout or in case it is better to cut in manual THC mode.
So you're getting dive at kerf crossing and/or slow down at leadout.

You should really use anti-dive but if you prefer to switch off THC then you can't do it with ANY macro without Mach stopping. It's not so much that a macro takes time to do what it does, it's because Mach's CV planner doesn't blend movement accross a macro call and therefore you get an exact stop between the two moves.

Do a search for the E1P0/E1P1 command family which were created for laser users but may help you.

Ian