Beginner to learn the linuxcnc source code

More
07 May 2021 08:40 #208188 by veknic
Hi,
I want to know if linuxcnc can be developed for electrical discharged machining ? If yes, where to start, should I understand the whole source code? And I have looked the source code, each module has many source files and the relationship is too complicated. I don' know how to start, I really need some suggestions.
Thank you for someone tell me how to get started with linuxcnc source code !

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

More
07 May 2021 08:50 #208191 by BeagleBrainz
I'd start reading the Linuxcnc docs, particularly the parts relating to HAL.
The following user(s) said Thank You: veknic

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

More
07 May 2021 11:59 #208201 by andypugh

Hi,
I want to know if linuxcnc can be developed for electrical discharged machining ?


Yes, but I don't think that you need to get in to the source code to do it. Stock LinuxCNC can be used.

Are you looking at sinker EDM or wire EDM?

You might need to write a couple of standalone HAL components, for example to interface with your spark generator.

What is on your feature wish-list? We can tell you if they are already supported, or how to achieve them.
The following user(s) said Thank You: veknic

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

More
07 May 2021 14:03 - 07 May 2021 14:06 #208216 by veknic
Now there is a whole set of EDM machine, which adopts the structure of upper and lower computer, consists of Panasonic EtherCAT
servo driver, stm32 chips, EtherCAT slave IO, etc. I want to replace this system with linuxcnc.

And as we know, it is a characteristic of EDM that the electrode needs to move along a feeding trajectory in a positive or a negative
direction depending on the gap status. So if I need to change the interpolation algorithm of linuxcnc to adapt to EDM characteristic?

For example, to store the interpolation points data so that the electrode can go back along the original trajectory.
Last edit: 07 May 2021 14:06 by veknic.

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

More
07 May 2021 14:13 #208219 by andypugh

So if I need to change the interpolation algorithm of linuxcnc to adapt to EDM characteristic?


If you set the "motion.adaptive-feed" HAL pin to a negative value the path will be run in reverse.
linuxcnc.org/docs/2.8/html/man/man9/motion.9.html#MOTION%20PINS

The following user(s) said Thank You: veknic

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

More
24 Oct 2021 05:33 - 09 Nov 2021 15:29 #224068 by tjtr33
Replied by tjtr33 on topic EDM using external offsets
 

File Attachment:

File Name: sinker101.tar.gz
File Size:56 KB

Here's a kit that will help you work in EDM with Linuxnc.
It is for sinker-edm or EDG or HoleDRill EDM.
The edm path is a single vector.
The cut uses the 'external offsets' feature of LCNC.
The kit has a fake 'gap signal' generator so you dont need hardware to test.
This is very much just a beginning'.
Have Fun
TomP

edit 24oct2021 I seebrowsers do not render my plain SVG correctly.
Inkscape works
and here's .png as well
Attachments:
Last edit: 09 Nov 2021 15:29 by tjtr33. Reason: video and link. chrome chromium ffox dont render svg correctly. so, added png
The following user(s) said Thank You: tommylight, HenkvE, veknic

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

Time to create page: 0.153 seconds
Powered by Kunena Forum