Functionalities for a complex CNC controller October 02, 2017 03:44PM |
Registered: 6 years ago Posts: 8 |
Re: Functionalities for a complex CNC controller October 02, 2017 05:34PM |
Admin Registered: 16 years ago Posts: 13,826 |
Re: Functionalities for a complex CNC controller October 02, 2017 07:57PM |
Registered: 6 years ago Posts: 8 |
Re: Functionalities for a complex CNC controller October 03, 2017 02:44AM |
Registered: 8 years ago Posts: 5,232 |
Re: Functionalities for a complex CNC controller October 03, 2017 03:11AM |
Registered: 7 years ago Posts: 249 |
Re: Functionalities for a complex CNC controller October 03, 2017 04:55AM |
Admin Registered: 16 years ago Posts: 13,826 |
Re: Functionalities for a complex CNC controller October 03, 2017 01:20PM |
Registered: 6 years ago Posts: 8 |
Quote
VDK
The tool-selection could be an "offset" on the rotating tool-head ... the tangential moving vector could be calculated from the last to the next position while importing/generating the G-code or "on the fly" before executing to the next move ...
Quote
o_lampe
Sounds very interesting.
How many endstops does it control? Two for each stepper would be great, or software controlled virtual endstops.
Does it work with encoders ( closed loop ) too?
Quote
prot0typ1cal
Sounds like a cool motion control board (mocon).
1. What kind of servo amplifiers or stepper driver boards will be supported?
2. Do I get a hand wheel jog (manual pulse generator)?
3. What micro controllers are compatible? Arduino?
Re: Functionalities for a complex CNC controller October 04, 2017 05:41PM |
Registered: 11 years ago Posts: 1,049 |
Re: Functionalities for a complex CNC controller October 05, 2017 10:13AM |
Registered: 6 years ago Posts: 8 |
Quote
cozmicray
It is unclear if TRACER is:
hardware electronics
firmware
software
Your mention of RAMPs seems to say
this is firmware on a Mega arduino?
Re: Functionalities for a complex CNC controller October 05, 2017 10:41AM |
Registered: 7 years ago Posts: 257 |
Re: Functionalities for a complex CNC controller October 05, 2017 11:07AM |
Registered: 6 years ago Posts: 8 |
Quote
cwaa
Why not just buy a Smoothie board?
Re: Functionalities for a complex CNC controller October 05, 2017 02:03PM |
Registered: 9 years ago Posts: 14,664 |
Re: Functionalities for a complex CNC controller October 05, 2017 05:17PM |
Registered: 6 years ago Posts: 8 |
Quote
dc42
Have you looked at RepRapFirmware? The current build for the Duet WiFi/Ethernet supports up to 12 motors and 9 axes. The firmware could be compiled to support more drives and axes readily, if you have the hardware to support them.
Quote
dc42
IMO if you really want to control 9 axes, you should forget about trying to do it with 8-bit controllers and firmware.
Re: Functionalities for a complex CNC controller October 05, 2017 05:51PM |
Registered: 7 years ago Posts: 249 |
Re: Functionalities for a complex CNC controller October 05, 2017 05:59PM |
Registered: 6 years ago Posts: 8 |
Re: Functionalities for a complex CNC controller October 05, 2017 06:56PM |
Admin Registered: 16 years ago Posts: 13,826 |
Re: Functionalities for a complex CNC controller October 06, 2017 09:15AM |
Registered: 7 years ago Posts: 257 |
Re: Functionalities for a complex CNC controller October 06, 2017 09:40AM |
Registered: 9 years ago Posts: 14,664 |
Quote
Briztou
Quote
dc42
Have you looked at RepRapFirmware? The current build for the Duet WiFi/Ethernet supports up to 12 motors and 9 axes. The firmware could be compiled to support more drives and axes readily, if you have the hardware to support them.
Hey dc42 !
Nice ! I didn't know this firmware !
Do you know if he can be adapted to non-cartesian geometry?
Re: Functionalities for a complex CNC controller October 06, 2017 09:42AM |
Registered: 9 years ago Posts: 14,664 |
Quote
cwaa
Smoothie can control an unlimited number of steppers.
Re: Functionalities for a complex CNC controller October 06, 2017 11:14AM |
Registered: 11 years ago Posts: 335 |
Re: Functionalities for a complex CNC controller October 08, 2017 03:26PM |
Registered: 7 years ago Posts: 18 |
Re: Functionalities for a complex CNC controller October 08, 2017 04:44PM |
Registered: 6 years ago Posts: 8 |
Quote
JonathanThompson
As a software engineer myself also with embedded experience I find myself wondering: are you wishing to do all this on your own because of the typical "Oh yeah? I cancdo it better!" common to people writing code to do something that already has other readily available solutions that have been looked at and rejected, or because you don't know what already exists?
The thing is, this domain already has many viable solutions and a large number of them are totally open-source and free-to-use, and, even better, are well-tested, proven, and maintained. I won't say that it's impossible that you could do them better, but unless you have a proven track record that says otherwise, it's unwise to claim otherwise, and expect it to work out as anticipated, without it having a far higher cost than you expected. You state you're a poor student, but what I remember from my distant past is that other than a lack of money, the biggest cost as a poor student is that of time: it makes far more sense to reuse and modify something that's been tested than to reinvent the wheel, possibly badly, and take a very long time to do it.
Quote
JonathanThompson
One of the most dangerous potential problems in software development is "Second System Syndrome" which is when people set out to replace an existing application saying "the old thing sucks, it's better to redo it from scratch!" because there's what's visibly documented to the outside in documentation, but what the code actually does almost never matches outside documentation perfectly, but it's the mismatches that make the code work "correctly" in spite of what the external documentation would suggest: the only correct documentation of what the application does and should do will always be the code itself (don't depend on code comments as to how, maybe they explain why something was done, but comments can also get out of date) built with the original compiler, as even changing the compiler (due to compiler changes, intended or otherwise, due to bugs or language changes) often results in unintended changes.
The spirit and goal of Reprap is to build off the work of others, and improve upon it and return that work to the community: it's usually better to learn as much as you can from the mistakes of others before you go and make your own mistakes (most of which have already been made by others) as it will help you and the tech progress faster and cheaper.
Re: Functionalities for a complex CNC controller October 08, 2017 08:24PM |
Registered: 7 years ago Posts: 18 |
Quote
Briztou
Hello JonathanThompson, and thank you for your long reply, that will allow me to clarify my post.
Quote
JonathanThompson
As a software engineer myself also with embedded experience I find myself wondering: are you wishing to do all this on your own because of the typical "Oh yeah? I cancdo it better!" common to people writing code to do something that already has other readily available solutions that have been looked at and rejected, or because you don't know what already exists?
The thing is, this domain already has many viable solutions and a large number of them are totally open-source and free-to-use, and, even better, are well-tested, proven, and maintained. I won't say that it's impossible that you could do them better, but unless you have a proven track record that says otherwise, it's unwise to claim otherwise, and expect it to work out as anticipated, without it having a far higher cost than you expected. You state you're a poor student, but what I remember from my distant past is that other than a lack of money, the biggest cost as a poor student is that of time: it makes far more sense to reuse and modify something that's been tested than to reinvent the wheel, possibly badly, and take a very long time to do it.
For me, this project began as a way to learn C, and to know more about tool machines. I didn't have a great knowledge of existing softwares features, (to be honest I still don't have a great one). Initially a simple 3 dimension controller, I decided to keep developing it, and add new functionalities for two reasons, the knowledge I acquired during development, and the encouraging results I obtained. I didn't lack of time, because this project is the one on which I want to invest my time. The subject passions me, so I don't mind loosing some time for it :-).
Quote
JonathanThompson
One of the most dangerous potential problems in software development is "Second System Syndrome" which is when people set out to replace an existing application saying "the old thing sucks, it's better to redo it from scratch!" because there's what's visibly documented to the outside in documentation, but what the code actually does almost never matches outside documentation perfectly, but it's the mismatches that make the code work "correctly" in spite of what the external documentation would suggest: the only correct documentation of what the application does and should do will always be the code itself (don't depend on code comments as to how, maybe they explain why something was done, but comments can also get out of date) built with the original compiler, as even changing the compiler (due to compiler changes, intended or otherwise, due to bugs or language changes) often results in unintended changes.
The spirit and goal of Reprap is to build off the work of others, and improve upon it and return that work to the community: it's usually better to learn as much as you can from the mistakes of others before you go and make your own mistakes (most of which have already been made by others) as it will help you and the tech progress faster and cheaper.
Let me be clear, my intention is (of course) not to replace actual firmwares, and I do not mean to trash-talk any existing firmware on this topic. My approach is more "Hey that would be a nice feature, let's see if I can do it, and if it can help, perfect". I started this project partly for learning, and the features I implement are responding to my particular needs. But if in adding new functionalities, I can help reprappers, who need to control complex machines, then I think my "loss" of time was worth it :-).
Also, as I said upper, I don't have a great knowledge of existing firmwares. As I didn't want to be orientated by other firmwares, I didn't look into their documentations or codes during the coding, neither for formulas, or general methods.
Anyway, this topic is also a great occasion for me to learn more about existing firmwares. If you know one that can regulate steppers and high level kinetics for any type of geometry, adapt to any number of axis, and also be "easily" (without having to spend a week;-) ) adapted to a particular chip, I still am very interested !
Thank you again,
Briztou.