THC - out of ideas

More
03 Feb 2022 22:46 #233921 by rodw
Replied by rodw on topic THC - out of ideas
Check the THC enable button is enabled in the GUI. IF it is, sounds like you are missing a pin connection somewhere.
Slow down on corners is expected and unavoidable due to laws of physics.
There are settings to disable the THC on a velocity slowdown.

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

More
04 Feb 2022 08:08 - 04 Feb 2022 11:54 #233951 by samforsey12345
Replied by samforsey12345 on topic THC - out of ideas
Hey Rod - yep thc is enabled on the gui.

Any idea what pin i'm missing? Perhaps i should just do a complete reinstall of linuxcnc and qtplasmac and use the config wizards and hope that fixes it.

Yep that was my understanding too. It can only accelerate at a limited rate, it can't go from 100-0-100 in different directions instantly.

Thank you.

Sam
Last edit: 04 Feb 2022 11:54 by samforsey12345.

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

More
06 Mar 2022 17:44 #236520 by samforsey12345
Replied by samforsey12345 on topic THC - out of ideas
Hi guys - trying to do update now.

Ive done sudo apt-update and sudo apt dist-upgrade with no problems

I have then uninstalled all linuxcnc in synaptic package manager.

I have then set my repositories to  deb and deb-src buildbot.linuxcnc.org/ buster master-rtpreempt 

I then reload and have options of linuxcnc packages to install, however i get a whole host of depends: errors and cannot reinstall a package.

I have tried uspace, uspace-dbgsym, uspace-dev and none of them will install

Are the repositories not working at the moment or have i done some other cock-up?

Thanks
Sam

 

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

More
06 Mar 2022 21:51 #236533 by phillc54
Replied by phillc54 on topic THC - out of ideas
What Linux distribution are you using?

The packages on Buildbot for master branch are only for Debian Buster or equivalents.

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

More
07 Mar 2022 06:57 #236568 by rodw
Replied by rodw on topic THC - out of ideas
Well if you want to go with the bleeding edge, you can install linuxcnc from the debian repositories as follows:
open a terminal
sudo apt install geany curl
sudo geany /etc/apt/sources.list
make sure any lines containing cd are commented out with a #
replace any reference to bullseye, buster or stable with unstable eg:

deb http://deb.debian.org/debian/ unstable main non-free contrib
deb-src http://deb.debian.org/debian/ unstable main non-free contrib

sudo apt update
sudo apt full-upgrade
sudo apt install linuxcnc-uspace linuxcnc-uspace-dev mesaflash
reboot
type uname -a  (to check PREEMPT-RT kernel is running as its installed by the install)
Linuxcnc should be in the menus or open a terminal and type: linuxcnc

Note that changes using unstable should be replaced with testing (Debian 12 Bookworm) when Linuxcnc gets there (soon)

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

More
07 Mar 2022 07:01 - 07 Mar 2022 07:02 #236569 by rodw
Replied by rodw on topic THC - out of ideas
I tested this out last night and it was flawless.
I started with Debian Bullseye.
I was also able to install the ethercat master from another repo but that's another story!
Tested as working on my ethercat machine.
I figured that with the controls Debian has around code entering their repos, the risk from having issues with the unstable branch is minimal
Last edit: 07 Mar 2022 07:02 by rodw.

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

More
07 Mar 2022 14:13 #236580 by robertspark
Replied by robertspark on topic THC - out of ideas
will the debian build in the debian repositories become outdated over time?

I know that some stuff such as I think XFCE tend to run a version behind in the repositories. "bleeding edge" is running from git clone whether RIP / local deb build + install as there is no guarantee it will work every time you update which is the essence of a development version..... sometimes it works and sometimes not.

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

More
07 Mar 2022 22:01 #236607 by phillc54
Replied by phillc54 on topic THC - out of ideas
At this stage it will, as it is not yet being updated.

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

More
13 Mar 2022 12:45 - 13 Mar 2022 12:51 #237109 by samforsey12345
Replied by samforsey12345 on topic THC - out of ideas
Okay guys, I'm back.

Thanks for all the advice. I am now on debian 11.2 and QTplasmaC is updated to the Version v1.221.165.


I have rebuilt my configs, just going through the initial tests. I can happily home all axes, I can pulse the torch (to which arc voltage is then visible on the gui).

I can probe test, but as soon as the float switch is activated linuxCNC crashes and i get the following error message:
 
Traceback (most recent call last):
File "/usr/share/qtvcp/screens/qtplasmac_4x3/qtplasmac_4x3_handler.py", line 2321, in <lambda>
self.w.led_float_switch.hal_pin.value_changed.connect(lambda v:self.jog_inhibit_changed(v, 'float switch'))
File "/usr/share/qtvcp/screens/qtplasmac_4x3/qtplasmac_4x3_handler.py", line 1901, in jog_inhibit_changed
if self.isJogging[axis]:
KeyError: 3

I can hit retry but then the same thing happens again. Initially my float switch was inverted, and always on. But having added -not to the input it now works as it should, the LED lighting up only when it is activated.

Any ideas peeps? thanks so much in advance,

Sam
 
Last edit: 13 Mar 2022 12:51 by samforsey12345.

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

More
13 Mar 2022 18:25 #237139 by snowgoer540
Replied by snowgoer540 on topic THC - out of ideas
Update.  That specific issue was fixed with version .166.

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

Moderators: snowgoer540
Time to create page: 0.198 seconds
Powered by Kunena Forum