![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| CNCzone Club House Discuss everything in between CNC. THIS IS NOT A TRASH BIN. |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
Hi, I have a very basic question about how g-code is generated. Let's say that i have some simple design that i want to engrave on a piece of wood, and let's say that at the begining the wood is a cube. I understand that the g-code is the path of each end point that the bit will travel to it. Right?! How the machine knows where to begin engraving and how it will track the physical possition of the bit? what will happen if it stuck/slow in the middle? Regards, Louay |
|
#2
| ||||
| ||||
| The g-code specifies the exact coordinates of where the tool is. From start to finish. If the machine stops or slows for any reason, then the part will usually be ruined.
__________________ 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) |
|
#3
| ||||
| ||||
| There are different methods of specifying the start of the cut, usually rather than using the machine coordinates, a work coordinate is set up say, to state zero as being the corner of the sheet of material being cut etc. The machine can be re-referenced in this way using codes G54 to G59 and are called Work Coordinate System 1 to 6. With steppers there is no feedback or tracking of the tool, it relies on the machine following the commanded postion, as opposed to a servo, which will provide feedback to the motor controlling element. Al.
__________________ CNC, Mechatronics Integration and Machine Design. “Logic will get you from A to B. Imagination will take you everywhere.” Albert E. |
|
#4
| |||
| |||
So the machine gets the pulses for the motors hopefuly everything will be OK! If my design is smaller than the cube, and the gcode defines each start/finish points of the desing, how the other extra parts (of the begining sheet) will be removed till the tool reachss the specific possition? Or can i get a very basic and simple explanation of how the gcode works? I'll give an example of what i mean. The cube is 100mmx100mmx100mm My desing (smaller cube) begins at x=10mm, y=10mm z=10mm, my tool is set to begin at 0,0,0. What will the gcode look like? Louay |
|
#5
| ||||
| ||||
| If you need to change the size of your cube, you 'll need g-code to do that before cutting your design.
__________________ 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) |
| Sponsored Links |
|
#6
| |||
| |||
| no, not exactly. Let me ask it in a different way. If i start from a cube, and my design is any shape with curves (of course smaller than the cube), so if we substract the desing from the cube we will get the extra areas that should be removed, Right!! In other words the gcode should describe these areas, RIGHT!!. Who should take care of the gcode of these areas, since i have only a definition of my design. Louay |
|
#7
| ||||
| ||||
__________________ 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 |
| Need Help with Basics of Macros | johnpiero | G-Code Programing | 6 | 06-24-2008 06:36 PM |
| 4th & 5th axis basics? | Donkey Hotey | Haas Mills | 2 | 04-11-2008 11:21 AM |
| The basics | Netjams | CNCzone Club House | 2 | 04-10-2006 03:01 PM |
| The Basics Please -- Help!!!! | Starwoes | General CNC (Mill and Lathe) Control Software (NC) | 3 | 09-08-2005 11:25 AM |
| Basics | plateroomred | CamSoft Products | 10 | 08-06-2005 08:19 PM |