- Hardware & Machines
- CNC Machines
- Plasma & Laser
- Migration from Mach3 to QtPlasmaC + DIY THC with Arduino
Migration from Mach3 to QtPlasmaC + DIY THC with Arduino
- MTTI
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 10
- Thank you received: 3
12 Feb 2025 20:42 - 13 Feb 2025 08:23 #321380
by MTTI
Migration from Mach3 to QtPlasmaC + DIY THC with Arduino was created by MTTI
Hello everyone,
I built a plasma cutting table (2500x1250mm) three years ago for my business needs, and so far, it has given me great satisfaction.For the past few weeks, I have been upgrading it because, until now, it was running in a limited way due to Mach3.
Having had some experience with LinuxCNC (EMC) several years ago, I decided to convert it using QtPlasmaC.
QtPlasmaC has allowed me, among other things, to:
I am using an analog input of an Arduino UNO to measure the arc voltage, which is then sent to the PC via "USB".
A Python script retrieves the value in "real time" and creates a HAL pin that can be connected to QtPlasmaC.
I am using:
The Arduino sends a smoothed value every 100ms and is particularly stable.
This allows me to configure QtPlasmaC in Mode 1 (using Arc OK from the Powermax) and let QtPlasmaC precisely control the torch height.
Here are the first tests of the THC, with a sheet placed on spacers:
Position of the sheet during cut:
First produced part:
Another improvement I made: a cross-shaped laser pointer:
Now, I still need to fine-tune the settings, especially the axes, which are causing me a lot of trouble and failures due to the "following error.", connect the laser pointer to the controller, then, I need to restore the electrical cabinet.I will send you photos of the whole setup once it's finished.
Edit: The scripts are now as an attachment
I built a plasma cutting table (2500x1250mm) three years ago for my business needs, and so far, it has given me great satisfaction.For the past few weeks, I have been upgrading it because, until now, it was running in a limited way due to Mach3.
Having had some experience with LinuxCNC (EMC) several years ago, I decided to convert it using QtPlasmaC.
QtPlasmaC has allowed me, among other things, to:
- Have a real Z probing (precise and configurable)
- Implement proper plasma cutting management
- Use THC
- ...
- Industrial PC "Hystou" ( link )
- 17" industrial touchscreen monitor (4:3)
- USC Board from PICO Systems ( link )
- 4x "STEPPERONLINE" DM860T_V3.0 drivers ( link )
- 4x stepper motors with encoders
- X and Z axis driven by ball screws (5mm pitch)
- Y axis driven by belt
- Plasma source: Hypertherm Powermax 105 SYNC
I am using an analog input of an Arduino UNO to measure the arc voltage, which is then sent to the PC via "USB".
A Python script retrieves the value in "real time" and creates a HAL pin that can be connected to QtPlasmaC.
I am using:
- An Arduino UNO
- An isolator/converter ( link )
The Arduino sends a smoothed value every 100ms and is particularly stable.
This allows me to configure QtPlasmaC in Mode 1 (using Arc OK from the Powermax) and let QtPlasmaC precisely control the torch height.
Here are the first tests of the THC, with a sheet placed on spacers:
Position of the sheet during cut:
First produced part:
Another improvement I made: a cross-shaped laser pointer:
Now, I still need to fine-tune the settings, especially the axes, which are causing me a lot of trouble and failures due to the "following error.", connect the laser pointer to the controller, then, I need to restore the electrical cabinet.I will send you photos of the whole setup once it's finished.
Edit: The scripts are now as an attachment
Attachments:
Last edit: 13 Feb 2025 08:23 by MTTI. Reason: Formatting and adding the scripts as attachments.
The following user(s) said Thank You: tommylight, Clive S, thefabricator03
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 19695
- Thank you received: 6649
12 Feb 2025 21:44 #321384
by tommylight
Replied by tommylight on topic Migration from Mach3 to QtPlasmaC + DIY THC with Arduino
1. Nice build and nice cuts
2. why is there a hanging 9V battery on the torch?
2. why is there a hanging 9V battery on the torch?

Please Log in or Create an account to join the conversation.
- MTTI
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 10
- Thank you received: 3
12 Feb 2025 21:52 #321385
by MTTI
Replied by MTTI on topic Migration from Mach3 to QtPlasmaC + DIY THC with Arduino
Hi
Thanks
The 9V battery is for the laser pointer, while waiting for it to be connected to an output of the USC controller board (the most tedious part is running the cable through the cable track).
Thanks

The 9V battery is for the laser pointer, while waiting for it to be connected to an output of the USC controller board (the most tedious part is running the cable through the cable track).
Please Log in or Create an account to join the conversation.
- snowgoer540
-
- Offline
- Moderator
-
Less
More
- Posts: 2398
- Thank you received: 787
13 Feb 2025 00:09 #321400
by snowgoer540
Replied by snowgoer540 on topic Migration from Mach3 to QtPlasmaC + DIY THC with Arduino
I think it’s worthwhile for you to please post the python and arduino scripts. It’s nice to have options, and people can learn from and possibly improve upon your work that way.

Please Log in or Create an account to join the conversation.
- MTTI
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 10
- Thank you received: 3
13 Feb 2025 08:23 #321424
by MTTI
Replied by MTTI on topic Migration from Mach3 to QtPlasmaC + DIY THC with Arduino
Done

Please Log in or Create an account to join the conversation.
Moderators: snowgoer540
- Hardware & Machines
- CNC Machines
- Plasma & Laser
- Migration from Mach3 to QtPlasmaC + DIY THC with Arduino
Time to create page: 0.135 seconds