mcyoung
24-06-2015, 02:14 PM
Hello. Sorry to start off on this forum with a help request - am currently at the bottom of the learning curve.
I've recently bought a cheap(ish) CNC machine off EBay. These things come with a controller board that requires a PC with a hardware parallel port to do the real-time stuff so obviously I've ripped that out and replaced with an Arduino+GAUPS shield (which is gShield compatible) running the latest version of GRBL fetched from their source repo.
Despite my ham-fisted efforts it seems to work for straight lines in all axes for linear motion. However I tried the circle example from the GRBL website, adapted to mm, and I get what's in the image below. The preview in Grbl controller 3.6.1 thinks I should get a circle, and so do I. To state the bleeding obvious, I've taped a pencil to the tool housing to do this.
http://www.mycncuk.com/attachment.php?attachmentid=15620&stc=1
It starts in the bottom left of the image, draws the first arc (and a bit) correctly then goes wrong and doesn't make it back to the origin. I don't think it's bad connections or overheating as it's quite repeatable.
Does anybody recognise this kind of problem? Googling isn't turning anything up. Looks like some kind of arithmetic error to me but it really should work as far as I can see. I'm not necessarily looking for a detailed solution (although that would be nice) but right now I'm not even sure where to start looking.
Here's my gcode:
G17 G21 G90 G94 G54 G91.1
G0 Z10
F 500
X-100 Y0.
Z2
G01 Z0. F500
G02 X0. Y100 I100. J0. F500
G02 X100 Y0. I0. J-100. F500
G02 X0. Y-100 I-100. J0. F500
G02 X-100 Y0. I0. J100. F500
G01 Z2 F500
G00 X0. Y0. Z10
I've recently bought a cheap(ish) CNC machine off EBay. These things come with a controller board that requires a PC with a hardware parallel port to do the real-time stuff so obviously I've ripped that out and replaced with an Arduino+GAUPS shield (which is gShield compatible) running the latest version of GRBL fetched from their source repo.
Despite my ham-fisted efforts it seems to work for straight lines in all axes for linear motion. However I tried the circle example from the GRBL website, adapted to mm, and I get what's in the image below. The preview in Grbl controller 3.6.1 thinks I should get a circle, and so do I. To state the bleeding obvious, I've taped a pencil to the tool housing to do this.
http://www.mycncuk.com/attachment.php?attachmentid=15620&stc=1
It starts in the bottom left of the image, draws the first arc (and a bit) correctly then goes wrong and doesn't make it back to the origin. I don't think it's bad connections or overheating as it's quite repeatable.
Does anybody recognise this kind of problem? Googling isn't turning anything up. Looks like some kind of arithmetic error to me but it really should work as far as I can see. I'm not necessarily looking for a detailed solution (although that would be nice) but right now I'm not even sure where to start looking.
Here's my gcode:
G17 G21 G90 G94 G54 G91.1
G0 Z10
F 500
X-100 Y0.
Z2
G01 Z0. F500
G02 X0. Y100 I100. J0. F500
G02 X100 Y0. I0. J-100. F500
G02 X0. Y-100 I-100. J0. F500
G02 X-100 Y0. I0. J100. F500
G01 Z2 F500
G00 X0. Y0. Z10