Cannot get arc-ok in Mode 0

More
03 Dec 2020 11:46 #190955 by tommylight

I disagree, cheap as possible is the reason I came to LinuxCNC originally.

+1
For hobby use, anything over 1.5K will do, but for every day all day use, nothing under 15K will do.
That is building the machine and everything yourself, not buying it, so with a bit of effort it can be brought down to about 10K.
As far as my experience has shown, when buying such machines a general rule is nothing under 30K for a 3X2m table will work, and even that will have some major issues.

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

More
03 Dec 2020 12:38 - 03 Dec 2020 12:39 #190960 by rodw
Replied by rodw on topic Cannot get arc-ok in Mode 0

Unfortunately that is not going to happen. We already had the discussion and they want to go as cheap as possible so using existing plasma source is a must.


Thats the problem. Really the words CNC Plasma cutting and as cheap as possible don't really go together.


I disagree, cheap as possible is the reason I came to LinuxCNC originally.


So did I and I learnt. I'm on my third Plasma cutter now. Its one of the major brands designed for what I ask of it.
At least you started with a Hypertherm plasma with a blowback start even if it was not CNC capable out of the box.

If I was building a machine for a client like the OP is, you would have to assume its intended for industrial use. There is no way I would agree with a course of action that sets me (and the client) up for failure. Sometimes the customer is not always right.

Just make sure you are paid for your time trying to get it going.
Last edit: 03 Dec 2020 12:39 by rodw.

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

More
05 Dec 2020 15:04 #191125 by viesturs.lacis

If I was building a machine for a client like the OP is, you would have to assume its intended for industrial use. There is no way I would agree with a course of action that sets me (and the client) up for failure. Sometimes the customer is not always right.

Just make sure you are paid for your time trying to get it going.


My mistake was not inspecting the plasma source more carefully. I did not take the cover off to check inside, if there are some inputs/outputs to be used for cnc control. I just relied on the fact that it is a Telwin plasma source and I have heard lots of good feedback about that brand.
The customer wanted to go even cheaper - with linear rails made from square tube and simple roller bearings. I convinced them about using Hiwin rails and better steppers/planetary gearbox solution. I could not convince them about acquiring different plasma source.
But at least I managed to get fair budget for my time that I have to spend to set the machine up.

Yesterday I was back there and I have to admit that I have messed up somewhat big time about the THCAD board. When I wrote that I specifically checked for the board to be compatibe with HF plasma source, I was right. Because it is 10V version. But it has lots of resistors soldered in, where I expected to be the voltage divider resistors (I will make actual voltage divider, no problem with that). I checked the invoice from the order and I also checked with different voltage on the board input.
First of all, good news is that the board is still working.
Second of all, I would like to ask, if somebody can explain to me, what does the "arc voltage" number on bottom left corner of Axis UI represent.
I have attached 4 pictures that show encoder velocity and plasmac.arc-voltage-out pins as well as some of the parameters and also you can see that "arc voltage" number on Axis GUI.
THCAD is set for 1/32 frequency division and encoder_scale = 1, so:
1) with 0V input I get encoder velocity = 3730, which matches 120,5/32 = 3,76 kHz
2) with 5V input I get encoder velocity = 17548, which matches ((961,5 - 120,5)/2 + 120,5)/32 = (841/2 + 120,5)/32 = 541/32 = 16,9 kHz
3) with 12V and more on input I get encoder velocity = 31250, which matches 961,5/32 = 30,04 kHz
But plasmac component reports different values on plasmac.arc-voltage-out pin and in Axis GUI.
Plasmac.arc-voltage-out matches the encoder velocity value, but I do not understand, what is that number on the screen. Can somebody, please, explain?
At 0V GUI shows 737, at 5V it shows 545 and at 12V it shows 250. What is that about?

And one more question I have is about reed relays. I was thinking about the arc-ok signal and found this:
linuxcnc.org/docs/2.8/html/plasma/plasma...ide.html#reed-arc-ok

Based on this post:
forum.linuxcnc.org/plasma-laser/35449-an...nt?start=1380#141083
I ordered 2 pieces of these:
www.lemona.lv/?page=item&i_id=c963acd47680841e49df390cf8cccbb1

I just would like to make sure that I understand correctly. 2 inner pins of that relay are for the coil. Do I understand correctly that wrapping around the cable from plasma source will create magnetic field strong enough to switch the contact? And so I should only connect 2 wires to the relay on the pins of the contact?
Attachments:

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

More
05 Dec 2020 15:58 #191129 by Clive S
Replied by Clive S on topic Cannot get arc-ok in Mode 0

And one more question I have is about reed relays. I was thinking about the arc-ok signal and found this:
linuxcnc.org/docs/2.8/html/plasma/plasma...ide.html#reed-arc-ok


If you are using a reed switch like the one in the picture it is from an alarm contact. But I believe you need MODE 1 rather than mode 0
The following user(s) said Thank You: snowgoer540

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

More
05 Dec 2020 17:13 - 05 Dec 2020 17:15 #191139 by snowgoer540

Yesterday I was back there and I have to admit that I have messed up somewhat big time about the THCAD board. When I wrote that I specifically checked for the board to be compatibe with HF plasma source, I was right. Because it is 10V version. But it has lots of resistors soldered in, where I expected to be the voltage divider resistors (I will make actual voltage divider, no problem with that). I checked the invoice from the order and I also checked with different voltage on the board input.

You can change any THCAD to any other THCAD by changing the resistors. On a THCAD-10, all of those resistors are 10K 1% (or better) resistors. If you change them all to 300K 1% (or better) resistors, it will be a THCAD-300


First of all, good news is that the board is still working.

This is to be expected... THCAD-5 and -10 can withstand an overvoltage of 500v indefinitely. THCAD-300 can withstand a 2500V overload, indefinitely. Per the manual (page 4).


Second of all, I would like to ask, if somebody can explain to me, what does the "arc voltage" number on bottom left corner of Axis UI represent.

It represents the arc voltage. Your numbers are out of whack because you have not properly set the scale and offset as Phill described earlier.

I have attached 4 pictures that show encoder velocity and plasmac.arc-voltage-out pins as well as some of the parameters and also you can see that "arc voltage" number on Axis GUI.
THCAD is set for 1/32 frequency division and encoder_scale = 1, so:
1) with 0V input I get encoder velocity = 3730, which matches 120,5/32 = 3,76 kHz
2) with 5V input I get encoder velocity = 17548, which matches ((961,5 - 120,5)/2 + 120,5)/32 = (841/2 + 120,5)/32 = 541/32 = 16,9 kHz
3) with 12V and more on input I get encoder velocity = 31250, which matches 961,5/32 = 30,04 kHz
But plasmac component reports different values on plasmac.arc-voltage-out pin and in Axis GUI.
Plasmac.arc-voltage-out matches the encoder velocity value, but I do not understand, what is that number on the screen. Can somebody, please, explain?
At 0V GUI shows 737, at 5V it shows 545 and at 12V it shows 250. What is that about?

Again, your scale and offset are not correctly set on the config tab.

linuxcnc.org/docs/devel/html/plasma/plas...uide.html#mesa-thcad

See 9.6.4 and use this calculator: jscalc.io/calc/NTr5QDX6WgMThBVb

You need to know ("we" need to know if you want a sanity check):
  1. 0 V frequency from sticker on THCAD
  2. max V frequency from sticker on THCAD
  3. Frequency divider jumper setting
  4. THCAD model
  5. Plasma Machine Voltage Divider Ratio

You then input the Voltage Scale and voltage offset on the config tab (linuxcnc.org/docs/devel/html/plasma/plas...de.html#config-panel)
Last edit: 05 Dec 2020 17:15 by snowgoer540.

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

More
05 Dec 2020 22:44 #191178 by rodw
Replied by rodw on topic Cannot get arc-ok in Mode 0
You have a THCAD-10 by the sound of it. It can only see 0-10 volts. You need to go back to the Mesa THCAD manual and add some scaling resistors in accordance to the provided formulas.

Its all in the plasmac manual as well
linuxcnc.org/docs/2.8/html/plasma/plasma...ng_the_divider_ratio

The following section (9.64) also explains how to set the offset and the scale in the plasmac GUI to correctly report the scaled arc voltage.

The THCAD is a voltage to frequency converter. Using an encoder input is a convenient way to allow that frequency to be read by Linuxcnc. The next part of the puzzle is to use the thcad calibration data to scale that back to a voltage. 3760 is your 0 volt offset, so you need to calculate the scaling value as described above.

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

More
06 Dec 2020 17:05 #191237 by viesturs.lacis
Ok, thank you, I will try tp set the scaling and offsets and then check, if the value gets reported correctly.

Any comments about the reed relay? Will this one work for the "arc-ok" signal? (Yes, I know, that I will have to change to mode=1 for this).

And one more question I have is about reed relays. I was thinking about the arc-ok signal and found this:
linuxcnc.org/docs/2.8/html/plasma/plasma...ide.html#reed-arc-ok

Based on this post:
forum.linuxcnc.org/plasma-laser/35449-an...nt?start=1380#141083
I ordered 2 pieces of these:
www.lemona.lv/?page=item&i_id=c963acd47680841e49df390cf8cccbb1

I just would like to make sure that I understand correctly. 2 inner pins of that relay are for the coil. Do I understand correctly that wrapping around the cable from plasma source will create magnetic field strong enough to switch the contact? And so I should only connect 2 wires to the relay on the pins of the contact?

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

More
06 Dec 2020 21:30 #191259 by tommylight

Any comments about the reed relay?

Yes, it works ! :)

Will this one work for the "arc-ok" signal? (Yes, I know, that I will have to change to mode=1 for this).

That is easy enough to check if you have a DVM, set it to buzzer, connect the wires from the reed to DVM, start the torch :
-should not buzz or show 0 when torch is arcing in mid air but not cutting
-should buzz or show 0 or some value when actually cutting.
The thing with "some value" is, it will show something from 0 to 120 due to it rapidly switching on and off from the unfiltered output of the plasma, but it will work properly for PlasmaC.

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

More
07 Dec 2020 18:42 - 07 Dec 2020 19:04 #191337 by viesturs.lacis
Thank you for your patience for bearing with me about the incorrect arc voltage readings. Today I made voltage divider and tested and the reading seemed more or less correct.
The thing is that I am back at the situation described in the topic - I cannot get "arc ok" signal.
First thing I did after setting up voltage divider and plasmac voltage scale and voltage offset, was manually firing the torch and plotting the arc voltage readings in HalScope (picture "plasma-voltage-manually" in attachement). That way I obtained arc voltage for pilot arc and approximate arc voltage for established arc. It was 135V for pilot arc and 55-65V for established arc.
I also have:
1) in HAL file: setp plasmac.arc-fail-delay 5
2) in Config tab: Fail timeout = 4

At first I tried setting "OK high volts" and "OK low volts" range so that pilot arc is not included, but established arc is included in the range. Then I get "arc lost" error 0,1 seconds after starting pilot arc (pictures of test1 in attachment). That does not make sense to me!

Then just for testing purposes I changed "OK high volts" and "OK low volts" range to include also pilot arc. Then I get "arc lost" error precisely after 2 seconds. That also does not make sense to me. It is obvious that arc was not established at all in this case, but IIRC there is another error message for that. Why did I get "arc lost"? And why after 2 seconds, if I set it to try for at least twice as long?

If the pilot arc gets established, I get "arc lost" immediately also when "OK high volts" and "OK low volts" range include pilot arc voltage.

I would appreciate any ideas...

EDIT: only now I noticed that the file names of pictures are not displayed...
Last edit: 07 Dec 2020 19:04 by viesturs.lacis.

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

More
07 Dec 2020 20:05 #191348 by tommylight
In terminal.
sudo apt-get update
sudo apt-get dist-upgrade
Then use the configurator to UPDATE the existing config.
Test again.

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

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