|
Forum Index : Microcontroller and PC projects : Yet more AI magic - G-Code in MMBasic
| Author | Message | ||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 10720 |
Attached is a document describing the current status of the code. This is probably as far as I will take it with the possible exception of adding A and B linear axes - further than this you would need a dedicated controller. The intent is that it provides a simple robust way of controlling steppers in an embedded environment. Stepper_Reference.pdf |
||||
| PhenixRising Guru Joined: 07/11/2023 Location: United KingdomPosts: 1682 |
Very cool. I'll just take the pulse & direction count and convert to a servo command. |
||||
| dddns Guru Joined: 20/09/2024 Location: GermanyPosts: 715 |
Really cool. A TNC151 could be emulated with a basic program as a standalone. |
||||
| PhenixRising Guru Joined: 07/11/2023 Location: United KingdomPosts: 1682 |
Ah-ha so I'm not the only one on the planet who sees the potential (it gets a bit lonely )Mind blowing. A single PicoMite can handle the entire thing, including HMI. Brain dead machines are everywhere. Nobody can justify tens of thousands to put a new Heidenhain on older machines. Driving the original servos is a heck of a lot less stressful though. No need for the 100KHz step generator. |
||||
| dddns Guru Joined: 20/09/2024 Location: GermanyPosts: 715 |
I'm sure AI could do..but in assembler ;) as @Phil mentioned. |
||||
| PhenixRising Guru Joined: 07/11/2023 Location: United KingdomPosts: 1682 |
We can do it right now. Read position from incremental encoders (via PIO) Pass the desired position and actual position to MATH PID Output the correction to PWM, filter and scale to +/- 10V analogue to command the motor's drive (amplifier). Three axes @1KHZ is nice. Four axes still works but much more processing time for other things when @500Hz. |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |