Problem with G41/G42 command

More
14 years 11 months ago #14590 by pklecz
Problem with G41/G42 command was created by pklecz
I have got a problem because Emc2 dont want to compensate.

G21
G90
G64 P0.01
G17
G40
G49
G10 L1 T1 R1.17
T1M6
M8
S5000M03
G0 Z 15.000
G0 X 53.077 Y -5.541
G0 Z 3.000
F150
G1 Z -0.500
F400
G41 D1
G1 X 54.247 Y -3.041
G3 X 50.577 Y 0.629 I -3.670 J 0.000
G1 X 0.577 Y 0.629
G1 X 0.577 Y 50.629
G1 X 50.577 Y 50.629
G1 X 50.577 Y 0.629
F150
G1 Z -1.000
F400
G1 X 0.577 Y 0.629
G1 X 0.577 Y 50.629
G1 X 50.577 Y 50.629
G1 X 50.577 Y 0.629
G1 Z 3.000
G0 Z 15.000
G40
G0 X 0.000 Y 0.000
M9
M5
M2

Pliz help me this is a simple square and Emc2 dont want to compensate the tool diameter.

Please Log in or Create an account to join the conversation.

More
14 years 11 months ago #14597 by andypugh
Replied by andypugh on topic Re:Problem with G41/G42 command
You forgot the G43.

T1 M6 loads tool 1, but you need a G43 to apply the tool offsets.

Please Log in or Create an account to join the conversation.

More
14 years 11 months ago #14613 by pklecz
Replied by pklecz on topic Re:Problem with G41/G42 command
I tried with g43 but it do not work.

I think i tried everything. I even tried to reinstal the system but it do not work.

Maybe if you could send me a simple gcode of a square 50x50 mm that works for you with a tool compensation.

Iam desperative now i dont know what iam doing wrong :(

Pliz help

And thx for help

Please Log in or Create an account to join the conversation.

More
14 years 11 months ago - 14 years 11 months ago #14615 by BigJohnT
Replied by BigJohnT on topic Re:Problem with G41/G42 command
Did you look at the examples in the manual?

After adding G43 to your tool line what didn't work? You need to be specific to get help. Does the tool table contain the proper diameter of the tool loaded?

I loaded your code and added G43 but I get an error on line 7 about your G10 P value being out of range.

When I comment the G10 line I get an error about lead in move too small for tool diameter but I don't know what diameter your using.

And there is no T word for G10 L1...

Fixing the G10 error I'm back to you didn't program a long enough lead in move...

Fixing the lead in move and you have moves that are too big for the tool diameter...

Switching to inside the box compensation G42 your file runs with the G10 line fixed as well...

John
Last edit: 14 years 11 months ago by BigJohnT.

Please Log in or Create an account to join the conversation.

More
14 years 11 months ago #14616 by pklecz
Replied by pklecz on topic Re:Problem with G41/G42 command
Yes I did look at the examples in the manual.

When I add G43 to my gcode there is no tool compensation when I run the gcode.

Iam using a tool 2.34 [mm] wide. The radius of my tool is 1.17 [mm].





PS: I had no problem with tool compensation earlier, but then one day The EMC2 stoped to compensate the tool diameter. I had runed the same gcode as earlier but it didint work. I even had reinstaled the whole ubuntu with emc2 but this didint work. So maybe it is something with the Emc2 i dont know.


Thx for all reply

Please Log in or Create an account to join the conversation.

More
14 years 11 months ago #14617 by BigJohnT
Replied by BigJohnT on topic Re:Problem with G41/G42 command
Did you fix the G10 L1 line?

John

Please Log in or Create an account to join the conversation.

Time to create page: 0.133 seconds
Powered by Kunena Forum