THC Up Down Simulator

More
13 years 5 months ago #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.

Attachment not found



In order to use this simulation you will have to install the thcud.comp that is attached to this message.
Code:
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

Please Log in to join the conversation.

More
13 years 3 months ago #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 to join the conversation.

More
13 years 3 months ago #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 to join the conversation.

More
13 years 2 weeks ago #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 to join the conversation.

More
13 years 2 weeks ago #39950 by BigJohnT
Replied by BigJohnT on topic THC Up Down Simulator
Your welcome

JT

Please Log in to join the conversation.

More
10 years 3 months ago #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 to join the conversation.

More
10 years 3 months ago #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 to join the conversation.

More
10 years 3 months ago #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 to join the conversation.

More
10 years 3 months ago #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 to join the conversation.

More
10 years 3 months ago #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 to join the conversation.

Time to create page: 0.297 seconds
Powered by Kunena Forum