![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| G-Code Programing Discuss G-code programing and problems here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
Hello everyone, i am extremely new to cnc and machining in general, i am learning bobcad at the moment and i told it to machine a 2 inch square with a 1 inch square in the middle. To test this on the machine i chucked up a marker into the mill with a piece of paper and had it draw. The picture below is a scanned image of what it drew on the paper. The black spot is where the marker sat and pooled ink, not caused by the software. ![]() ![]() M3 G00 Z0.05 X1. Y1. G01 Z0. F5 Y-1. F10 X-1. Y1. X1. G00 Z0.05 X0.5 Y-0.5 G01 Z0. F5 X-0.5 F10 Y0.5 X0.5 Y-0.5 G00 Z0.05 M5 My question is, is the g-code incorrect for the drawing in bobcad, or is my controlling software working incorrectly (Mach2). Thank you all in advance, and i apologize now for the stupid question. |
|
#3
| ||||
| ||||
| Add a G90 to the line below the M3 to set the control to Absolute and see if that cures it.. Looks like your control is running in Incremental mode and the code is for Absolute.
__________________ (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |
|
#4
| ||||
| ||||
| Your right, I ran it through my simulator and it reproduces the problem if a G91 is given, G90 it's OK. Al
__________________ “Logic will get you from A to B. Imagination will take you everywhere.” Albert E. (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |
|
#6
| ||||
| ||||
| Under Config>State, check absolute for Distance Mode.
__________________ Gerry Mach3 2010 Screenset http://home.comcast.net/~cncwoodworker/2010.html (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |
|
#7
| |||
| |||
| Thanks for the help ger21. Its very strange, i went into the config as you suggested and absolute mode was already set for distance, but then i noticed that the initialization string was set to G80, so i put G80 in my code in the line after M3 and surprisingly enough it worked perfectly for the first time! However, when i tried it a second time without changing anything it went right back to the original problem. I have been trying for an hour to get it to work correctly and it refuses to. |
|
#11
| ||||
| ||||
__________________ Gerry Mach3 2010 Screenset http://home.comcast.net/~cncwoodworker/2010.html (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |
|
#12
| ||||
| ||||
| At the top of the screen, there should be a bunch of codes while it's running. Do you see a G91 there?
__________________ Gerry Mach3 2010 Screenset http://home.comcast.net/~cncwoodworker/2010.html (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| What is wrong with these motors? | musicmkr | Stepper Motors and Drives | 1 | 05-04-2005 11:57 AM |
| Caps Installed Wrong Please HELP | jockey | General Electronics Discussion | 6 | 02-27-2005 11:48 AM |
| Whats wrong with this freaking rectifier part II | Noah | General Electronics Discussion | 19 | 07-08-2004 09:41 PM |
| Steps per inch formula, What I am doing wrong? | Noah | Gecko Drives | 13 | 05-27-2004 07:56 PM |
| Z Movements Are he Wrong Way. Why? | gopackgo | Kellyware CAM | 4 | 05-15-2004 07:10 PM |