THC doesent work when G code is running

More
2 months 2 weeks ago #348830 by rodw
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
2 months 2 weeks ago - 2 months 2 weeks ago #348831 by GFC
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: 2 months 2 weeks ago by GFC.

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

More
2 months 2 weeks ago #348833 by rodw
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
2 months 2 weeks ago #348835 by GFC
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.

More
2 months 2 weeks ago #348837 by rodw
have you chosen the correct mode in plasmac? refer docs

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

More
2 months 2 weeks ago #348839 by PCW
Sorry I missed the analog stuff in the hal file.

One thing you might do is (with LinuxCNC running)

1. Without gcode running:

halcmd show pin plasmac  > nogcode.txt

2. With gcode running:

halcmd show pin plasmac  > gcode.txt

and then compare the two files.


 

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

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