- Posts: 12
- Thank you received: 0
Need help setting up HAL files for MESA THCAD10
I built a CNC plasma table a few years ago and it has been working well overall. I finally decided to get the THC up and running. I have been using it without. I have an Everlast 50 with the CNC port that is a few years old. I purchased a Mesa THCAD10 board and believe I have it wired correctly to the Everlast. I am getting a changing voltage to the THCAD10 while cutting. I should add I am using a Gecko G540 and have added a second parallel port. Also using the PLASMAC GUI.
I cannot for the life of me figure out how to get the HAL and INI files setup. I have read every manual and forum post I could find for a few weeks now and I am about ready to just live with the plasma table the way it is without THC.
I have attached the HAL and INI files along with a pic of an error I am getting. If I comment out the "setp encoder.0.counter−mode 1 and
setp encoder.0.position−scale -1" I can get Linuxcnc to load but the THC doesnt work. Shows 0 volts.
Thank you for any help.
Please Log in to join the conversation.
unless you use the /64 or better /128 division setting on the THCAD
2. You have a strange character (wrong dash) in your setp command:
setp encoder.0.counter−mode 1 (Has a UTF-8 minus sign between counter and mode)
should be
setp encoder.0.counter-mode 1 (Has a standard ASCII dash between counter and mode)
This can happen if you use something other than a text editor
to edit the hal/ini files
Please Log in to join the conversation.
- snowgoer540
- Offline
- Platinum Member
-
- Posts: 2580
- Thank you received: 0
In addition to what PCW said, it looks like you commented out the second half of your encoder assignment. Remove the # from this line:
#net plasmac:arc-voltage-in => plasmac.arc-voltage-in
Or you can do it all on one line:
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
(unless it has a ASCII only mode)
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
- snowgoer540
- Offline
- Platinum Member
-
- Posts: 2580
- Thank you received: 0
CCharles wrote: Idk. but never had a problem with using it for any of my g-code. But I just opened my HAL files in notepad++ with ANSI encoding on. I see what you are saying about those two lines. I have corrected them and will report back. One of the things I am not sure about....Am I correctly telling Linuxcnc to look for the arc.voltage.in at the parallel port 15?
Did you see this post: forum.linuxcnc.org/plasmac/42205-need-he...-mesa-thcad10#205538
Please Log in to join the conversation.
