![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| LinuxCNC (formerly EMC2) Discuss LinuxCNC (formerly EMC2) Controlers here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#2
| ||||
| ||||
| You need to call the workshift G54 (or whatever). You'd need a callout for the length compensation, for example G43 H4 for your length offset. You'd need a clearance plane (in Z) for the tool to approach the start point. You'd need to call G41 D4 for the tool radius compensation register, and ensure that you actually have the tool radius entered in that register.
__________________ First you get good, then you get fast. Then grouchiness sets in. (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |
|
#3
| |||
| |||
| I tried this but doesnt help. I am fighting with concave corner and cutter gouging error codes. If i left tool diameter 0.00 it works ,but when i change it 0.02 inch i get concave corner error message. tool diameter shuld be 0.023 inch or 0.6mm I will give nc code ( it is PCB milling code ) Tell me if i have a change to mill this board with cutter compensation or not |
|
#4
| ||||
| ||||
Alan
__________________ http://www.alansmachineworks.com |
|
#5
| ||||
| ||||
|
Here is your original file modified to work with cutter compensation (outside rather than inside). At least this will give you an example of changing a concave corner to a radius.
__________________ http://www.alansmachineworks.com |
| Sponsored Links |
|
#6
| |||
| |||
![]() Every modern control I have programmed for will do it if the parameters are set correctly which is generally the default settings. It really makes writing macro type pocketing programs difficult, you have no idea what size end mill the user is going to use. So you need to have the tool radius/dia. as a parameter passed in to the macro, which means the user needs to enter that data in two locations (EMC also does not make the tool table data available to macros) or just not use the rad comp and do it all in the macro, which means lots of trig calculations in the macro. |
|
#7
| |||
| |||
When you specify a part with a zero internal radius, you can't cut it unless you have a tool of zero radius. That's what is happening here.
__________________ Kenneth Lerman 55 Main Street Newtown, CT 06470 |
|
#8
| |||
| |||
Here is a Mit M300V Manual relavant stuff starts about page 112 of the PDF, page 100 of the scanned book. |
|
#9
| |||
| |||
Failing to specify an inside radius defeats the idea of cutter radius compensation. If I design a part with a sharp inside corner, I expect to get that part; I dont expect to get a part with a .250 or .240 internal radius depending on how many times the cutter had been resharpened. If you are manually programming parts, I can understand that using this feature can save you time. Nowadays, though, the part should be drawn with a CAD program and the gcode generated automatically. Ken
__________________ Kenneth Lerman 55 Main Street Newtown, CT 06470 |
|
#10
| |||
| |||
| It is not the part design process as much as the machining process. I do lots of family part programs with lots of subs and macros. So that the machine operator can stand at the machine and grab a shop order punch a few numbers into the calling program run the 1 or 2 parts (with maybe a 2 or 3 minute cycle time) to fill the order, rinse and repeat. No time for messing with CAM software and loading new G-Code to the machine for each order. Once and a while a big order for 10 or 20 parts may come thru. EMC or any control should be as flexible as possible and should not be a limitation on how a part is designed, or machined. Say you do a lot of rectangular pockets. Most of the time radius on an internal corner is not that big of a deal and the CAD driver realizes he/she is going to get whatever radius in on the tool used, at most he/she may put a min and/or max rad callout on the drawing. So you write a macro and put it in a sub program which is always in the machine and can be called by any program. You want the corner radius to be whatever the rad is on the end mill the operator/setup person picks. For one part they may be using a 0.050" diameter end mill and the next it may be a 1" diameter. There is no way to know at the time you are writing the macro in the sub. And it defeats the purpose of using subs if you have to edit it every time you use it. If there was a way to get the tool radius from the tool table (like you can on any main stream control, #[13000+2] gives me the radius of tool 2 on the Daewoo sitting 100' from me) then the corner rads could be built into the macro, some small % larger then the tool. The only way I know to do it will EMC is to require the operator to enter the tool radius in the tool table AND the same number into the program as a parameter being passed to the sub. A procedure which leads to errors by the operator. So with EMC I would end up skipping the tool table and tool table and the G41/42 and just do the rad comp in the macro which on a complex tool path can make for a lot of extra trig calculations in the macro. Related issue, this code will run on any mill control I have run or programmed, but last time I checked EMC would error and I never found a way to make it work. A useful bit of program to keep in a control for carving out vice jaws. Code: #100=5.0 #101=-1.0 () G0 X0 Y0 G0 Z1.0 G0 Z0.1 G1 Z#101 F50.0 G1G41 X#100 D1.0 F10.0 G3 I-#100 F20.0 G1G40 X0 F50.0 G0 Z1.0 |
| Sponsored Links |
|
#12
| |||
| |||
| Andre, I appreciate your thoughtful response and now understand the problem a little better. As far as your sample program is concerned, I haven't actually tried it, but this seems to be a problem G3 I-#100 F20.0 After an "I", you must have either a number or an expression. Change that to: G3 I[0-#100] F20.0 Have a great holiday. Ken
__________________ Kenneth Lerman 55 Main Street Newtown, CT 06470 |
![]() |
| 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 |
| Error messages. How do you deal with 'em? | lamed | Controller & Computer Solutions | 1 | 04-01-2008 09:51 PM |
| error messages | sqatch | Dolphin CADCAM | 2 | 12-11-2007 05:05 PM |
| Radius compensation? | cncuser1 | Mastercam | 7 | 10-18-2007 07:54 PM |
| Error Messages and Information | Jim Estes | BobCad-Cam | 12 | 02-22-2007 03:40 PM |
| Radius compensation in Mach3 | kayakman | Mach Mill | 20 | 12-06-2006 10:43 AM |