Another plasma component...

More
7 years 3 months ago #139911 by docwelch
Replied by docwelch on topic Another plasma component...
Phill,

I'm looking for where the cornerlock function actually exists. Specifically, where I can find the code that shows what it directs the machine to do if it is enabled. I'm curious as to what exactly it does.

Also, I'm sure I have just overlooked it somewhere but I cannot find where plasmac_run.kerf-width-f is defined. I would have thought it would be in plasmac_run.hal but I don't see it there.

Thanks,
Steven

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

More
7 years 3 months ago #139913 by tommylight
Replied by tommylight on topic Another plasma component...
Search for plasmac.comp and have a look there.
Had not time to play with it for the last two months so i do not know if it there for sure, a lot has changed from then.
The following user(s) said Thank You: docwelch

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

More
7 years 3 months ago #139918 by mkardasi
Replied by mkardasi on topic Another plasma component...
Like tommy said it will be plasma.comp if you have the source code. Otherwise, you can look at it in the git repo.

github.com/LinuxCNC/linuxcnc/blob/master...ponents/plasmac.comp

Check out line 965 or so.
The following user(s) said Thank You: tommylight, docwelch

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

More
7 years 3 months ago - 7 years 3 months ago #139935 by phillc54
Replied by phillc54 on topic Another plasma component...

I'm looking for where the cornerlock function actually exists. Specifically, where I can find the code that shows what it directs the machine to do if it is enabled. I'm curious as to what exactly it does.

As mkardasi said

Also, I'm sure I have just overlooked it somewhere but I cannot find where plasmac_run.kerf-width-f is defined. I would have thought it would be in plasmac_run.hal but I don't see it there.

plasmac_run.kerf-width is a HAL pin created by plasmac_run.glade for the Kerf Width SpinButton. The -f denotes the FLOAT pin and there is also a S32 pin -s which is not used.
Last edit: 7 years 3 months ago by phillc54.

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

More
7 years 3 months ago #139937 by rodw
Replied by rodw on topic Another plasma component...
Corner lock is really quite a trivial feature to code. There is a stand alone example I did in the plasma forum here quite a while ago.

Basically you just monitor motion.current-vel and if it falls be low a threshold (say 90% of the original cut velocity), you set a pin to disable the THC until its back where it needs to be. This is one of the things an external THC can't do that sets PLASMAC apart.

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

More
7 years 3 months ago #140102 by docwelch
Replied by docwelch on topic Another plasma component...
Phill,

Because our discussion has turned back to plasmac and away from post-processors, I thought I would move us back to this thread. I've added code to adjust the kerf. Without some real kerf width vs. speed data, it's hard to know if this is really useful or complete overkill. Anyway, here it is. I stayed with your pattern of adjusting all arcs below a certain radius, not just circles.

This will only work with compensated code (no G41.1 or G42.1). I think I could get it to work with uncompensated code but it will require a little more thinking.

There are a couple of other things that Jim Colt writes about improving hole quality - start the lead in at the middle of the hole (maybe easier to set this up in the post-processor than in plasmac) and have the torch turn off exactly where the hole started while still moving (basically continue the arc a little further). I'll see if I can figure out how to do one or both of these. My thinking is that putting these things in plasmac makes a lot of sense as they are clearly plasma specific.

Steven
Attachments:

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

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