Macros causing motion pauses

A place to get answers about which CNC products to look at for your specific application. We have everything from complete controllers in different sizes and in both stepper and servo configurations. A good place to start and get basic answers
beefyandzee
Posts: 22
Joined: Sun Sep 29, 2013 4:25 pm

Re: Macros causing motion pauses

Post by beefyandzee »

vmax549 wrote:Tom have you thought about the OLD method (before the M10/M11/EPO.EP1 came along.

Using the direction pin of a phantom axis . Laser guys used it before art did the M10/M11 thing.

(;-) TP
You beat me to it Terry.

I've only just learned about that one from a bit of Googling about this issue. Damn I love Google :D

Tom,

thanks very much for the very informative reply. If I can get this phantom axis thingy to work, then that will cover this shortfall in the ESS.

Keith
Corfabrication
Posts: 10
Joined: Sun Nov 02, 2014 4:50 pm

Re: Macros causing motion pauses

Post by Corfabrication »

I will admit, I have no idea where to start trying these things out. This was my main reason for buying a package deal, where the programming part is all sorted out already. Is it possible to walk me through things to try?
beefyandzee
Posts: 22
Joined: Sun Sep 29, 2013 4:25 pm

Re: Macros causing motion pauses

Post by beefyandzee »

Corfabrication wrote:I will admit, I have no idea where to start trying these things out. This was my main reason for buying a package deal, where the programming part is all sorted out already. Is it possible to walk me through things to try?
Your electronics package hopefully has at least one spare axis output (step and directions signals that go to your motor drives). It's the direction output you are interested in. This is normally high or low, representing forward or backward, but in our case it's going to be used to drive a relay, so it means on or off. You are lying to Mach and telling it you have another axis ("phantom" axis), then in the gcode (via path rules) you can insert the code to tell this axis to do something, and in the process you will "turn on" the direction output. This method is supposed to be even faster than the M laser command that has been talked about. By having you TORCH ON output wired through a normally closed contact in a relay, you can use this direction output to energise the relay (thereby turning off the torch) until the the normal M5 command has been done. Use a very small relay because they generally have a faster operation (just a few milliseconds) than a bigger relay.

I know you are going to need a lot more walking through it at this stage but I have to go out and put my excavator back together and try and get some work tomorrow. It's lying in a million pieces in my back yard at the moment.

I searched for "phantom axis" on the mach forum and most of the suggestions to use that came from Terry Parker. Thanks again Terry.

As a starter check out these threads. Welcome to the world of Mach.

http://www.machsupport.com/forum/index. ... 951.0.html

http://www.machsupport.com/forum/index. ... 563.0.html

https://www.machsupport.com/forum/index ... ic=19560.0

https://www.machsupport.com/forum/index ... 36.10.html

Keith
vmax549
Posts: 22
Joined: Sun Sep 29, 2013 4:25 pm

Re: Macros causing motion pauses

Post by vmax549 »

To add to what Keith explained you set up a phantom axis say C, in the steps per you use 1 .

The Call for an ON
C1

the Call for off
C-1

IF I remember correctly (;-) , I can try it if needed.

(;-) TP
beefyandzee
Posts: 22
Joined: Sun Sep 29, 2013 4:25 pm

Re: Macros causing motion pauses

Post by beefyandzee »

Hmmm, just had a thought.

Is there a way of controlling the default DIRECTION signal output level at Mach start up, i.e. high or low. I've never needed to consider that before, because the gcode always commands the direction together with the step pulses. And if there was no step pulses it wouldn't matter what the direction signal level was at.

Bit different though when a relay is attached to the direction output.

Keith.
Corfabrication
Posts: 10
Joined: Sun Nov 02, 2014 4:50 pm

Re: Macros causing motion pauses

Post by Corfabrication »

I hope to have some spare time tomorrow afternoon to experiment with some of this.
Thanks guys.
vmax549
Posts: 22
Joined: Sun Sep 29, 2013 4:25 pm

Re: Macros causing motion pauses

Post by vmax549 »

Yes there is in the iNIT string add in G00 C1 (assuming you are using C as the phantom axis)

(;-) TP
admin13o5
Site Admin
Posts: 6495
Joined: Tue Sep 03, 2013 5:39 pm

Re: Macros causing motion pauses

Post by admin13o5 »

No because for the last 4 years we have not tried to control the MACH THC logic. We have direct control of the DTHCII and DTHCIV from G-Code. We did that a long time ago so you don't ahve to "RUBE" up a solution then figure out hoe to get the proper G-Code without hacking on the POSTS. Even after you get control of the THC or another even via the virtual output it is still going to cause you some problems of course if you have the time (like you do ) to dink with code and make changes in MACH then there can be other ways to do it. As for us we have thousands of customers and we cannot support solutions for a handfull of users. It's already difficult to support users that are not in dinking with settings especially on legacy equipment

My advice for this thread: Make copies of your working Profiles and document any hardware changes you make because if something happens and it does not work or stops in the future our support cannot help you.
Corfabrication
Posts: 10
Joined: Sun Nov 02, 2014 4:50 pm

Re: Macros causing motion pauses

Post by Corfabrication »

admin13o5 wrote:No because for the last 4 years we have not tried to control the MACH THC logic. We have direct control of the DTHCII and DTHCIV from G-Code. We did that a long time ago so you don't ahve to "RUBE" up a solution then figure out hoe to get the proper G-Code without hacking on the POSTS. Even after you get control of the THC or another even via the virtual output it is still going to cause you some problems of course if you have the time (like you do ) to dink with code and make changes in MACH then there can be other ways to do it. As for us we have thousands of customers and we cannot support solutions for a handfull of users. It's already difficult to support users that are not in dinking with settings especially on legacy equipment

My advice for this thread: Make copies of your working Profiles and document any hardware changes you make because if something happens and it does not work or stops in the future our support cannot help you.
So what do you suggest I try as an alternative to get holes without notches?
A lead out and over cut is better than without, but still looks like crap.
beefyandzee
Posts: 22
Joined: Sun Sep 29, 2013 4:25 pm

Re: Macros causing motion pauses

Post by beefyandzee »

admin13o5 wrote:No because for the last 4 years we have not tried to control the MACH THC logic. We have direct control of the DTHCII and DTHCIV from G-Code. We did that a long time ago so you don't ahve to "RUBE" up a solution then figure out hoe to get the proper G-Code without hacking on the POSTS. Even after you get control of the THC or another even via the virtual output it is still going to cause you some problems of course if you have the time (like you do ) to dink with code and make changes in MACH then there can be other ways to do it. As for us we have thousands of customers and we cannot support solutions for a handfull of users. It's already difficult to support users that are not in dinking with settings especially on legacy equipment
I started this thread to ask about your latest and best system (the ESS) and why a user of that system could not get his torch to switch off (during motion) without a pause. I always recommend your systems and want to eventually upgrade to the ESS. I just wanted to know for certain where I would stand with this pause issue if I buy that system. I haven't indicated anywhere I want to dink with settings on legacy equipment, this discussion has been about the ESS. As far as I am aware your THC works perfect on your latest systems without any pause so everything is great there I have no interest in that side of things, only this current inability to turn off the torch without a pause (in the ESS).

Until such time as a solution for this is engineered into the ESS system, "dinking" with the system would be the only option I'd have to switch the torch off without a pause, and avoid the mentioned divot. The whole purpose of me upgrading would be for all the great features included that improve cut quality, so my ears pricked up when I heard about this issue, and I wanted to know more.

I'm basically just gathering info so I can decide whether to buy the ESS (which I would prefer) and do the dinking if it will work, or get the parallel port system which doesn't seem to have this shortfall.
Post Reply

Who is online

Users browsing this forum: No registered users and 35 guests