Having trouble with touch off

More
18 May 2012 13:26 #20207 by andypugh
Chipmunk wrote:

Here is the first few lines of the code as it comes from my CAM program. I have not modified it in any way.
G20 G40 G49 M6 T1
G17
M7

LinuxCNC needs a G43 to load a tool offset after the M6. I think you need to tell your CAM package that.

G0Z0.7874/quote] which way round is your Z axis?
Typically it is set up with 0 at the top and -300 (or whatever) at the bottom.
If you touch-off then enter G0Z0.7874 in the MDI window, where does the tool go to? (You probably want to move away from the work for this test)

ps When I start up the CNC program it always diverts back to the splash screen showing the carving of the old Logo. Is this normal or have I failed to do something on the original installation?

There is an INI file setting which says which file to load at startup. I don't think there is a way to load the last file.
www.linuxcnc.org/docview/html/config/ini_config.html
Look at the [DISPLAY] OPEN_FILE section.

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

More
18 May 2012 13:38 #20208 by BigJohnT
Chipmunk wrote:

Thanks for getting back to me.

In answer to your question, I just thought that that was the way it was done. The reason I thought that was every time I start up LinuxCNC I get the splash screen showing the carving of the original Logo. I thought it would be better if the splash screen showed my project while I was touching off.


I actually won't matter what program is loaded when you touch off but visually it might help. Until you get used to touching off after touching off move the Z to a location where you expect a certain value to be like even with the top of your material but off the side a bit and look for Z0.000 on the DRO. This check will make sure you have not forgot something in the touch off scheme.

John

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

More
18 May 2012 22:14 #20217 by Chipmunk
Hello Folks

Thanks for the comments,

I will try them out next week and get back to you. My wife and I are off camping this weekend and I won't get a chance to play around with the mill until next Tuesday.

Chipmunk

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

More
23 May 2012 18:47 #20307 by Chipmunk
Hello Folks:

I started from scratch and reset up my mill using the comments and suggestions from you people. Needless to say, I found and corrected a number of problems.

First of all I determined what my limits and travel is for each of the axis's and set the limits accordingly in the configuration for my mill. I decided that the bottom left hand corner will be my zero for the X and Y limits and the top of the column will be the 0 for the Z limit. The X travel is 0 to 11.625, the Y travel is 0 to 4.875 and the Z travel is 0 to -5.75. I then jogged all of the axis's to some value that moved them off of the home position and invoked G53 G0 X0 Y0 Z0 , the mill responded correctly.

I then set my G54 tool off set using a 0.0015 feeler gauge. Using the left hand side of the work I set the X offset to -0.0015 the Y offset was set at the bottom of the left hand side to -0.0015 and the Z offset was set to +0.0015 off of the to of the work piece. I then invoked G53 again and all off the axi's went to the home position.

I then edited the program and added G54 to the preamble.

The next move was open up the work program and home all of the axis's , they were already at zero because of the previous G53 command. I started the program and was immediately met with a error message, (Program Exceeds Maximum on the Z Axis) I pushed run anyway,

I then was greeted with another error message (Linear move on line 5 would exceed joint's positive limit.)

That is where I am at now, attached is the the first 24 lines of my Cut 2 D program.

%
G20 G40 G49 G54 M6 T1
G17
M7
G0Z0 0.7874
G0X0.0000Y0.0000S7000M3
G0X-0.0938Y0.5159Z0.2362
G1Z-0.0625F0.5
G1Y1.0309F3.0
G2X0.0000Y1.1247I0.0938J0.0000
G1X0.7976
G1X0.8354
G1X0.8420Y1.1247
G1X0.8491Y1.1247
G1X0.8565Y1.1247
G1X0.8643Y1.1248
G1X0.8725Y1.1250
G1X0.8809Y1.1252
G1X0.8895Y1.1255
G1X0.8983Y1.1259
G1X0.9073Y1.1264
G1X0.9163Y1.1271
G1X0.9253Y1.1278
G1X0.9342Y1.1288
G1X0.9430Y1.1298
G1X0.9516Y1.1310
G1X0.9600Y1.1324
G1X0.9680Y1.1339
G1X0.9756Y1.1355

Could you please have a look at this and advise me as to what to do.

Thanks Chipmunk

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

More
23 May 2012 19:04 #20308 by andypugh
Chipmunk wrote:

I then invoked G53 again and all off the axi's went to the home position.

There is no need to use G53 at all, my machine is permanently in G54.

I then was greeted with another error message (Linear move on line 5 would exceed joint's positive limit.)

You should see a red box in the preview, does your preview plot go outside of it?
Maybe T1 is very long? Have a look in the tool table. (though with no G53 that probably doesn't matter). You can see the tool offsets in a little box at the bottom of the screen.

Normally I think it tells you which program line the axis limit is exceeded in.

The more I think about it, the more I think this is a tool length offset problem.

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

More
23 May 2012 19:24 #20309 by BigJohnT
For readability I don't put tool changes on the preamble line.

Also note that you did not load the tool length offset.

I would structure my program similar to the following and note that I didn't use the % and prefer to use M2 to end the program for some unknown reason:

G17 G20 G40 G49 G54
M6 T1 G43
M7
...
M2

When you touched off the tool to the material did you take into account the tool radius along with your feeler gauge?

Have you read my tutorial on setting up material in your mill?

John

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

More
24 May 2012 07:06 - 24 May 2012 07:49 #20315 by cncbasher
which post processor are you using with cut2d ?
and after homing are you setting the z axis to the top surface of the work and setting to work z0 touch off etc ?
if not then that is the reason for the exceeds limits error
Last edit: 24 May 2012 07:49 by cncbasher.

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

More
25 May 2012 02:42 #20362 by jmelson
OK, the move exceeds limit mans the machine is not properly set up. Do you have home switches?
If not, you really should set up one of the methods of homing the machine to limit switches.
Once you have the machine homing to a repeatable position, then move the machine to
the limits of mechanical travel and observe the coordinates in the machine coordinate system
(G53 or I think pressing the @ will display that coord system.) You will apparently have to
expand the limits in the .ini file where you have MIN_LIMIT and MAX_LIMIT in the axis
that is hitting the limit (Z is the first one, but you may have others when you clear this one
up.) Once you know the limits of travel, then use these values in the .ini file for
MIN_LIMIT and MAX_LIMIT. Then, as long as your workpiece and program fit in
these limits, you should not get these messages anymore. The great thing about
setting all this up is that when you load a part, touch off and then load the program,
you will get a message if the program would exceed the limits before you even hit run!
You then can reposition the part before starting so there will be no problem.

Jon

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

More
25 May 2012 03:09 #20363 by Chipmunk
Hello

cnbasher I am using EMC2 Arcs (inch) * ngc for my post processor.

Jmelson You are correct in saying that my move is outside my machine coordinates. It was not the setup of the machine it was a bad entry in the Cut2D material size. I inadvertently put in a to large value in G0Z0 .7854 this value was outside of the box and gave me the error message. I reduced this value to .125 and the program started running quite happily. The reason I did not have a problem when I was cutting air was because I did not do a touch off from my vise which is about 4 inches above the table. Given that I only have 5.75 inches of Z travel, it made my upper limit very close to the top of the work area box. I need to purchase a vise that does not take up as much room.

BigJohnT Also I did not take into consideration half the diameter of my tool bit when setting my touch off. I re read the article on touching off, it is surprising how much comes to light during subsequent readings.

In summary I made my first part this evening and it worked out very well. Thank You Folks for all of your help without it I would still be struggling.

From a Happy Chipmunk who finally made some chips.

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

More
25 May 2012 10:01 #20378 by andypugh
Chipmunk wrote:

this value was outside of the box and gave me the error message.

Gosh! An error message reporting an actual error, there's a shock.

I need to purchase a vise that does not take up as much room.

There are alternative hold down methods that might help:
www.ebay.co.uk/itm/2-Piece-Milling-Vice-6-/290704086009 (we only spell "vice" one way in the UK)
www.wdsltd.co.uk/products/Standard-Parts...DS-218-Edge-Clamp-9/
www.wdsltd.co.uk/products/Standard-Parts...mp-Mitee-Bite--1364/
In fact, you can double or triple your investment in your machine with fixtures and clamps. With all of those you might want to put a layer of board or card under the work piece to cut in to, instead of the machine bed.

From a Happy Chipmunk who finally made some chips.

And very glad we are to hear it.

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

Time to create page: 0.104 seconds
Powered by Kunena Forum