![]() | |
| 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
| |||
| |||
| NewB Q. Tool sizes Just starting to learn GCode, one thing I'm a bit confused about is tool sizes and tool change commands. Am I correct in assuming that GCode doesn't actually do/know anything about tool sizes? It appears to me that the GCode itself just tells the controlling software to use a tool "ID" and its up to the software to associate that ID with a diameter/type (its own tool table) and calculate all the correct offsets etc. Is that correct? |
|
#2
| ||||
| ||||
| Yes and no. (You had to know that was coming... ) It kind of works both ways.. one compensates for the tool's diameter via values stored in the tool table, the other compensates via offsets in the XY values of the gcode.One way generates the code with known values for a specific tool's diameter. All the moves are calculated by adding the tool's radius to the X and Y values, compensating in the appropriate direction. This will offset the path of the tool, placing the edge of the tool on the desired dimension. So if you were making a cut at X 10.000 and had a cutter that was 1.00 in diameter, the Gcodes you would see would be, depending on the direction and they type of cut, X9.500 or X10.500. The other way, risky, prone to machine errors, but easier to program and use different sized tools on, is part line programming. With this method, you are storing the tools diameter into a tool table on the controller. You enter the tools diameter (or radius depending on the settings) and program the part to X10.000 and use the values in the table to offset the tool to achieve the actual 10.000. While the latter method is easier to program by hand, it is more prone to errors at the control. You must allow for sufficient room for the tool to offset itself to the proper location, which is not always feasible or desirable. There's a bit more to it than that, but that should keep you guessing for a while. 'Rekd
__________________ Matt San Diego, Ca ___ o o o_ [l_,[_____], l---L - □lllllll□- ( )_) ( )_)--)_) (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |
|
#3
| ||||
| ||||
| BTW, the term is Cutter Radius (or Diameter) Compensation, or CRC. The codes that control CRC are G40 Cancel compensation G41 Compensate Left (For climb cutting) <---- standard on CNCs G42 Compensate Right (For conventional cutting) <---- standard on manuals
__________________ Matt San Diego, Ca ___ o o o_ [l_,[_____], l---L - □lllllll□- ( )_) ( )_)--)_) (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 |
| HELP Tool changer problems | ddprecision | Haas Mills | 9 | 01-14-2011 05:24 PM |
| Tool length sensing! | Swede | FlashCut CNC | 15 | 10-12-2005 08:51 PM |
| Miniature Automatic Tool Changer | 1ctoolfool | Product Announcements & Manufacturer News | 1 | 04-18-2005 06:56 AM |
| Pocketing and tool sizes | jderou | BobCad-Cam | 1 | 08-31-2004 02:26 PM |
| Tool Changer Problems | Snel | Haas Mills | 5 | 08-11-2004 09:56 AM |