Advanced Search

Search Results (Searched for: thc)

16 Dec 2011 08:57
Replied by cncbasher on topic THC question

THC question

Category: StepConf Wizard

their are configurations for Torch height controller within emc , see the examples for THC300
and also this post may help
www.linuxcnc.org/index.php/english/compo...mit=6&start=12#15198

are you connecting via a second parrell port ? , or other card
16 Dec 2011 09:10
Replied by cncbasher on topic THC question

THC question

Category: StepConf Wizard

i am not familiar with that device , but if you have a link to the manual or diagram , we can assist further
if they are just signals , connecting into EMC should not be a difficult task , as their are a few plasma users with torch height controls
of various types working fine
16 Dec 2011 11:09
Replied by BigJohnT on topic THC question

THC question

Category: StepConf Wizard

I wrote an up/down THC comp based on my THC comp. I'll have to find it... ah here it is.

gnipsel.com/shop/plasma/plasma.xhtml

You will have to follow the short instructions to install the comp from here:

linuxcnc.org/docview/html/hal_comp.html#r1_11

John
03 Jan 2012 20:48

Mesa 5i20 Plasma with THC using servos.

Category: Advanced Configuration

I wanted to get a thread started on setting up a 3 axis plasma with THC using the Mesa 5i20 card. I know that there is some documentation with regards to stepper configs however I wanted to see if anyone has had any success using servos and the THCAD from mesa. I have a 3 axis router using servos and the Mesa card, however I wanted to know how I can modify what I have to included THC and what other hardware I will need.

thanks
05 Jan 2012 12:15

Mesa 5i20 Plasma with THC using servos.

Category: Advanced Configuration

tzak wrote:

I wanted to get a thread started on setting up a 3 axis plasma with THC using the Mesa 5i20 card. I know that there is some documentation with regards to stepper configs however I wanted to see if anyone has had any success using servos


Conceptually, and as far as EMC2 is concerned there is no difference. This sort of thing is handled by the "A" in "HAL" (Hardware Abstraction Layer).
Basically any signal that goes to a stepgen in a stepper config just gets sent to a PID in a servo config.
05 Jan 2012 12:24

Mesa 5i20 Plasma with THC using servos.

Category: Advanced Configuration

This is my stepper config using THCAD but like Andy said the only difference is the servos vs steppers part.

gnipsel.com/shop/plasma/plasma.xhtml

John
05 Jan 2012 15:06

Mesa 5i20 Plasma with THC using servos.

Category: Advanced Configuration

Thanks for the reply guys.

I guess my main trouble is configuring what I have working into a plasma system. I have looked at your code John and am just not sure where to start modifying and what I need to leave behind as far as the THC goes. I understand that the stepper vs servo as far as EMC2 is concerned shouldn't really matter. But like I mentioned what should I change/add to the config I already have. This is a slightly modified version of the m5i20 config that was in ver 2.2.1 I believe which I have running a 3 axis system. I attached the files below.

If you can point me in the right direction I would appreciate it.

Thanks

File Attachment:

File Name: Archive.zip
File Size:7 KB
05 Jan 2012 18:22

Mesa 5i20 Plasma with THC using servos.

Category: Advanced Configuration

I'm guessing any sections in the hal files clearly marked THC would be a good place to start...

John
13 Mar 2012 14:37 - 13 Mar 2012 14:38
THC Component was created by BigJohnT

THC Component

Category: HAL

Hi Guys,

A long time ago I cobbled up a THC component to use with my Mesa THC-AD card. It works for the most part, but I know it can work much better if I can incorporate PID into it. I'm kinda stuck and need some help or a push to get this to work with PID. I think it would be simpler from a user stand point to have the PID a part of the component instead of having to use an external PID...

File Attachment:

File Name: thc.comp
File Size:4 KB


Thanks
John
13 Mar 2012 15:35
Replied by PCW on topic THC Component

THC Component

Category: HAL

Maybe a first step to try would be just a simple P loop where you replace
the constant "correction_vel" with the actual voltage error (scaled by PGain)
so the correction is Proportional to the error.

that is, replace this:

if(torch_on && arc_ok && vel_status){ // allow correction
if((volts + voltage_tol) > volts_requested){
offset -= correction_vel;
}
if((volts - voltage_tol) < volts_requested){
offset += correction_vel;
}

with this:

if(torch_on && arc_ok && vel_status){ // allow correction
if abs(volts_requested - volts) > voltage_tol {
offset += (volts_requested - volts)*PGain;
}
}
13 Mar 2012 15:44
Replied by BigJohnT on topic THC Component

THC Component

Category: HAL

Thanks Peter,

I'll give that a try here in a bit.

John
13 Mar 2012 16:54
Replied by PCW on topic THC Component

THC Component

Category: HAL

I _think_ I got the drive direction right so be careful...

Also the next step would be a bound on the velocity,
that is bound the output of the "P" loop = (volts_requested - volts)*PGain;
so large voltage errors dont request greater than some maximum velocity
13 Mar 2012 17:18
Replied by BigJohnT on topic THC Component

THC Component

Category: HAL

It has a floating head so I can't damage it...

Thanks
John
22 Mar 2012 00:45
Replied by tensaiteki on topic THC Component

THC Component

Category: HAL

I hope this is an acceptable thread to put this in...

I'm having trouble getting my HAL file setup correctly with the THC component. I have the touch probe, arc-ok, and THC encoder set up and working, but I'm lost as to how to get the THC to take control of the Z-axis. I'm kind of a HAL n00b as all the other machines I've built only required minor tweaks to the ini files.

Here's the part of the HAL that deals with the Z-axis (obviously I have no idea what I'm doing):
#*******************
#  AXIS Z
#*******************

# Step Gen signals/setup

setp   hm2_5i25.0.stepgen.02.dirsetup        [AXIS_2]DIRSETUP
setp   hm2_5i25.0.stepgen.02.dirhold         [AXIS_2]DIRHOLD
setp   hm2_5i25.0.stepgen.02.steplen         [AXIS_2]STEPLEN
setp   hm2_5i25.0.stepgen.02.stepspace       [AXIS_2]STEPSPACE
setp   hm2_5i25.0.stepgen.02.position-scale  [AXIS_2]STEP_SCALE
setp   hm2_5i25.0.stepgen.02.step_type        0
setp   hm2_5i25.0.stepgen.02.control-type     0
setp   hm2_5i25.0.stepgen.02.maxaccel        [AXIS_2]MAX_ACCELERATION
setp   hm2_5i25.0.stepgen.02.maxvel          [AXIS_2]MAX_VELOCITY

net z-enable     axis.2.amp-enable-out =>  hm2_5i25.0.stepgen.02.enable


# position command and feedback
# hijack position command and feed through thc
net z-pos-cmd thc.z-pos-in <= axis.2.motor-pos-cmd
net thc-pos-cmd thc.z-pos-out => hm2_5i25.0.stepgen.02.position-cmd
net z-pos-fb axis.2.motor-pos-fb <= thc.z-fb-out
#net z-pos-fb     axis.2.motor-pos-fb   <=  hm2_5i25.0.stepgen.02.position-fb
#net z-pos-cmd    axis.2.motor-pos-cmd  =>  hm2_5i25.0.stepgen.02.position-cmd
net z-enable     axis.2.amp-enable-out =>  hm2_5i25.0.stepgen.02.enable

With what I have now, I can start LinuxCNC, jog, home, and run g-code normally but the Z-axis never moves with the voltage (THC is enabled, machine is at velocity, and arc has transferred).

I'll also attach the full INI file. Also, in case it is relevant, I'm running gantrykins (dunno, if it conflicts or something with the THC control).

File Attachment:

File Name: cncplasma.ini
File Size:4 KB
22 Mar 2012 03:10
Replied by PCW on topic THC Component

THC Component

Category: HAL

theres no any indication of the THCs connections here

(man THC shows the basic connections)
Displaying 31 - 45 out of 5068 results.
Time to create page: 2.528 seconds
Powered by Kunena Forum