2 nights ago i did some editing of the files that Icelander provided, it got to late so forgot to copy them to the USB but here is some info:
-there are some lines with DDT that are commented out in THC.hal, they have to be enabled for THC to work, so the lines regarding DDT have to be copied from stepper.hal to hayes_plasma.hal
loadrt ddt count=2
addf ddt.0 servo-thread
addf ddt.1 servo-thread
Also the lines regarding Estop-latch have to be copied there and the e-stop lines at the end of that file have to commented out.
- there are missing provisions for the spindle in the hayes_plasma.hal, so M3 or F9 will not work, they have to be added.
As a side note, it would have been much easier to use the servo version that is located here and just edit the lines concerning the Z axis and the servo to stepper on other axis.
forum.linuxcnc.org/show-your-stuff/34986...nuxcnc-and-proma-thc