how to get tool compensation to work

1,558 views
Skip to first unread message

ademmler

unread,
Jan 6, 2012, 4:55:49 PM1/6/12
to dxf2gcode-users
Hi folks,

thx to all who made this lovley software working. I am using it with
EMC and I am a newbie in CAD/CAM.
Neverless I have setup my mill and did some test jobs. So far all
works fine.
But I cant get the tool diameter compensation to work.

If I set G41/G42 by rightclick on my path it stays without effect.

Anny ideas what to do or a nice tutorial?

thx Alexander

Christian Kohlöffel

unread,
Jan 7, 2012, 7:15:19 AM1/7/12
to dxf2gco...@googlegroups.com
Hi Alexander,

there should be a change in EMC2 while you are milling the thing.

Very important: use the same tooldiameter in the EMC2 tool file and
DXF2GODE otherwise you will see many errors or whatever else possible.

best regards
Christian

ademmler

unread,
Jan 7, 2012, 7:34:58 AM1/7/12
to dxf2gco...@googlegroups.com
Hi Christina,

to check tihs I have set Tool no 2 to have 2mm diameter.
In side my gcode I changed T1M6 to T2M6 . . .
But still EMC does not do anny correction.

Who is calculating the shift of the tool - I guess EMC should do it.
And in dxf2cgode I just set if it should be done yes/no and from left or right of the path?

Is there a way to define a tool number in dxf2gcode?

thx Alexander

> --
> You received this message because you subscribed to the Google
> Groups-group "dxf2gcode-users".
> To post a message, send mail to dxf2gco...@googlegroups.com
> To unsubscribe, send mail to dxf2gcode-use...@googlegroups.com
> See http://groups.google.de/group/dxf2gcode-users?hl=en for more options
> and the dxf2gcode project page at http://code.google.com/p/dxf2gcode/


Christian Kohlöffel

unread,
Jan 8, 2012, 5:54:45 AM1/8/12
to dxf2gco...@googlegroups.com
Hello Alexander,

it should be posssible to define the tool nr. in dxf2gcode in the
postprocessor config file. (similar path but in the postprocessor folder)

The path direction itself is calculated by EMC2 and the dxf2gcode is
only telling to use it and in which direction:

G40 in the g-code means none
G41 means left compensation
G42 means right compensation

just look for this key words in the G-Code if they are there dxf2gcode
did the right thing and you located your problem in EMC2.

best regards
Christian

ademmler

unread,
Jan 8, 2012, 6:57:24 AM1/8/12
to dxf2gco...@googlegroups.com
Hi Christian,


> it should be posssible to define the tool nr. in dxf2gcode in the postprocessor config file. (similar path but in the postprocessor folder)
> The path direction itself is calculated by EMC2 and the dxf2gcode is only telling to use it and in which direction:

Ok I check this out - means only 1 tool can be set, not different ones for different path.
Would be great to share EMC tool table and right click a path and set the tool number.

Aslo would be great to add some commands like drilling wholes from dxf2gcode.

> G40 in the g-code means none
> G41 means left compensation
> G42 means right compensation
> just look for this key words in the G-Code if they are there dxf2gcode did the right thing and you located your problem in EMC2.

Got it and EMC did some correction. Wow it is quite complex stuff.
Actually I am learning about corners, radius, tool diameters and different error messages.

In your software you have "tool diameter" and Start radius (for tool compensation), what are they exactly for?
I could get EMC2 only work after setting the Start radius to the same as the tool diameter.

Greetings Alexander


Chrisko

unread,
Jan 13, 2012, 11:57:11 AM1/13/12
to dxf2gcode-users
Hello Alex,

for tool diameter you need to define the intended tool diameter used
in the mill.

For the Start radius you need to define the radius with which you are
moving in direction of the shape. I think the best way to see it is to
use a big start radius, then you see what the tool is doing for the
start ...

regards
Christian

Sasha

unread,
Sep 25, 2012, 6:46:05 AM9/25/12
to dxf2gco...@googlegroups.com
Hey there,

I didn't want to open a new topic so I'll ask here...
I'm trying to use dxf2gcode for generating the code for a machine with USB DSP controller which doesn't work with EMC, so i was wondering is there any way to make tool compensation work in this setup, because dxf2gcode is the easiest way i tried to generate g-code for this machine.

Thanks!
Sasha

Christian Kohlöffel

unread,
Sep 25, 2012, 8:09:47 AM9/25/12
to dxf2gco...@googlegroups.com
Hi Sasha,

Tool compensation is not a feature of dxf2gcode it just adds some run in
and run out moves while useing G41 and G42 tool compensation of EMC or
any other G-Code based maschine. If your maschine / controller supports
G41 and G42 tool compensation you can get it to work. You might have to
edit the postprocessor a bit but, this should not be a big issue.

best regards
Christian
Reply all
Reply to author
Forward
0 new messages