Hello Guest it is April 16, 2024, 12:33:46 AM

Author Topic: other way to turn off torch  (Read 5077 times)

0 Members and 1 Guest are viewing this topic.

other way to turn off torch
« on: November 27, 2013, 07:35:44 AM »
Hello everyone,
                        first post here and mach 3 newbie. I'm trying to make holes with an overburn, with the plasma torch turning off a little before the end. ( I know how to use a lead out, but i would prefer this way) But, mach pauses slightly at M05, then continues motion, wich leaves a divot.

Is there another way to turn off the torch? Maybe S code, or in some way a line that "clicks" the torch button in mach? I tried to copy and rename as S0 the M05 macro and use the new command,
but it doesnt work

I know there is the VB editor, but im a little lost in complex g-code writing.

Thank you

Richard
Bulltear 5x10
sheetcam mp1000-thc post, mach3
Re: other way to turn off torch
« Reply #1 on: November 27, 2013, 08:36:48 AM »

do you have a spindle delay in Config/ Ports and Pins/ Spindle Setup?
Re: other way to turn off torch
« Reply #2 on: November 27, 2013, 09:17:22 AM »
no delay. the pause is very brief, but enough to ding the hole.

Offline Tweakie.CNC

*
  • *
  •  9,195 9,195
  • Super Kitty
    • View Profile
Re: other way to turn off torch
« Reply #3 on: November 28, 2013, 04:39:55 AM »
Hi Richard,

This is, in a way, similar to the issue we had with lasers, a couple of years back, and needing a fast method of switching them on / off.
The initial solution was to use an imaginary axis Direction pin (for example AxisB). The command B1 would turn the laser on and the command B0 would turn the laser off.
A more sophisticated approach (and following some nifty work by Brian Barker in restoring the command set) is the Mach3 M11P1 / M10P1 or the E1P0 / E1P1 command set (they both work in the same way).

If it is of any interest there are some more details of this here; http://hobbycncart.com/publ/cikkek/mach3_temaju_cikkek/switching_a_laser_under_mach_control/8-1-0-29


Tweakie.
PEACE
Re: other way to turn off torch
« Reply #4 on: November 28, 2013, 05:03:58 AM »
thank you very much! Can i just use the M10/11 commands, or do i have to install something?

Offline Tweakie.CNC

*
  • *
  •  9,195 9,195
  • Super Kitty
    • View Profile
Re: other way to turn off torch
« Reply #5 on: November 28, 2013, 05:17:03 AM »
Hi Richard,

You could use the command M11P1 to turn on Output #1 and the command M10P1 to turn off output #1. Each of these commands needs to be followed by an axis (any axis) movement in the GCode and you just need to be using Mach3 version R3.043.057 (or later).

Tweakie.
PEACE
Re: other way to turn off torch
« Reply #6 on: November 28, 2013, 11:01:41 AM »
Wow! Just tried it!! Thanks alot!!!!! ;D