Hello David the swarfer, Sorry for the delay. Thank you very much for your reply. I will try this out and let you know how I get on. Best wishes.
Hi i just build a CNC Coil winder using GRBL and CNC Shield , Most of the build went fine after doing some research i got everything working, but at this time i am only using the machine to do the same thing over and over and it would be awesome if someone could help to make the machine Standalone and just use Hardware switches to run hold and stop , G code is pretty short wont take any space is this possible? Using Arduino UNO R3 +Universal G code Sender Appreciate any help big thanks to the GRBL team
Not really. Unless your program is literally a few dozens of lines long. It's best to have a separate Arduino just feed Grbl the g-code through the RX TX serial pins. It's pretty simple to wire up. At a bare minimum, you just need to have it loop that sends a line and waits for an 'ok' response before sending the next.
I thik it is about 15 lines is just a coil winder only linear moves , any idea on how to try ? i think it may be worth it and save me a lot of time and money buying extra stuff
Look in protocol.c and the main loop. It constantly checks the serial read buffer for a new character. You just need to insert your g-code there and give Grbl one character at a time when it asks for it.
Hi all, is there any way of accessing the status of the controlling board? I mean, for example, I send a command like G1 X100 F200, starting at position X=0. This movement will take a few seconds to complete. In this meantime, can I send a command to the board and get signal like "busy" or "moving"? This command would also return "idle" or "waiting" after the movement is finished. Thanks for any help.
Hello im new here trying to setup a computer for my daughter , its Mint 17.1 Arduino installed 1.8.2 grbl is access able from Arduino, trying to install Grbl-sim having a lot of *** moments. from github: How do you compile Grbl Sim? Clone this repository into the directory containing the Grbl source code. (should be <repo>/grbl). Edit the Grbl-Sim Makefile to select the correct PLATFORM = line. LINUX and WINDOWS are currently supported. (You may need to make other modifications to the Makefile and some environment variables for your particular machine. Please share any modifications you find) Run > make new to compile Grbl Sim! Can someone elaborate a bit more on a Linux install ??????? i GOT DOWNLOAD REPO. its in downloads folder ,,, grbl file is in opt/arduino-1.8.2/libraries/grbl, grbl-master is in opt/arduino-1.8.2/grbl-master. should i create a file in home? home/grbl? Its My daughters Laptop computer i need her to have access from her desktop without admin access/ she is 12, spent last summer learning python this year cad cam cnc 3dprinting, last time i built a cnc was in 98 and ran it in dos, so been awhile. most what i do is Arduino Ham related, tried installing camotics but its not working installs has icons but is a no starter have Inkscape, unicorn g code extensions installed, , Orical 8 its all loaded, just frustrated with 3 line instructions that don't work for the average user a link to a linux install for everything GRBL with a bit more detail would be nice. PS Win sucks, number of windows machines in my house is 0 for 7
Two questions regarding Arduino 1.8.2, GRBL v1.1f, Universal GCode Sender v1.09 (UGSPlatform), running under NetBeans 8.1. The UGSPlatform program has a pulldown Machine menu with a Firmware Settings tab. 1. Are changes actually flashed to the Arduinos 328p chip or are they saved virtually in UGS? 2. Is there a way to create a set of profiles (i.e., text files, etc.) for different CNC applications?
I'm pretty sure that they are written and saved on Grbl. It doesn't accept new settings any other way. As for machine profiles, I'm not aware of that feature for UGS. But you can stream settings files, formatted just like the output, via the simple_stream.py script or a GUI that sends via the send-response method (UGS by default does not). See the Grbl interface wiki page for more details on this.
afaik any GRBL settings will be written to EEPROM in the 328, any UGS settings are written to a UGS ini file yes, give the command $$ copy and paste the result into a text file (for each machine setup) now you can stream that file (UGS closed!) using the simple_stream.py that Sonny mentioned. the python script is the only safe way I know of to do this. You can create some batch files to send the file you want, and just double click to send it.
Dear all, I have a strange problem here. I want to send commands to a GRBL compatible board using RealTerm. However, sometimes it works, sometimes it doesn't. In contrast, every time I use the program GRBL controller 3.6.1, it works perfectly. Does anyone know a possible reason for this? Thanks for any help.
There are quite a few poeple that done so but I don't know of any product that you can buy and just plug-and-play. I'm hoping that will change soon.
You will have to read this Grbl v1.1 Interface · gnea/grbl Wiki · GitHub My guess is your line endings or serial speed settings. Also, make sure your UNO is not one of the clones with a CH340 USB chip. You must use a genuine UNO with the 16u2 chip for best high speed communication.
Hello everyone I would like to know which is the correct way to connects the The arduino to this Spindle Motor controller Thanks
Recently i bought this kit from Vslot europe: OX CNC 1500x1000 - Open Technologies // Vslot Europe The Grbl settings provided are for a slightly different built. Doen anyone have experience with this built an is willing to share the Grbl settings of a arduino hex file with the correct settings? Thanks!
Hi all. Trying my first kick at a quick bit of G Code to mill a slot in some ply. It's 19mm thick and I'm using a 1/2" bit. All seems to go well until about 5-6mm deep and then it seems like it does a double "X-100" command. This of course happens at 5-6mm deep and destroys it. I can't see anything in the code that causes this. Any ideas what the issue could be? I'm running an arduino Uno with CNC Shield V3. GRBL 1.1f and GRBL control panel. My buddy thinks it may be a buffer problem but the code is very basic. Here is the code and a picture of a scrap piece I tried two runs on. Thanks for any help Paul PS: Finally got the text file to upload. Couldn't do it off of my phone...
Buffer issues with Grbl are virtually non existent these days. Especially with popular Grbl GUIs, like GrblPanel. I only see this problem with custom GUIs that users program and it's always a bug on their end. I suspect it's more to do with the cut depth and or type of cut. If you are climb cutting, the tool will grab and pull itself into the work. If your steppers don't have enough torque to resist this, it could do what you showed. Or you have an improperly configured acceleration/ too aggressive cut and your motors stalled.
I'm using NEMA 23's and taking 1mm cuts at a feed rate of 250mm/min. That should be plenty safe shouldn't it??
Paul, G91 is a modal command. This means you only have to issue it once and it stays set in relative mode. G90 is its partner, changing to absolute mode. G Codes
David. Thank you very much for that and for the excellent reference link. Though it is for Linux, I assume the commands hold true for all Operating Systems?? Cheers, Paul
The gcode commands hold for most controllers. In particular GRBL follows that document pretty closely.
Hi, I have recently upgraded grbl to 1.1 i did have it setup with 0.9j which i flashed from codebender https://codebender.cc/sketch:349016 which worked for the most part. since upgrading the steppers are enabling but they dont move. I have tried going back but the new version of codebender refuses to compile the original. Help pls Nano clone drv8825 drivers
Well what a difference a nights sleep does, managed to find my problem. in the original one I had modified the cpu_map.h file swapping the direction and step pins around (cant ever remember doing that!). 1.1 now working as expected. For anyone thinking of buying one of those v4 shields for the nano... dont I have had no end of trouble with it. had to modify it to start with, and when you come back to it and forget what you did you get all the headaches all over again. Grbl's great though thanks for all the hard work! Anthony