Hello Guest it is March 28, 2024, 04:49:09 PM

Author Topic: Torch Height Control Brain  (Read 2223 times)

0 Members and 1 Guest are viewing this topic.

Torch Height Control Brain
« on: November 06, 2018, 12:33:38 PM »
I am pretty new to building brains. Running Mach3 on a plasma table that I built. The biggest issue with my table is that the THC, Proma 150, can't be turned on and off using Sheetcam effectively. I've got macros that function and turn it on and off, but they cause delays in motion. In the plasma process this causes the cut to be wider in some areas than it actually should be. In my research to solve this problem, there has been mention of using the S code because they do not cause pauses in motion. So here is what I am trying to do and need some help with.

If THCOn() = false
     Then If S=10
            Then THCOn()
End If

Now, some of that is probably phrased a bit wrong. Been a long time since programming in college. My goal is to make this brain and then duplicate it and make one for THC Off looking for S=20. Is this possible? Is there something better to use? Just really could use an example. I think something like this would really help a lot of people.