- Posts: 373
- Thank you received: 0
New Project with Mesa 7I96 and THCAD-05
5 years 4 months ago #210972
by TexasCNC
Replied by TexasCNC on topic New Project with Mesa 7I96 and THCAD-05
Attachment not found
Attachment not found
Please Log in to join the conversation.
5 years 4 months ago #210973
by phillc54
Replied by phillc54 on topic New Project with Mesa 7I96 and THCAD-05
try this as your hal file:
Attachment not found
Please Log in to join the conversation.
5 years 4 months ago #210993
by TexasCNC
Replied by TexasCNC on topic New Project with Mesa 7I96 and THCAD-05
yes sir that worked thanks now I need t wait for that Z axis motor to swap out and try it again is there anything i need to change or look at it again for the THC to be working correctly?
Please Log in to join the conversation.
5 years 4 months ago #211023
by TexasCNC
I am waiting for my Z axis motor to come in but i tried to install the comp and it didnt work i tried both ways I see the that i have the linuxcnc-dev and follow it to src components and i see the ohmic.comp file.
Is there another way to install this?
Replied by TexasCNC on topic New Project with Mesa 7I96 and THCAD-05
rodw wrote: Wire it as shown but leave the AC relay out and follow the notes below the thcad. (as Phill says use ENCB)
Install the correct bit file
add this to your hal file (make sure the encoder.01 is numbered correctly)Code:# --- 7i76e ENCODER SETUP FOR OHMIC SENSING--- setp hm2_7i76e.0.encoder.01.scale -1 setp hm2_7i76e.0.encoder.01.counter-mode 1
Check to make sure
hm2_7i76e.0.encoder.01.velocity is showing some data in halshow. It should be hovering around your 0 volt frequency
Download ohmic3.comp from here and from the command prompt typeYou may need to install the linuxcnc dev tools to do this.Code:sudo halcompile --install ohmic3.comp
If a RIP build, drop the sudo
Attachment not found
Copy this to your config directory, edit the data as required for your version of the THCAD-5
Attachment not found
add this file to your ini file after your main config fileCode:[HAL] HALUI = halui HALFILE = my_LinuxCNC_machine.hal HALFILE = spaceship_ohmic.hal
You should be good to go!
I am waiting for my Z axis motor to come in but i tried to install the comp and it didnt work i tried both ways I see the that i have the linuxcnc-dev and follow it to src components and i see the ohmic.comp file.
Is there another way to install this?
Please Log in to join the conversation.
5 years 4 months ago #211024
by rodw
Replied by rodw on topic New Project with Mesa 7I96 and THCAD-05
if you type halcompile on the command line, is the program found?
If not, Try this and try it again.
If not, Try this and try it again.
Code:
sudo apt-get install linuxcnc-uspace-dev
Please Log in to join the conversation.
5 years 4 months ago #211026
by TexasCNC
Replied by TexasCNC on topic New Project with Mesa 7I96 and THCAD-05
carr@carr-pc:~$ halcompile
bash: halcompile: command not found
carr@carr-pc:~$ sudo apt-get install linuxcnc-uspace-dev
[sudo] password for carr:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linuxcnc-uspace-dev
carr@carr-pc:~$
bash: halcompile: command not found
carr@carr-pc:~$ sudo apt-get install linuxcnc-uspace-dev
[sudo] password for carr:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linuxcnc-uspace-dev
carr@carr-pc:~$
Please Log in to join the conversation.
5 years 4 months ago #211036
by rodw
Replied by rodw on topic New Project with Mesa 7I96 and THCAD-05
It does not seem you have sorted out the buildbot commands discussed with Phill earlier in this thread. Linux does not know where to look for linuxcnc files.
Please Log in to join the conversation.
5 years 4 months ago #211038
by phillc54
Replied by phillc54 on topic New Project with Mesa 7I96 and THCAD-05
Are you getting the latest version now when you run LinuxCNC?
Open Synaptic Package Manager, click Search at the top tight and enter linuxcnc as the search term. It should show all available linuxcnc packages.
Open Synaptic Package Manager, click Search at the top tight and enter linuxcnc as the search term. It should show all available linuxcnc packages.
Please Log in to join the conversation.
5 years 4 months ago #211054
by TexasCNC
Replied by TexasCNC on topic New Project with Mesa 7I96 and THCAD-05
ok i had the rest of the packages unchecked and only did the 2 files that i edited. I was abe now to run that command here is what i got now:
carr@carr-pc:~$ sudo halcompile --install ohmic3.comp
[sudo] password for carr:
Traceback (most recent call last):
File "/usr/bin/halcompile", line 1512, in <module>
main()
File "/usr/bin/halcompile", line 1482, in main
process(f, mode, outfile)
File "/usr/bin/halcompile", line 1336, in process
a, b = parse(filename)
File "/usr/bin/halcompile", line 429, in parse
f = open(filename).read()
IOError: [Errno 2] No such file or directory: 'ohmic3.comp'
carr@carr-pc:~$ sudo halcompile --install ohmic3.comp
[sudo] password for carr:
Traceback (most recent call last):
File "/usr/bin/halcompile", line 1512, in <module>
main()
File "/usr/bin/halcompile", line 1482, in main
process(f, mode, outfile)
File "/usr/bin/halcompile", line 1336, in process
a, b = parse(filename)
File "/usr/bin/halcompile", line 429, in parse
f = open(filename).read()
IOError: [Errno 2] No such file or directory: 'ohmic3.comp'
Please Log in to join the conversation.
Time to create page: 0.530 seconds
