Another plasma component...
Could you please try this:
In plasmac_buttons.glade change line 4 with a text editor from:
<requires lib="gtk+" version="2.24"/>
<requires lib="gtk+" version="2.18"/>
Cheers, Phill.
Please Log in or Create an account to join the conversation.
Yes, the THCAD wires into encoder AAll I know is i'm to wire into encoder A
- run LinuxCNC
- open halshow and watch plasmac.arc-voltage-in and plasmac.arc-voltage-out
- set Voltage Scale in the Plasma Config tab to 1
- set Voltage Offset in the Plasma Config tab to the value read from plasmac.arc-voltage-in
- apply a known voltage to the TCHCAD input
- set Voltage Scale in the Plasma Config tab to (known-voltage / plasmac.arc-voltage-out)
you could probably keep tweaking to fine tune further.
Basically:
Voltage Offset sets the displayed voltage to 0 when there are zero volts present.
Voltage Scale set the voltage to the correct value for a known voltage.
Cheers, Phill.
I must be missing something. plasmac.arc-voltage-in voltage-out, as well as hm2_7i96.0.encoder.00.velocity don't show anything, all zero.
Is there another component I need to load?
The thcad is blinking, and blinks faster when I put voltage on the input. I tried F/1 and F/32. Also, the bipolar/unipoler jumper is confusing referencing the silkscreen vs the manual.
Please Log in or Create an account to join the conversation.
if hm2_7i96.0.encoder.00.velocity shows zero then you must be missing a connection, you need 0V, +5V, FO- to ENCA- and FO+ to ENCA+ (that is to my 7i76E at least)I must be missing something. plasmac.arc-voltage-in voltage-out, as well as hm2_7i96.0.encoder.00.velocity don't show anything, all zero.
You shouldn't need anything else.Is there another component I need to load?
I have mine at F/32 (recommended by PCW)The thcad is blinking, and blinks faster when I put voltage on the input. I tried F/1 and F/32.
Yes, I see what you mean, mine is set as on the silkscreen, W1 is up for UnipolarAlso, the bipolar/unipoler jumper is confusing referencing the silkscreen vs the manual.
Cheers, Phill.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
[
Speaking of barebone config, the last hal component I need to hook up is the torch voltage. I'm running a 7i96 and a thcad10. What lines do I need to get the thc hooked up? Right now the only hal config I have in regard to this isBut it's just a placeholder to get the config to load until I figure out what it's supposed to be. All I know is i'm to wire into encoder A and somehow calibrate with the sticker on the back of the thcad card. I know the THCAD manual has a simple formula for converting the frequency to voltage with these calibration figures, but when I was looking through plasmac.comp I didn't see where I use these.net plasmac:arc-voltage-in hm2_7i96.0.encoder.00.velocity => plasmac.arc-voltage-in
I disagree with Phill here. you don't need to put a voltage on the input as you have the calibration data from mesa so you know what it will be reading at 10 volts.
Make sure the board is set to 1/32 divide mode on the link on the THCAD. Divide both values on the board by 32 and write them down. Work out what will be the actual volts indicated. Say you have a 30:1 divider and full scale frequency is 28000. 10 volts x 30 = 300 volts. So your scale is 300/28,000 = 0.0107 and your offset will be 1/32 of the 0 volt frequency you wrote down earlier (probably around 3800)
The 1/32 setting is better for LInuxCNC's servo thread speed and allows more accurate sampling by the THCAD via some kind of averaging algorithim in the chip.
Please Log in or Create an account to join the conversation.
Here is my THCAD connection pinouts. Ignore the numbers in brackets. Theu are specific to my machineI must be missing something. plasmac.arc-voltage-in voltage-out, as well as hm2_7i96.0.encoder.00.velocity don't show anything, all zero.
Attachments:
Please Log in or Create an account to join the conversation.
Anyway, I figure troubleshooting my THCAD may be getting off topic here. I've posted some more info over here: forum.linuxcnc.org/27-driver-boards/3659...6-and-thcad?start=30
Please Log in or Create an account to join the conversation.
- islander261
- Offline
- Platinum Member
- Posts: 757
- Thank you received: 216
Here you go:
jd@plasma1 ~ $ lsb_release -a
No LSB modules are available.
Distributor ID: LinuxMint
Description: LMDE 2 Betsy
Release: 2
Codename: betsy
I run the Cinnamon desk top.
Also:
jd@plasma1 ~ $ uname -a
Linux plasma1 4.1.15-rt17mah #1 SMP PREEMPT RT Fri Feb 26 23:43:49 PST 2016 x86_64 GNU/Linux
jd@plasma1 ~ $ lsmod
Module Size Used by
cfg80211 372736 0
bnep 20480 2
bluetooth 270336 5 bnep
cpufreq_userspace 16384 0
rfkill 20480 3 cfg80211,bluetooth
cpufreq_conservative 16384 0
cpufreq_stats 16384 0
cpufreq_powersave 16384 0
pci_stub 16384 1
vboxpci 20480 0
vboxnetadp 28672 0
vboxnetflt 24576 0
binfmt_misc 16384 1
vboxdrv 307200 3 vboxnetadp,vboxnetflt,vboxpci
nls_utf8 16384 0
cifs 233472 0
fscache 45056 1 cifs
fuse 77824 3
ecryptfs 73728 0
lp 16384 0
dm_crypt 24576 0
uinput 20480 1
coretemp 16384 0
kvm_intel 135168 0
kvm 360448 1 kvm_intel
joydev 20480 0
snd_hda_codec_analog 16384 1
snd_hda_codec_generic 53248 1 snd_hda_codec_analog
snd_hda_intel 28672 3
snd_hda_controller 24576 1 snd_hda_intel
microcode 20480 0
iTCO_wdt 16384 0
snd_hda_codec 77824 4 snd_hda_codec_generic,snd_hda_intel,snd_hda_controller,snd_hda_codec_analog
dcdbas 16384 0
iTCO_vendor_support 16384 1 iTCO_wdt
ppdev 16384 0
serio_raw 16384 0
pcspkr 16384 0
acpi_cpufreq 16384 0
snd_hda_core 24576 4 snd_hda_codec_generic,snd_hda_codec,snd_hda_controller,snd_hda_codec_analog
processor 28672 1 acpi_cpufreq
lpc_ich 24576 0
mfd_core 16384 1 lpc_ich
evdev 20480 15
parport_pc 24576 1
snd_hwdep 16384 1 snd_hda_codec
snd_pcm 73728 3 snd_hda_codec,snd_hda_intel,snd_hda_controller
tpm_tis 20480 0
parport 36864 3 lp,ppdev,parport_pc
shpchp 32768 0
tpm 28672 1 tpm_tis
snd_timer 24576 1 snd_pcm
snd 53248 13 snd_hwdep,snd_timer,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_hda_codec_analog
soundcore 16384 1 snd
ext4 425984 1
crc16 16384 2 ext4,bluetooth
jbd2 77824 1 ext4
mbcache 16384 1 ext4
dm_mirror 20480 0
dm_region_hash 16384 1 dm_mirror
dm_log 16384 2 dm_region_hash,dm_mirror
dm_mod 90112 3 dm_log,dm_mirror,dm_crypt
sg 28672 0
sd_mod 32768 3
hid_generic 16384 0
usbhid 40960 0
ata_generic 16384 0
hid 94208 2 hid_generic,usbhid
psmouse 94208 0
ata_piix 32768 2
libata 167936 2 ata_generic,ata_piix
i2c_i801 20480 0
scsi_mod 180224 3 sg,libata,sd_mod
i915 864256 3
8139too 28672 0
8139cp 24576 0
mii 16384 2 8139cp,8139too
tg3 139264 0
ptp 20480 1 tg3
pps_core 16384 1 ptp
libphy 24576 1 tg3
video 20480 1 i915
i2c_algo_bit 16384 1 i915
drm_kms_helper 77824 1 i915
uhci_hcd 28672 0
ehci_pci 16384 0
ehci_hcd 45056 1 ehci_pci
drm 237568 5 i915,drm_kms_helper
button 16384 1 i915
usbcore 147456 4 uhci_hcd,ehci_hcd,ehci_pci,usbhid
usb_common 16384 1 usbcore
i2c_core 40960 5 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit
thermal_sys 28672 2 video,processor
John
Please Log in or Create an account to join the conversation.
I managed to find LMDE2 and made a new virtual machine last night, loaded all the dependencies, cloned plasmac and built LinuxCNC.
The colors work fine, I really don't know where to go from here...
Did you guys try the mod to the glade file?
Cheers, Phill.
Please Log in or Create an account to join the conversation.
jscalc.io/calc/NTr5QDX6WgMThBVb
[edit]
I hope it works right because I can't figure out how to get back in to edit the stupid thing.. anyway I figure
scale = thcad_model_voltage * frequency_divider * plasma_divider_ratio / (max_voltage_frequency - zero_voltage_frequency)
offset = zero_voltage_frequency / frequency_divider
where max_voltage_frequency and zero_voltage_frequency are from the calibration sticker x1000
Please Log in or Create an account to join the conversation.