THC Up Down Simulator

More
19 May 2013 19:03 - 19 May 2013 19:05 #34387 by BigJohnT
BigJohnT created the topic: THC Up Down Simulator
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.
More
28 Jul 2013 14:07 #37131 by bdrotaru
bdrotaru replied the topic: THC Up Down Simulator
is there a way to modify THC300 configuration to work with one paralel port?
More
28 Jul 2013 20:16 #37159 by BigJohnT
BigJohnT replied the 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
More
16 Oct 2013 14:12 #39938 by newbynobi
newbynobi replied the 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
More
16 Oct 2013 17:45 #39950 by BigJohnT
BigJohnT replied the topic: THC Up Down Simulator
Your welcome

JT
More
06 Mar 2014 12:21 - 15 Mar 2014 23:57 #44476 by Paul
Paul replied the topic: THC Up Down Simulator
.
Last Edit: 15 Mar 2014 23:57 by Paul.
More
21 Jul 2016 20:41 #77793 by beauxnez
beauxnez replied the 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
More
22 Jul 2016 14:47 #77832 by beauxnez
beauxnez replied the 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
More
22 Jul 2016 14:57 #77836 by andypugh
andypugh replied the topic: THC Up Down Simulator
Can you paste the complete output of the sudo halcompile --install thcud.comp command?
More
22 Jul 2016 15:15 #77841 by beauxnez
beauxnez replied the 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$
Moderators: Rick G
Time to create page: 0.105 seconds
Powered by Kunena Forum