Advanced Search

Search Results (Searched for: thc)

10 Jun 2014 07:22
Replied by andypugh on topic THC config that works.

THC config that works.

Category: Basic Configuration

What happened to a post by 'landskroner' ??? Now it looks like i'm chatting with myself


I saw it. He might have decided to delete it, or perhaps an evil moderator? But I don't think we have evil moderators. (I aspire to the role)
11 Jun 2014 01:03
Replied by BosniaCNC on topic THC config that works.

THC config that works.

Category: Basic Configuration

Tommylight:
"Bosniacnc did you mange to get it working ? Bosanac jesi uspio da testujes masinu?"

Dear friend,
ESTOP button does not respond, and it drives me crazy! All variants have tried and not to include.
Tomorrow I'll put up here correction in hal file.

Sve sam pokušao i neće da uključi. Limit Z sam stavio pod # i ne reaguje. Sutra ću ti ovde postaviti kopije.
Pozdrav
11 Jun 2014 06:21 - 14 Sep 2020 21:04
Replied by tommylight on topic THC config that works.

THC config that works.

Category: Basic Configuration

Here's a detailed HOWTO for this config, also added to the attachment together with modified gcodetools for this config.
Pasted from the README:
May,26, 2014, Peja, Republic of Kosovo Europe
by Toma

This is a fully functional configuration file for Linuxcnc to be used
with any and all of the "simple THC" systems on sale, like:
-Proma Elektronika Compact THC (tested and verified on production machines)
-Cand CNC LCTHC should work with minor editing of files mentioned and explained below
All that output "UP""DOWN""ARCOK" signals even those that normaly use 2 parallel ports
can be made to work with only 1 parallel port if you can manage the changes in wiring
and change the pins in the config files.

This setup is configured with slightly relaxed timings so can be used even on older
systems and systems with lattency problems with a bit of trial and error.
It is based on the "thc_300" config found bundeled with Linuxcnc but it is heavily
modified to my needs and since in it's original form it does not work due to feed errors.

Some more info.
The config works flawlessly so here are some functions that were already implemented and
some added.

0- IT does not need 2 parallel ports, just a single one. Granted you don't use limit
switches.

1- Absolutely noo need for Z axes anything, so remove anything related to Z axis in Gcode
since it will slow down the execution waiting for it, but it will not efect the axes,
the machine WILL function properly even if you have Z values.

2- The floating switch, if it trips while running in auto mode, it will force an E-stop
and halt the machine so try to make the floating switch as sensitive as posible, if the
nozle dives into material it will stop everything.

3- It will remember last position so even on power loss you can continue exactly where it
left. I added this since where i live power outs are very frequent so it is a life
saver (or material and time saver in this case).

4- If the plasma cutter stops for any reason (mine beeing heat due to running full time
doing 11meter cut 3 second pause and again 11 meters and..........10 hours a day) it
will stop movement and try to fire the torch several times and wait for ARCOK. To
continue just press F9 and do a right click and "run from here" over the highlighted
gcode line. The Z axis will again find the metal and move up and fire the torch and
continue as usual.

5- No need for a post processor at all, exept if you need "lead in and lead out",
so NO G38.2 or whatever, nothing. Everything works with M3, finding the metal, moving
to pierce height firing the torch and moving on.
I have added the "gcodetools" for "inkscape" with modications needed for outputing gcode
with only M3 and M5 for every cut.


Some tips on editing attached files :
-Use a text editor like "gedit" or "vi" or "nano" or "notepad" in windows, do not use
word procesors.
-Add a "#" sign (shift+3) without quotes in front of any line you dont need, and remove
the same sign in front of any line you need.
-Always have a copy of all config files set as "read only" for safety if something goes
wrong during editing.

Before you start, be sure to check the "parport addres" and the output pins for motor
drives in the "thc_parport.hal" file, see picture "thc_parport.hal.png".
The "thc_parport.hal" has only the outputs for motor controls ( step and direction pins )
with added lines for reverse direction of any of the axes if it need be. There are
settings for 4 axes although i use 3. Check your output pins and edit this file based on
your setup. The standard pin order should be (yours may vary) :
-pin 2 Xstep
-pin 3 Xdir
-pin 4 Ystep
-pin 5 Ydir
-pin 6 Zstep
-pin 7 Zdir
etc etc

Next change the pins in the "thc.hal" file to match the "UP","DOWN","ARCOK","TORCH ON" signals.
You need to check for positive or negative input signals and change that based on the break
out board you are using. See picture "thc_hal.png". There are already lines for positive AND
negative type inputs, you just need to omit the ones you don't need and remove # in front
of the ones you need.

Also you need to change the "scale" "velocity" and "acceleration" in "Axes Section" in
the "thc_toma.ini" file to mach your setup. See picture "thc_toma.ini.baseperiod.png" and
"thc_toma.ini.velocity.accel.png".

For "scale" i use "40" since i have full step drives connected to 200 step/rev
(1.8 degre/step) motors attached to 5mm/rev ballscrews. This is simple
math: steps per rev/mm per rev, in my case 200/5=40.

For "velocity" use anything between 30 and 100 that your setup can handle without
loosing steps or stalling. The value is mm per second so 30 is 1800mm/minute
and 100 is 6000mm/minute.
FYI do this for each AXIS separatly or just use a value that is below the maximum
your setup can handle to be on the safe side. For actual cutting on a plasma the
maximum usable speed is about 4200mm/minute for cutting a 1mm thick mild steel plate,
in this case that would be a value of 70 for "velocity".

For "acceleration", again depending on your setup, put 300 to 800, that is mm/s squared,
but for geting sharp corners you need at least 500 if cutting under 3mm thick
plates, 300 for 4 to 6mm thick plates and 100 if cutting anything over 10mm. But if
your setup can handle 300 and above just leave it there, do not change this.

This config also remembers last machine position so if the machine is not moved while
powered off, you can continue from where it left. This is done since where i live
power outs are a normal occurence.

Regards,
Tom
15 Jun 2014 04:43
Replied by tommylight on topic THC config that works.

THC config that works.

Category: Basic Configuration

Tommylight:
"Bosniacnc did you mange to get it working ? Bosanac jesi uspio da testujes masinu?"

Dear friend,
ESTOP button does not respond, and it drives me crazy! All variants have tried and not to include.
Tomorrow I'll put up here correction in hal file.

Sve sam pokušao i neće da uključi. Limit Z sam stavio pod # i ne reaguje. Sutra ću ti ovde postaviti kopije.
Pozdrav


Gde nestade????
Did you download the new files ? give it a try and let me know how it goes.
15 Jun 2014 05:07
Replied by BosniaCNC on topic THC config that works.

THC config that works.

Category: Basic Configuration

Here I am (online). I installed version 2.6 and I see how it works.
I just set up the configuration of the EDM Charmilles Roboform 400,
View:
www.linuxcnc.org/index.php/english/forum...form-400-sinking-edm
Regards!

P.S. Moram tvoj fajl ponovo snimiti i pokušati pokrenuti ono dugme.
01 Jul 2014 17:38
Replied by bokorugro_111 on topic THC problem

THC problem

Category: CNC Machines

Hello!

Sorry, but We had to hold up this project.
Of course we simmulated all the needed signal.

I do not have any other idea.

Thanks,
Csaba
01 Jul 2014 20:04
Replied by PCW on topic THC problem

THC problem

Category: CNC Machines

As Rick G said its looks like the correction direction is wrong.
If this is wrong Z will aways "runaway" from the setpoint
instead of following it when the THC is enabled
01 Jul 2014 20:08
Replied by bokorugro_111 on topic THC problem

THC problem

Category: CNC Machines

How can I modified the direction of the THC correction?
01 Jul 2014 20:34
Replied by PCW on topic THC problem

THC problem

Category: CNC Machines

Its easy enough to fix the feedback direction (inverting the Direction pin is a simple way)
but this will also reverse the Z commanded position from Motion.

This may work:

Reverse the Z direction by inverting the direction pin (so feedback is correct)
This can be done in HAL

Reverse the Z axis scale (OUTPUT_SCALE) so Motion is correct


I would set the correction velocity very slow for testing, then verify
that if the setpoint voltage is higher than the torch voltage, the torch moves up
and vice versa
02 Jul 2014 13:35
Replied by sneci on topic THC problem

THC problem

Category: CNC Machines

Sorry I am not a professional user. Can You detailed it how can I do that?
02 Jul 2014 15:38
Replied by Rick G on topic THC problem

THC problem

Category: CNC Machines

You could also try changing the sign of

thc.correction-vel

thc.correction-vel float rw

The amount of change in user units per period to move Z to correct


Rick G
04 Jul 2014 18:06
Replied by bokorugro_111 on topic THC problem

THC problem

Category: CNC Machines

Hello!

I tied to cut whith the changed thc.correction-vel parameter (it was 0.01 and modified -0.01).
Cutting velocity is betveen 2400-1680mm/min.

The THC settings:
Vel tolerance: 1500
volt: 79
volts tolerance: 1

The correction direction is changed, but result is the same that it was.
The head is only rised or only sinked.

I wached the arc volt in the hal config. It seems good (It was neer to the value given by the Hypertherm).

Can be that the correction velocity is too slow?

Thanks,

Csaba
04 Jul 2014 21:26 - 04 Jul 2014 21:53
Replied by PCW on topic THC problem

THC problem

Category: CNC Machines

When you say the result is the same do you mean that the feedback does not work?
(the the Z axis down not move down when the torch voltage is too high or up when the torch voltage is too low)

It was clearly backwards before since Z moved up when the voltage was already too high

Can you plot whats happening with Halscope on these pins when you do your trial cut?

thc.arc-ok
thc.z-pos-out
thc.volts
thc.vel-status

BTW a correction velocity of .01 (or -.01) is 10 mm/s (at 1 KHz servo thread)

Note that there is no acceleration limit other than the
Z stepgens maxaccel parameter so this must be set appropriately
05 Jul 2014 18:49
Replied by Rick G on topic THC problem

THC problem

Category: CNC Machines

As PCW stated a Halscope will give a better idea of what is going on.

After reading this again...

Test 1: volt setting is 135V, Velocity tolerance 5, Volt tolerance 1
Result: head is crashed into the plate, thc.volts is changed betwen 100-115V, thc.zpos-out is below -30 after a 100mm cutting.

Test 2: volt setting is 100V, Velocity tolerance 5, Volt tolerance 1
Result: head is rised, thc.volts is changed betwen 120-136V,

Test 3: volt setting is 124V, Velocity tolerance 5, Volt tolerance 1
Result: head is crashed into the plate, thc.volts is changed betwen 124-135V, thc.zpos-out is below -30


If test 1 started at 100V and went to 115V the voltage was going in the right direction, the head was moving in the wrong direction as PCW has stated.
But if the head was moving down the voltage of the plasma cutter should also be going down.

Test 2 looks like it is just going the wrong way.

Test 3 also looks like the voltage is again going in the wrong direction for what the head is doing.

What happens if you set the voltage tolerance to a really high number, say 50?

Rick G
08 Jul 2014 12:18
Replied by bokorugro_111 on topic THC problem

THC problem

Category: CNC Machines

Hello!

I attached two picture.

Screenshot_1 is made during the cutting.

The other is showed that if I disable THC and enable again the Zpos-in and Zpos-out will be different. Is it correct?

I tried to set the voltage tolerance 50, but the head also go down.

Thanks!
Csaba
Displaying 166 - 180 out of 5091 results.
Time to create page: 2.808 seconds
Powered by Kunena Forum