31
General Mach Discussion / Re: Plasma Application, Mach3 torch height control.
« on: October 06, 2009, 02:05:06 PM »
OK it's clear now
JP
JP
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Thanks JP - now working. FWIW I first tried this on my simulation Mach PC - i.e. no PP driver and although the Torch On/Off worked the TorchUP/Down didn't - the LEDs lit but no Z activity. Then I remembered a similar keyboard emulation issue I had a while back with the probe signal. It only actually works with the PP driver loaded. Sure enough the same seems to apply in this case.
thanks again
Ian
Ok that's cool !
BTW, what do you mean with "pp driver" ?
JP
Hi JP. I too have been trying to simulate control of Torch Up/Down via keyboard emulation in ports n pins. I get the Torch Up/Down LEDs lighting on the Diagnostics page but no Z movement in the DRO. I've made a call to StartTHC (THCOn() throws a script syntax error) but this makes no difference. What am I missing?Hi Ian,
Ian
Mach already has all of the logic for dthc built in so there is no need to use anything else, my brain simply compares my value read in (in the process described above) with the value i have typed into dro 1036 i think, but its whatever is in the candcnc screenset for preset volts and moves up if the voltage is too low or down if its too high, the thc controls are there in the brain editor under thc up and thc dwn, and mach does the rest, if all criteria are met, arc ok signal is on and thc is turned on it will adjust the torch position.
Bingo youve got dthc
I have also been looking at how to do this with no pokeys, i think if i was to put a simple analogue to digital converter on my analogue voltage and reading in the pulses across the parrallel port using the spindle speed input or something which will measure frequency, this may also give the advantage of a wider working band, the limitation with my device is that i am taking a perhaps 10v variation and reducing it to perhaps 0.5v variation and then mathematically multiplying it back up, so there is error but in fairness to it i can make a 200mm long cut with one end of the material raised by 50mm and the cut height is pretty constant and when im hundreds in pocket i cant complain.
matt