THC Up Down Simulator

More
19 May 2013 19:03 - 19 May 2013 19:05 #34387 by BigJohnT
I created a THC (Torch Height Control) Up Down simulator based on the Axis simulator.

This simulation is to demonstrate how the thcud component works with an Up Down Plasma THC device.



In order to use this simulation you will have to install the thcud.comp that is attached to this message.
if you don't have dev installed open a terminal and say

sudo apt-get install linuxcnc-dev

to install open a terminal and cd to where the file is and use the following command

sudo comp --install thcud.comp

Example terminal session
john@zotac:~$ cd linuxcnc/thcud
john@zotac:~/linuxcnc/thcud$ sudo comp --install thcud.comp
[sudo] password for john: 
make KBUILD_EXTRA_SYMBOLS=/usr/realtime-2.6.32-122-rtai/modules/linuxcnc/Module.symvers -C /usr/src/linux-headers-2.6.32-122-rtai SUBDIRS=`pwd` CC=gcc V=0 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-122-rtai'
  CC [M]  /tmp/tmpcdtSzo/thcud.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/tmpcdtSzo/thcud.mod.o
  LD [M]  /tmp/tmpcdtSzo/thcud.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-122-rtai'
cp thcud.ko /usr/realtime-2.6.32-122-rtai/modules/linuxcnc/
john@zotac:~/linuxcnc/thcud$ 

JT
Attachments:
Last edit: 19 May 2013 19:05 by BigJohnT.

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

More
28 Jul 2013 14:07 #37131 by bdrotaru
Replied by bdrotaru on topic THC Up Down Simulator
is there a way to modify THC300 configuration to work with one paralel port?

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

More
28 Jul 2013 20:16 #37159 by BigJohnT
Replied by BigJohnT on topic THC Up Down Simulator

bdrotaru wrote: is there a way to modify THC300 configuration to work with one paralel port?


I have no clue, the THC300 configuration is so complicated that only one person in the world AFAIK has made it work and that was the author. It really should not be part of LinuxCNC anymore... IMHO.

JT

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

More
16 Oct 2013 14:12 #39938 by newbynobi
Replied by newbynobi on topic THC Up Down Simulator

It really should not be part of LinuxCNC anymore... IMHO.


I do agree!
Also some other stuff should go away ore be placed in the correct position.
There are several sim configs in the config folder, insteadt of being in config/sim

Tahnks for the files!

Norbert

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

More
16 Oct 2013 17:45 #39950 by BigJohnT
Replied by BigJohnT on topic THC Up Down Simulator
Your welcome

JT

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

More
21 Jul 2016 20:41 #77793 by beauxnez
Replied by beauxnez on topic THC Up Down Simulator
Thank you for this tutorial, but when I type the command I have an error?

manu@debian:~/linuxcnc/thcud$ sudo comp --install thcud.comp
sudo: comp: command not found
manu@debian:~/linuxcnc/thcud

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

More
22 Jul 2016 14:47 #77832 by beauxnez
Replied by beauxnez on topic THC Up Down Simulator
hello I have to type that operate
  sudo halcompile --install thcud.comp
but I did not toujour thc part, I have rebooted the computer but nothing
t is it something else to do?
I have to copy the file in .comp home / manu / linuxcnc / thcud
I have linuxcnc 2.7.4 debian

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

More
22 Jul 2016 14:57 #77836 by andypugh
Replied by andypugh on topic THC Up Down Simulator
Can you paste the complete output of the sudo halcompile --install thcud.comp command?

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

More
22 Jul 2016 15:15 #77841 by beauxnez
Replied by beauxnez on topic THC Up Down Simulator
manu@debian:~$ cd linuxcnc
manu@debian:~/linuxcnc$ cd thcud
manu@debian:~/linuxcnc/thcud$ sudo halcompile --install thcud.comp
[sudo] password for manu:
make KBUILD_EXTRA_SYMBOLS=/usr/realtime-3.4-9-rtai-686-pae/modules/linuxcnc/Module.symvers -C /usr/src/linux-headers-3.4-9-rtai-686-pae SUBDIRS=`pwd` CC=gcc V=0 modules
make[1]: entrant dans le répertoire « /usr/src/linux-headers-3.4-9-rtai-686-pae »
CC [M] /tmp/tmpiIUt81/thcud.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/tmpiIUt81/thcud.mod.o
LD [M] /tmp/tmpiIUt81/thcud.ko
make[1]: quittant le répertoire « /usr/src/linux-headers-3.4-9-rtai-686-pae »
cp thcud.ko /usr/realtime-3.4-9-rtai-686-pae/modules/linuxcnc/
manu@debian:~/linuxcnc/thcud$

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

More
22 Jul 2016 22:14 #77858 by BigJohnT
Replied by BigJohnT on topic THC Up Down Simulator
Are you trying to add thcud to a very old version of LinuxCNC or EMC or did you modify it? It's been in LinuxCNC since 2.6 or so... if you modified it pick a new name.

JT

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

Time to create page: 0.148 seconds
Powered by Kunena Forum