Machsupport Forum
Mach Discussion => VB and the development of wizards => Topic started by: BR549 on March 19, 2012, 05:56:58 PM
-
Can anyone confirm if the CB function THCon() works for you. Testing here Mach3 does not recognize it . THCoff() works. V.043.022
Thanks,(;-) TP
-
What is THCon ?
if i step through a simple check program
dim a as double
a=THCoff()
a=a
seems that i get a = 0
a=THCon
a=a
seems that i get a = 26
a=THCon()
compiler error
a=THCon(0)
unrecoverable error
-
It is a CB call to Turn on the THC control. Mach does not even recognize the thcon() But it is in the book along with THCoff().
THCon() ' Turns on the THC
THCoff() 'Turns Off the THC
That should turn the THC on then off IF you step through the code BUT you get a syntax error on the THCon()
(;-) TP
-
Hi Terry
THCOn broken here too (same V as you). However startTHC and endTHC calls appear to work.
Cheers
Ian
-
Thanks Ian, I guess I am getting old I never thought about a duplicate command being available. I must have had my blinders on(;-)
I was working on a ARC slowdown routine for plasma where IF you had an arc less than ********* Radius AND arc angle Greater than XXdeg then THCoff() and reduce Feedrate by XX%
Then when the arc is complete THCon() and resume cutting.
Shee Cam can do the Gcodeing for it using a MCODE to signal the slowdown BUT running a MCODE there is a delay that causes the Machine to dwell while cutting leaving a divot(;-)
So I did a routine with a macropump aand a routine with a brain to see IF I could get rid of the dwell.
(;-) TP
-
Do any of these functions work, not very clear from the thread :)
-
Do any of these functions work, not very clear from the thread :)
Really?
THCOn broken here too (same V as you). However startTHC and endTHC calls appear to work.
-
Ok, Ok, i'm having a bad day :)
thanks