Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: scudzuki on October 20, 2008, 12:50:28 PM
-
I posted about this a while back and ended up refining my mach3mill config in a number of ways, as well as the overall operation of the machine (removed table, saddle, drives, reset preload on ballscrews, cured misalignment on ballscrew supports, removed interfering material on the castings to free up another .2" of y travel, etc) and am now down to .002" or less backlash on my x and y axes. My axes are homing/zeroing in the negative direction. Machine runs witout a hiccup. Nonetheless, when I run a program that runs to within .300" or so of the y+ limit, I get a softlimit warning. I am sure of my numbers so I run it anyway, without an issue. What could be causing this? I need to be able to rely on the softlimit feature.
Joe
-
please attach your xml.
Hood
-
here it is
-
Sorry meant to ask for the code you get the error with as well.
Hood
-
very simple program
-
Ok it seems to be because you have a G56 in your code but no G56 dimensions in your fixture table, either take the G56 out your code or if you are meaning to have a fixture offset then you need to set it up I think.
Hood
-
I went in originally and selected work offset 3 by clicking in the box and typing 3, <enter>. I then zeroed x and y. When I run the program, while G56 is active, I change an axis dimension (lets say I re-zero x, which is off .001"). When I close Mach3, it prompts me to save the work offset (fixture save?) which I do. I boot up the PC the next day, fire up the mill, do a ref all, and run the program, which drops it in the center of my test fixture (occasionally off by .0005", but pretty good IMHO). If the work offsets are not in the xml file, I can tell you they are stored somewhere. Isn't entering work offset 3 the same as G56?
Joe
-
Ok so if you go to config menu then down to fixtures do you have dimensions entered there for G56? I think the fixtures are probably stored in a dat in the macros folder for your profile
Hood
-
Yes the offsets are there. I did not enter them there directly of course, I zeroed the DROs while offset 3 was active.
Joe
-
What are the X, Y and Z offsets in the fixture table for G56? I will enter them and see if I can replicate your problem here, either that or you could attach your fixture.dat
Hood
-
I included fixtures.dat and a screenshot of the offsets table. Thanks in advance. How do you ever get any real work done when you spend so much time helping out here?
Joe
-
Well thats probably the reason I never have any money ;D
Ok get the softlimits on Y when I use your profile/code.offsets. What I did notice though is it is only giving me the warning on the first run, after that it will not warn. What I then did was open Mach, Ref All and then typed G56 into the MDI line and then when I started the code I never got the SoftLimits warning. I dont use offsets much so have never come across this before but maybe the MDI before the offset is a clue to why its happening. Give that a go and let me know if you get the same.
Hood
-
So it's not just me...
Maybe if I include the G56 and the linear move in the same line...
Usually G54 is active (work offset 1). I used G56 because I had another offset saved in G54. I likely won't use offsets other than 1 often so I can try the routine using G54 and see if I get the same results.
Joe