Hello Guest it is December 26, 2024, 02:58:46 PM

Author Topic: Torch Height control Methodology.  (Read 5557 times)

0 Members and 1 Guest are viewing this topic.

Torch Height control Methodology.
« on: June 09, 2018, 07:41:06 PM »
I am working on a home built cnc and I am working on a Chinese purchased THC with purchased 24V Z lifter/floating head.

Here is what I see in Mach3

AntiDive settings (what output would mach use to communicate this to the THC) Output 5 that is turned on in the Mill options page? Does this go on and off with antidive?

THC up  I think these Two are straight forward and I will not use these because I am using a torch lifter.
THC Down

arc ok   This is also self explanatory. the machine will not move until an arc ok signal is received.

I need some help specifically with an antidive signal. can I write code to produce this output?

This has been brought up many times (THC items) and not a lot has been said. I hope people can expand on the Mach 3 THC controls because it is poorly documented.

Thanks in advance.

Re: Torch Height control Methodology.
« Reply #1 on: June 10, 2018, 12:15:30 AM »
Hi,
about posting the documentation for your Chinese THC unit. Who can say what inputs it requires or what outputs it offers?

Craig
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'

Offline Davek0974

*
  •  2,606 2,606
Re: Torch Height control Methodology.
« Reply #2 on: June 10, 2018, 04:50:41 AM »
IIRC anti-dive is an internal Mach routine, not a controllable input.
Re: Torch Height control Methodology.
« Reply #3 on: June 10, 2018, 06:07:55 AM »
Hi weldsmith,
I profess no expertise on THC but I have, particularly through work, come across them.

The one I'm most familiar with is the PROMA unit. In essence you hook it to the plasma output and it produces a signal THC_UP or THC_DOWN in order that the plasma voltage
follow that you programmed into the PROMA. The UP-DOWN signal is presented to your controller and your controller sets the Z axis direction pin to up and then pulses the Z axis step pin
to cause the torch to lift. Should the torch go too high the plasma voltage will go above your setting and the PROMA unit will issue a DOWN signal and your controller will respond
by setting the Z axis direction pin to down and pulse the step pin. Sorry to bore you with what you probably already know.

Anti-dive is a software enacted modification of the basic up-down procedure above. To my knowledge the only way you can affect it is by those variables that the developer of the controller routine
makes available to Mach.

You could after a fashion write your own THC program but the delay between when your THC sense unit produced an UP/DOWN signal until the stepper started to respond would be about 100ms
for Mach3. This is probably too slow to be effective. It results from the fact that Mach3 or Mach4 come to that it is not a realtime program, it provides data in a buffer to a controller, be it a parallel port
or an external controller like an ESS, which is realtime. Hence the reason that the THC unit talks direct to the controller and bypasses Mach because Mach is too slow.
I have considered doing something similar in Mach4, as it turns out Mach4 is much quicker to respond, somewhere in the region of 10-20ms. Its still fairly lethargic but getting closer.
Apparently NFS are considering writing a module that does just that using a 'piggy back' axis, all very clever. It would still require controller support but a much simpler proposition than full bown
realtime THC.

The last possibility if you wish to write your own THC routine is to use one of the hardware controllers that allow/promote the ability to write code directly on the controller. The PoKeys 57 series,
Vital Systems HiCon unit, with appropriate activation and Gallil are all capable of such programming. Gallil is by far and away the most accomplished at this sort of board level programming
but a three axis Gallil is going to cost around $2000.

You might also have a look at the THC kit put together by Vital Systems. It is written for Mach4 but it specifically includes features related to anti-dive.

Craig
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'
Re: Torch Height control Methodology.
« Reply #4 on: June 11, 2018, 10:30:29 PM »
Thanks for the replies. Dave is right there is a function in Mach3 that turns off the THC when the feed rate falls below your preset value. My THC has a corner function input (anti dive). Mach does have an option to turn on (input 5) if the THC is on. does the anti dive function of mach3 turn this on and off during a corner or does it simply ignore signals to raise and lower the z axis in the corners. if I could get the input to my THC during during ramp downs below 90% I would be golden. now the sluggishness might be a problem. I still can use the arc OK and the stand alone THC but it makes me nervous that when the torch slows down it will dive into the plate.

The problem is that there is many different ways to implement Torch Height Control. and ,you must be careful on your choices. I bought a Proma 150 that would not work with my cheap Chinese Ethernet controller. The Proma 150 works with a standard parallel port BOB. I got the inputs for up and down to work but there is no way for mach to control the Z axis on the fly with the HVEM controller. Proma does make a controller that has the step and directions signals from the mach controller go through the the Proma. If the torch needs to go up or down the Proma will drive the stepper up or down. I had not realized this at the time of purchase. Now I have two THC controller that will not completely work with my setup. I am running on at the mouth because I believe this is a good discussion to have to help others from making the same mistakes that I have made.

If any one has more knowledge on this input 5 that Mach talks about or a way to externally control the THC auto, I would like to hear about it. and if you have any other advice on any THC, spit it out. I think a lot of people are struggling with THCs.

Offline Davek0974

*
  •  2,606 2,606
Re: Torch Height control Methodology.
« Reply #5 on: June 12, 2018, 03:19:46 AM »
In a nutshell, unless you are running a slow machine, Proma sucks. I tried it and it worked ok for a tiny machine built with a hypertherm 30XP system but when i built my bigger table and got the 45 system, it was far too slow at processing to be any good at all. If the sheets warped etc it just failed miserably.

In the end i forked out some money on a CandCNC MP3000 THC which was much faster but still not fast enough for bad warps etc, I still run this box today though, just have to learn its problems.

The fastest systems take direct control of the Z axis and run the stepper themselves, its the only way to cut the loop process times down to a minimum I think.

I still suffer the odd crash and dive but thats life with a plasma i think.
Re: Torch Height control Methodology.
« Reply #6 on: June 12, 2018, 09:35:25 AM »
Thanks Dave that is good information to hear. Even though I have a stepper motor on My Z axis I just purchased a floating head with a z lifter. hopefully this will be quick enough.

 I am curious if the new Proma SD will work faster. This unit does not talk to mach it is completely stand alone.

Offline Davek0974

*
  •  2,606 2,606
Re: Torch Height control Methodology.
« Reply #7 on: June 12, 2018, 09:37:52 AM »
Could be better, the one i had was about 5 years ago now.