![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| Mach Software (ArtSoft software) Discuss Mach 1 , 2 and the new Mach3 here NC software here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
I'm trying to cut a rectangle as shown in blue (tool diam. 2mm), with the code shown below. But the result I get is shown in red. Any help is welcome, thanks in advance. [IMG]file:///D:/consultaCNC.gif[/IMG] % G90 G21 G17 G40 G49 G00 X 5.00 Y 20.00 Z 2.00 F200 G41 P1.0 G00 X 6.80 Y 27.000 G01 Z -2.00 G01 X 31.00 Y 27.00 G01 X 31.00 Y 37.00 G01 X 6.80 Y 37.00 G01 X 6.80 Y 27.00 G00 Z 2.00 G40 M30 |
|
#2
| ||||
| ||||
| Can't see the pic, but try this. I don't have Mach3 here, so I can't test it. % G90 G21 G17 G40 G49 G00 X 5.00 Y 20.00 Z 2.00 F200 G00 X 6.80 Y 22.00 G41 P1.0 G01 X6.80 Y26 Z -2.00 G01 X 31.00 Y 27.00 G01 X 31.00 Y 37.00 G01 X 6.80 Y 37.00 G01 X 6.80 Y 26.00 G00 Z 2.00 G40 M30
__________________ 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
| |||
| |||
| Gerry, thank for your response. In the attached files are the graphics with the trayectories with the old and the modified code. The tool should down in the coordinates (7.80, 28.00) but no .... I can't to use the line G01 X6.80 Y26 Z -2.00 the tool down progressively with the X motion.I think it should be separated into two blocks. G01 Z -2.00 G01 X6.80 Y26 Best regards |
|
#4
| ||||
| ||||
Now that I'm looking at it, I see that I made a mistake before. I think that you want to use G42, to be on the outside of the cut?? Like this" G90 G21 G17 G40 G49 G00 X 3.00 Y 20.00 Z 2.00 F200 G00 X 5 Y 27.00 G42 P1.0 G01 X6.80 Y27 Z -2.00 G01 X 31.00 Y 27.00 G01 X 31.00 Y 37.00 G01 X 6.80 Y 37.00 G01 X 6.80 Y 26.00 G00 Z 2.00 G40 M30
__________________ 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) |
|
#5
| |||
| |||
| armandon You have to give the G41 or G42 a feed move before it will be active the same to cancel A link that shows how to make cutter comp work Cutter Compensation Example Yes you should have a Z safe move before a G0 X, Y move
__________________ Mactec54 |
| Sponsored Links |
|
#6
| |||
| |||
| Thank Gerry, Mactec54 Improved my question. I need to cut a rectangular window in an plastic enclosure as show in blue. The tool path that I tried to follow is shown in red (with the code posted), but the results obtained are the shown in the figure of prev post. Is posible that are some parameters bad configurated in Mach3 ? regards |
|
#7
| ||||
| ||||
| This should work for you. G90 G21 G17 G40 G49 G00 X15.00 Y29.00 Z2.00 F200 G00 Z0 G41 P1.0 G01 X20.00 Y27 Z -2.00 G01 X31.00 Y27.00 G01 X31.00 Y37.00 G01 X6.80 Y37.00 G01 X6.80 Y27.00 G01 X22.00 Y27.00 G01 X25.00 Y29.00 Z0 G40 G00 Z2.00 M30
__________________ 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) |
|
#8
| |||
| |||
| armandon Using the ( P1 ) word will turn any tool comp you have for that tool ( OFF ) To have it read the tool size you put in the offset should be ( D1 ) if you want it active G41X___D1 You need to do a straight move to turn the cutter comp on, so start 10mm away from were you want to start cutting & then it will work, You should also do a straight move off the part to turn it off
__________________ Mactec54 |
|
#9
| ||||
| ||||
| Mactec, G41 P1 offsets the tool 1mm. Which appears to be what he wants, looking at the last image he posted.
__________________ 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) |
|
#11
| |||
| |||
| ger21 Cutter compensation is used to offset the tool path by the amount specified by the current diameter offset number. The diameter offset is usually specified with a tool change as a D followed by the offset. The offset can be the diameter of the tool, but it can also be used to specify a smaller offset to account for smaller tool size due to wear. G41 Cutter Compensation Left Cutter compensation is initialized by a linear move to the specified location. The material is to the left side of the tool as it follows the path. In normal use of cutter comp no letter P or D is not needed But D is used for this if needed This is all that is needed to turn it on G41G1X__ F10.& what offset you have in the tool table will be active for the cutter in use The P word can be used like you have, But you can not ajust the tool off set in the control when using the P word
__________________ Mactec54 Last edited by mactec54; 07-16-2011 at 09:26 AM. |
![]() |
| 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 |
| Newbie- Need help with cutter diameter compensation | TLNADIAK | CNC Machining Centers | 3 | 10-28-2010 05:21 PM |
| .dxf to g-code converted with tool-diameter compensation? | cnczoner | General CNC (Mill and Lathe) Control Software (NC) | 2 | 08-16-2007 07:31 AM |
| Radius compensation in Mach3 | kayakman | Mach Mill | 20 | 12-06-2006 10:43 AM |
| G40 G41 G42 cutter diameter compensation not working | klick0 | LinuxCNC (formerly EMC2) | 3 | 03-17-2006 05:49 PM |
| Any Info On Tool Diameter Compensation? | FLUTE HEAD | TurboCNC | 13 | 10-26-2004 05:02 PM |