Flash Mesa board for 2 thcads
-
- 1.5 Star Elite Contributing Member
- Posts: 56
- Joined: Sat Oct 31, 2020 4:44 pm
Flash Mesa board for 2 thcads
What's the process for flashing a 7i96s for 2 thcads. One thcad for ohmic, one for THC. I'm either stupid or making it harder than what it is.
https://forum.linuxcnc.org/27-driver-bo ... le?start=0 -is this the magic command?
https://forum.linuxcnc.org/27-driver-bo ... le?start=0 -is this the magic command?
Precision Plasma Mag 7 gantry
6x12
Mach3
DTHC2
6x12
Mach3
DTHC2
- acourtjester
- 6 Star Elite Contributing Member
- Posts: 7392
- Joined: Sat Jun 02, 2012 6:04 pm
- Location: Pensacola, Fla
Re: Flash Mesa board for 2 thcads
I used a the 7I78E card on my controller, did you download the files from Mesa that has all the card files. Its been a while but after that there is another step that needs to be done. I'm sure other LinuxCNC member here will give you the steps needed. Look up mesaflash instructions
DIY 4X4 Plasma/Router Table
Hypertherm PM65 Machine Torch
Drag Knife and Scribe
Miller Mig welder
13" metal lathe
Small Mill
Everlast PowerTig 255 EXT
Hypertherm PM65 Machine Torch
Drag Knife and Scribe
Miller Mig welder
13" metal lathe
Small Mill
Everlast PowerTig 255 EXT
-
- 1.5 Star Elite Contributing Member
- Posts: 56
- Joined: Sat Oct 31, 2020 4:44 pm
Re: Flash Mesa board for 2 thcads
Yeah I have the board files downloaded from mesa website. Don't know what to do with that firmware file next.
Precision Plasma Mag 7 gantry
6x12
Mach3
DTHC2
6x12
Mach3
DTHC2
-
- 4 Star Member
- Posts: 769
- Joined: Sun Aug 21, 2016 1:49 am
- Location: Brisbane, Australia
- Contact:
Re: Flash Mesa board for 2 thcads
You are on the right track
download and unzip the firmware file from Mesa. there will be one that ends in pl.bit
Then as you found
In your hal file change the number of encoders in this line
Then configure the encoder in hal
download and unzip the firmware file from Mesa. there will be one that ends in pl.bit
Then as you found
Code: Select all
mesaflash --device 7i76e --addr 10.10.10.10 --write ./7i76e_7i76x1_Dpl.bit
Code: Select all
loadrt hm2_eth board_ip="10.10.10.10" config=" num_encoders=3 num_pwmgens=0 num_stepgens=5 sserial_port_0=2xxxx"
Code: Select all
# --- 7i76e ENCODER SETUP FOR OHMIC SENSING---
setp hm2_7i76e.0.encoder.01.counter-mode 1
setp hm2_7i76e.0.encoder.01.filter 1
setp hm2_7i76e.0.encoder.01.scale -1
-
- 1.5 Star Elite Contributing Member
- Posts: 56
- Joined: Sat Oct 31, 2020 4:44 pm
Re: Flash Mesa board for 2 thcads
Is there a specific place I need to put the dpl file after downloading?
Precision Plasma Mag 7 gantry
6x12
Mach3
DTHC2
6x12
Mach3
DTHC2
-
- 4 Star Member
- Posts: 769
- Joined: Sun Aug 21, 2016 1:49 am
- Location: Brisbane, Australia
- Contact:
Re: Flash Mesa board for 2 thcads
no. Just run mesaflash from the same directory.
If you are old enough to remmeber DOS ./ means this folder and ../ means parent folder
NOte I used ./ in my example
If you are old enough to remmeber DOS ./ means this folder and ../ means parent folder

NOte I used ./ in my example
-
- 1.5 Star Elite Contributing Member
- Posts: 56
- Joined: Sat Oct 31, 2020 4:44 pm
-
- 4 Star Member
- Posts: 769
- Joined: Sun Aug 21, 2016 1:49 am
- Location: Brisbane, Australia
- Contact:
Re: Flash Mesa board for 2 thcads
Yeh, just reboot.
-
- 1.5 Star Elite Contributing Member
- Posts: 56
- Joined: Sat Oct 31, 2020 4:44 pm
Re: Flash Mesa board for 2 thcads
To configure ohmic is that something we do in Hal? With the component you wrote? I see no options in pncconf
Precision Plasma Mag 7 gantry
6x12
Mach3
DTHC2
6x12
Mach3
DTHC2
-
- 1/2 Star Elite Contributing Member
- Posts: 26
- Joined: Thu Jun 04, 2020 2:29 pm
Re: Flash Mesa board for 2 thcads
kn612,
You are correct, pncconf does THCAD-based torch height control setup now but not ohmic sensing yet. (at least, not when I set up my machine a few months ago) You need to do that part of setup manually.
I found the ohmic3.comp file on the LinuxCNC forums, with corresponding HAL code. I put the HAL in my custom.hal file so pncconf won't over-write it, and that works great. (no additional hal file references needed in your INI file this way) As I recall, you'll want to give the code a look to ensure (1) that it is using the correct encoder input on your mesa, and (2) you'll want to replace the encoder reading high / low numbers in the code with the actual numbers from the sticker on your THCAD board.
Ensure you have linuxcnc dev installed (package is called linuxcnc-uspace-dev in my case) so that you have the halcompile utility. Then, from the directory where you have saved the ohmic3.comp file, run the following:
You'll find this linuxcnc thread helpful. I think all you need should either be there, or linked from there.
You are correct, pncconf does THCAD-based torch height control setup now but not ohmic sensing yet. (at least, not when I set up my machine a few months ago) You need to do that part of setup manually.
I found the ohmic3.comp file on the LinuxCNC forums, with corresponding HAL code. I put the HAL in my custom.hal file so pncconf won't over-write it, and that works great. (no additional hal file references needed in your INI file this way) As I recall, you'll want to give the code a look to ensure (1) that it is using the correct encoder input on your mesa, and (2) you'll want to replace the encoder reading high / low numbers in the code with the actual numbers from the sticker on your THCAD board.
Ensure you have linuxcnc dev installed (package is called linuxcnc-uspace-dev in my case) so that you have the halcompile utility. Then, from the directory where you have saved the ohmic3.comp file, run the following:
Code: Select all
sudo halcompile --install ohmic3.comp
Shop-built 5x10 table powered by QtPlasmaC
Hypertherm PM 85 machine torch
Lincoln PowerMig 255C
Lincoln Square Wave Tig 255
Hypertherm PM 85 machine torch
Lincoln PowerMig 255C
Lincoln Square Wave Tig 255
-
- 1.5 Star Elite Contributing Member
- Posts: 56
- Joined: Sat Oct 31, 2020 4:44 pm
Re: Flash Mesa board for 2 thcads
Awesome. Thank you guys. Lots of good info, that's why I really like this place.
Precision Plasma Mag 7 gantry
6x12
Mach3
DTHC2
6x12
Mach3
DTHC2
-
- 1.5 Star Elite Contributing Member
- Posts: 56
- Joined: Sat Oct 31, 2020 4:44 pm
Re: Flash Mesa board for 2 thcads
Aright guys, still playing around with configuring ohmic sensing with a thcad. Im stuck at configuring the settings for ohmic. Do I need to actually copy and paste ohmic3.comp into one of the hal files? I attached both hal files and ini in word format along with a prtscreen of the last terminal I used halcompile to install ohmic3.comp. My configs are only set up far enough to jog all the axis and fire the torch at the moment. If anyone has any examples of their thcad ohmic configs I would love to have a look.
- acourtjester
- 6 Star Elite Contributing Member
- Posts: 7392
- Joined: Sat Jun 02, 2012 6:04 pm
- Location: Pensacola, Fla
Re: Flash Mesa board for 2 thcads
I cannot help with your ohmic sensing with a thcad setup as I use a different module. I could not get it to work (my problem not the setup) but am successful with what I use. I use it with both Plasma and router touch offs with LinuxCNC on my table. Very simple to hook up and use, I select it in Pncconf for ohmic sensor using an input pin and done. You can get the module in 5, 12, and 24 volt units for easy powering on the table controller.
https://www.ebay.com/itm/401188750996?var=670761872997
https://www.ebay.com/itm/401188750996?var=670761872997
DIY 4X4 Plasma/Router Table
Hypertherm PM65 Machine Torch
Drag Knife and Scribe
Miller Mig welder
13" metal lathe
Small Mill
Everlast PowerTig 255 EXT
Hypertherm PM65 Machine Torch
Drag Knife and Scribe
Miller Mig welder
13" metal lathe
Small Mill
Everlast PowerTig 255 EXT
-
- 1/2 Star Elite Contributing Member
- Posts: 26
- Joined: Thu Jun 04, 2020 2:29 pm
Re: Flash Mesa board for 2 thcads
Per your screenshot, you have successfully installed the Ohmic3 component. Good job! Now it just needs to be referenced in your custom HAL file. I'll see if I can get you some relevant content from my file soon. My custom.hal file has a bunch more stuff in it -- logic that controls my five-zone downdraft damper system based on gantry X position, logic that turns on my downdraft fan when I cycle start, and keeps it running for 45 seconds after the cycle completes. Fun stuff.
Shop-built 5x10 table powered by QtPlasmaC
Hypertherm PM 85 machine torch
Lincoln PowerMig 255C
Lincoln Square Wave Tig 255
Hypertherm PM 85 machine torch
Lincoln PowerMig 255C
Lincoln Square Wave Tig 255
-
- 1.5 Star Elite Contributing Member
- Posts: 56
- Joined: Sat Oct 31, 2020 4:44 pm
Re: Flash Mesa board for 2 thcads
Tom, I will go to the optoisolated relays and diode ohmic setup if I struggle with hypersensing. Bought all the mesa hardware, need to give it a go first. I'm close, think it's just a couple things in the HAL file for everything to talk to each other. It's my limitations with Linux and coding at the moment. Pncconf makes it easy with the graphical interface but anything to do with the terminal window is an uphill battle but it's getting easier as I get more familiar with it.
Caretech, I would really appreciate being able to compare HAL files. We need a topic in the Linux part of this forum for plasma HAL examples. That would really help guys like me with limited code/Linux experience but are skilled on the hardware/fabrication side of a diy table.
Caretech, I would really appreciate being able to compare HAL files. We need a topic in the Linux part of this forum for plasma HAL examples. That would really help guys like me with limited code/Linux experience but are skilled on the hardware/fabrication side of a diy table.
Precision Plasma Mag 7 gantry
6x12
Mach3
DTHC2
6x12
Mach3
DTHC2
- acourtjester
- 6 Star Elite Contributing Member
- Posts: 7392
- Joined: Sat Jun 02, 2012 6:04 pm
- Location: Pensacola, Fla
Re: Flash Mesa board for 2 thcads
I am in a similar place with LinuxCNC, it is well worth the effort getting it functional, QTPlasmaC has nice features. I to bought the Mesa board for the Ohmic circuit but could not get the software to go. I had used the module on other tables and software so lazy way out when with it. Works so well I may not change it out.
have fun
Tom
have fun
Tom
DIY 4X4 Plasma/Router Table
Hypertherm PM65 Machine Torch
Drag Knife and Scribe
Miller Mig welder
13" metal lathe
Small Mill
Everlast PowerTig 255 EXT
Hypertherm PM65 Machine Torch
Drag Knife and Scribe
Miller Mig welder
13" metal lathe
Small Mill
Everlast PowerTig 255 EXT