Hi
I use a7i76E with the THCad-10 on my plasma. I run it 5 days a week and the THC works well. Please see my basic hal code to get the arc voltage without any custom hal components. It is kind of messy because it has both divide by one and divide by 32 THCad settings in it left over from trouble shooting THC problems. I had no need to run in the divide by 32 mode for noise reduction.
Code:
#*******************
# THC stuff
#*******************
# ---Encoder Setup for THC--
setp hm2_7i76e.0.encoder.00.counter-mode 1
#filter mode now set to true for divide by 32 THCad mode
#setp hm2_7i76e.0.encoder.00.filter 1
#filter mode now set to false for divide by 1 THCad mode
setp hm2_7i76e.0.encoder.00.filter 0
setp hm2_7i76e.0.encoder.00.scale -1
net thc-vel-in hm2_7i76e.0.encoder.00.velocity
#*********************************
#use base components for getting arc voltage
#********************************
#these settings are scaling encoder counts to arcvolts using scale component
#Value for my THCad card and voltage divider (18.94181:1)
setp scale.arcvolts.gain .0002238191
#Value for my THCad card 124400 * .0002238191*-1
setp scale.arcvolts.offset -27.843
#now using divide by 32 mode per PCW rcomended setup so all scalling values are divided by 32
#setp scale.arcvolts.gain .007162211
#setp scale.arcvolts.offset -27.843
net thc-vel-in => scale.arcvolts.in
net scaled_arcvolts <= scale.arcvolts.out
John