gnea / grbl

An open source, embedded, high performance g-code-parser and CNC milling controller written in optimized C that will run on a straight Arduino
https://github.com/gnea/grbl/wiki
Other
4.07k stars 1.61k forks source link

Please make a close loop cnc grbl for precision #849

Open 3636yatin147 opened 4 years ago

3636yatin147 commented 4 years ago

Changing in grbl library for add a feed back(close loop stepper motor) to measure a rotation of stepper motor for precision using a encoder. Please any one can make this change it is very important.

cri-s commented 4 years ago

It don't make any sense doing it on the grbl controller. I use 8pin uc that receive step dir, encoder input and outputs step/dir to the driver.

3636yatin147 notifications@github.com schrieb am Do., 9. Apr. 2020, 13:51:

Changing in grbl library for add a feed back(close loop stepper motor) to measure a rotation of stepper motor for precision using a encoder. Please any one can make this change it is very important.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/gnea/grbl/issues/849, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACIQ5FSB3YBOV6IZO3LX3ODRLWZEBANCNFSM4MEVLOSA .

Norwegian-Gadgetman commented 4 years ago

If it's so important, and anyone can make the change, why don't you do it yourself? And while you're at it, feel free to rewrite it for a microcontrolelrboard with more memory also, because the Arduino Uno is practically full. There's not enough storage to fit anything like that. GRBL as it is has already broken everyone's ideas of what can be crammed into such a small controller.

biasedlogic commented 4 years ago

Changing in grbl library for add a feed back(close loop stepper motor) to measure a rotation of stepper motor for precision using a encoder. Please any one can make this change it is very important.

No, it isn't important, and it's the wrong way to do it. Grbl is motion controller, not servo amplifier. The function of following position is one to implement in servo amp and there are such ones out there that do exactly that. What could be asked for, is for grbl to send absolute positions rather than incremental signals to servo amplifiers over some bus, like rs485, but that may be hard to implement (although I don't say it's not possible, at the cost of temporal resolution)

ASHIT-AXAR commented 4 years ago

there is nothing to do with GRBL. this ability should be available in your stepper/servo driver.

driver

there is a ALARM signal in the driver you can route back to arduino. (either to PAUSE or RESET button)

3636yatin147 commented 4 years ago

Thank you sir, it is very helpful for me ! but can you show me the circuit about (there is a ALARM signal in the driver you can route back to arduino. (either to PAUSE or RESET button))

On Sat, Apr 11, 2020 at 12:54 AM ASHIT-AXAR notifications@github.com wrote:

there is nothing to do with GRBL. this ability should be available in your stepper/servo driver.

[image: driver] https://user-images.githubusercontent.com/24279964/79017415-8119b080-7b86-11ea-8781-498af27661e8.jpg

there is a ALARM signal in the driver you can route back to arduino. (either to PAUSE or RESET button)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/gnea/grbl/issues/849#issuecomment-612181480, or unsubscribe https://github.com/notifications/unsubscribe-auth/APDW7ZQ3VJS53ZQT42ZDAGDRL5XADANCNFSM4MEVLOSA .