New Project with Mesa 7I96 and THCAD-05

More
02 Jun 2021 06:26 - 02 Jun 2021 06:27 #210972 by TexasCNC

Attachment not found

File Attachment:

File Name: lastcnc_20...02-2.ini
File Size:9 KB
Attachments:
Last edit: 02 Jun 2021 06:27 by TexasCNC.

Please Log in or Create an account to join the conversation.

More
02 Jun 2021 06:29 #210973 by phillc54
try this as your hal file:

File Attachment:

File Name: lastcnc.hal
File Size:10 KB
Attachments:

Please Log in or Create an account to join the conversation.

More
02 Jun 2021 12:38 #210993 by TexasCNC
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.

More
02 Jun 2021 20:19 #211023 by TexasCNC

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 type
sudo halcompile --install ohmic3.comp
You may need to install the linuxcnc dev tools to do this.
If a RIP build, drop the sudo

File Attachment:

File Name: ohmic3_202...-28.comp
File Size:7 KB


Copy this to your config directory, edit the data as required for your version of the THCAD-5

File Attachment:

File Name: spaceship_...5-28.hal
File Size:1 KB


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.

More
02 Jun 2021 20:27 #211024 by rodw
if you type halcompile on the command line, is the program found?
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.

More
02 Jun 2021 20:35 #211026 by TexasCNC
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:~$

Please Log in or Create an account to join the conversation.

More
02 Jun 2021 23:08 #211036 by rodw
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.

More
02 Jun 2021 23:59 - 02 Jun 2021 23:59 #211038 by phillc54
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.
Last edit: 02 Jun 2021 23:59 by phillc54.

Please Log in or Create an account to join the conversation.

More
03 Jun 2021 04:31 #211054 by TexasCNC
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'

Please Log in or Create an account to join the conversation.

More
03 Jun 2021 04:56 #211055 by TexasCNC
does this mean that it installed?

Please Log in or Create an account to join the conversation.

Time to create page: 0.108 seconds
Powered by Kunena Forum