Beginner to learn the linuxcnc source code

More
07 May 2021 08:40 #208188 by lzx
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: lzx

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

More
07 May 2021 11:59 #208201 by andypugh

lzx wrote: 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: lzx

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

More
07 May 2021 14:03 - 07 May 2021 14:06 #208216 by lzx
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 lzx.

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

More
07 May 2021 14:13 #208219 by andypugh

lzx wrote: 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: lzx

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

Time to create page: 0.137 seconds
Powered by Kunena Forum