New Project with Mesa 7I96 and THCAD-05
02 Jun 2021 06:26 - 02 Jun 2021 06:27 #210972
by TexasCNC
Replied by TexasCNC on topic New Project with Mesa 7I96 and THCAD-05
Attachment not found
Attachments:
Last edit: 02 Jun 2021 06:27 by TexasCNC.
Please Log in or Create an account to join the conversation.
02 Jun 2021 06:29 #210973
by phillc54
Replied by phillc54 on topic New Project with Mesa 7I96 and THCAD-05
Attachments:
Please Log in or Create an account to join the conversation.
02 Jun 2021 12:38 #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 or Create an account to join the conversation.
02 Jun 2021 20:19 #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
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)# --- 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.sudo halcompile --install ohmic3.comp
If a RIP build, drop the sudo
Copy this to your config directory, edit the data as required for your version of the THCAD-5
add this file to your ini file after your main config file[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 or Create an account to join the conversation.
02 Jun 2021 20:27 #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.
sudo apt-get install linuxcnc-uspace-dev
Please Log in or Create an account to join the conversation.
02 Jun 2021 20:35 #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 or Create an account to join the conversation.
02 Jun 2021 23:08 #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 or Create an account to join the conversation.
02 Jun 2021 23:59 - 02 Jun 2021 23:59 #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.
Last edit: 02 Jun 2021 23:59 by phillc54.
Please Log in or Create an account to join the conversation.
03 Jun 2021 04:31 #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 or Create an account to join the conversation.
03 Jun 2021 04:56 #211055
by TexasCNC
Replied by TexasCNC on topic New Project with Mesa 7I96 and THCAD-05
does this mean that it installed?
Please Log in or Create an account to join the conversation.
Time to create page: 0.203 seconds