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.
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