THC doesent work when G code is running

More
16 Aug 2026 15:50 #348791 by GFC
while doing the first tests on my machine I noticed that THC doesnt work when the machine is running G code
I looked around and did some tests and it does work and move the z axis when I start a manual cut with f9 and jog with the arrow keys

QtplasmaC is getting arc voltage and arc ok signals 
the G code im testing is the metric wrench and things from the conversational panel
the THC enabled light turns on but not the active light
it looks like the machine is getting up to the feed speed 

how should i troubleshoot this and am I missing something obvious?

Please Log in or Create an account to join the conversation.

More
17 Aug 2026 03:22 #348799 by rodw
Replied by rodw on topic THC doesent work when G code is running
Have you enabled the THC in the GUI?
The following user(s) said Thank You: arcsynapse89

Please Log in or Create an account to join the conversation.

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
17 Aug 2026 03:39 #348800 by tommylight
Replied by tommylight on topic THC doesent work when G code is running
Disable "mesh" mode.

Please Log in or Create an account to join the conversation.

More
17 Aug 2026 15:57 #348815 by GFC
Replied by GFC on topic THC doesent work when G code is running
THC is enabled in the GUI and mesh mode is turned off

left the config attached in case it might be of any use
Attachments:

Please Log in or Create an account to join the conversation.

More
17 Aug 2026 22:06 #348822 by PCW
Replied by PCW on topic THC doesent work when G code is running
I don't see anything in the hal  files that reference the THC or plasma voltage or
source for plasma voltage information at all.

Please Log in or Create an account to join the conversation.

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
18 Aug 2026 00:44 #348825 by tommylight
Replied by tommylight on topic THC doesent work when G code is running

I don't see anything in the hal  files that reference the THC or plasma voltage or
source for plasma voltage information at all.

+1

Please Log in or Create an account to join the conversation.

More
18 Aug 2026 08:19 #348830 by rodw
Replied by rodw on topic THC doesent work when G code is running
There is 
net plasmac:arc-voltage-in <=  lcec.0.3.ain-0-val
so the voltage is provided by an ethercat analog input
and I see the GUI settings of
Arc Voltage Offset = 0.0
Arc Voltage Scale = 300.0

How do you scale the input back to volts?
Do you see a Voltage being displayed?
What I'm seeing is you are multiplying the input value by 300 which does not sound right. 
I would have thought you would be using the voltage divider factor from your plasma cutter. eg if 20:1 you'd multiply by 20.
The other approach would be to scale the voltage outside of QTplasmac and use a scale of 1 which I have used before.
Need to get your voltage correct before looking at thc

Please Log in or Create an account to join the conversation.

More
18 Aug 2026 08:46 - 18 Aug 2026 08:59 #348831 by GFC
Replied by GFC on topic THC doesent work when G code is running
Im using a beckhoff 3102 +-10v analog input so im dividing the arc voltage 30:1 inside the powermax 65, and after the first tests with a bench power supply I realized that the beckhoff module outputs a float value between -1 and +1, given the range I assumed it relates the voltage and the float output value 10:1, so in qtplasmac i combined the two ratios to be 300:1 the cut voltage appears to display right in the tests i have done so far, 200 something volts at ark start and stabilizing at about 130V and that agrees with hyperterm's tables for the parameters im using

edit:
and as I said before thc is working fine when doing a manual cut with the jog keys
 
Last edit: 18 Aug 2026 08:59 by GFC.

Please Log in or Create an account to join the conversation.

More
18 Aug 2026 09:39 #348833 by rodw
Replied by rodw on topic THC doesent work when G code is running
voltages sound about right. Nice to know ethercat is so simple to install for plasma machines.

I'm a bit rusty, it can be a bit cantankerous  on non standard setups, Check the thc is not disabled in the gcode which sounds a likely place to look

Please Log in or Create an account to join the conversation.

More
18 Aug 2026 09:53 #348835 by GFC
Replied by GFC on topic THC doesent work when G code is running
I looked at the code I was using and the thc enable gcode is there, the thc enabled light is on, but not the thc active light thats what confuses me, what are the requirements for it to activate?

Please Log in or Create an account to join the conversation.

Moderators: snowgoer540
Time to create page: 0.295 seconds
Powered by Kunena Forum