Cutter compensation stops program

More
14 Dec 2017 16:07 - 14 Dec 2017 16:08 #103117 by jensor
I am trying to implement cutter compensation into a gcode program and and am not having success.
I created the following gcode that loads and runs in Axis 2.7.11:

G17 G20 G40 G49 G54 G80 G90 G94 (Boiler Plate)
F20 G64 P.015
G1 X1 Y1
Y.5
X-.5
X1 Y1
T1
X1.5 Y1.5
X0 y0
m2

The program loads and runs okay and runs fine through X-.5 but stops there and doesn't execute X1 Y1 and just freezes there until I hit abort.
If I remove the T1 command it runs fine.

And I haven't even issued a M6 or G41 yet.

The Tooltable.tbl file contains this:
T1 P1 D0.5 ;added 20171213
T2 P2 D0.1875 ;added 20171213

Can anyone see what the problem might be?
Last edit: 14 Dec 2017 16:08 by jensor.

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

More
14 Dec 2017 20:33 #103127 by jensor
I discovered the answer- you have to put the following in the hal file:
# create signals for tool loading loopback
net tool-prep-loop iocontrol.0.tool-prepare => iocontrol.0.tool-prepared
net tool-change-loop iocontrol.0.tool-change => iocontrol.0.tool-changed

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

More
17 Dec 2017 02:18 #103179 by andypugh
Ah. We should have thought of that. But the actual problem is a fair way removed from the problem description.

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

More
17 Dec 2017 22:04 #103254 by couch
T1 is not a cutter compensation call out, its simply calling up Tool #1. You'll need a lead in/out with a G41 and a D1 to enable cutter compensation.

Quick sample of a 1" bore with a 1/2" endmill with cutter compensation (wear) turned on/off at the lead in/out.

%
(1.000 BORE TEST)
(T1 D=0.5 CR=0. - ZMIN=-0.5 - FLAT END MILL)
G00 G08 G17 G20 G40 G49 G80 G90
G00 Z2.

(2D CONTOUR1)
(T1)
(S2800 M03)
G54
G00 A0.
G00 G43 X0. Y0. Z1.0 H01
G00 Z0.1
G01 Z-0.05 F10.
G41 X0.25 D01 F22.
G03 I-0.25
G01 G40 X0.
G00 Z0.1

G00 Z1.
G49
G00 X0. Y0.
M30
%

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

More
18 Dec 2017 15:45 #103290 by jensor
You are so right. Thanks for you reply.

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

More
18 Dec 2017 15:46 - 18 Dec 2017 15:52 #103291 by jensor
Yes, problem description is wrong, I realize that now. Too bad I am such a tyro.
Last edit: 18 Dec 2017 15:52 by jensor.

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

Time to create page: 0.327 seconds
Powered by Kunena Forum