Machsupport Forum
Third party software and hardware support forums. => dspMC/IP Motion Controller => Topic started by: egerber on September 30, 2010, 07:24:03 PM
-
Tool path displays reversed when fixture offsit is changed from G54 to another offset like G56 after tool change and half the time one axis or another will lose it's position
Any one else ever had this problem?
-
Tool path displays reversed when fixture offsit is changed from G54 to another offset like G56 after tool change and half the time one axis or another will lose it's position
Any one else ever had this problem?
I don't use offsets but if you want to pm me a small gcode file to test I will.
What do you have in your offsets page??
Mike
-
Mike
This was posted by egerber in another thread, its the xml, some code and the fixtures.dat. http://www.machsupport.com/forum/index.php?action=dlattach;topic=16085.0;attach=22725
Hood
-
I am not feeling well with this freakin' cold but I did take a look.
1. All of his offsets in the fixture table are negative which may or may not be an issue.
2. It appears that he is using the Machmotion version of the DSPMC which looks to be different than the generic DSPMC stuff.
3. I am not that familiar with offsets and such but when calling a g55 or other offset I would put it on its own line.
4. If I feel up to it I will go out in the shop and run his code.
5. My machine is setup in inches and I think he is using mm. I think I cna just change the G21 to a G20 to test???
6. I am not sure if softlimits work with the DSPMC as of yet but I may be wrong.
When trying to simulate i kept getting soft limit errors so I turned off the softlimits.
Mike
-
iI dont know how/if softlimits work in DSPMC but the way I see them in egerbers xml they seem wrong to me as I would expect X and Y Min to be zero with Max the travel of each axis. Z Max would be Zero and Z Min the travel of the axis as a negative value.
Maybe the DSPMC does things differently though so I will not say they are definitely wrong.
Hood
-
iI dont know how/if softlimits work in DSPMC but the way I see them in egerbers xml they seem wrong to me as I would expect X and Y Min to be zero with Max the travel of each axis. Z Max would be Zero and Z Min the travel of the axis as a negative value.
Maybe the DSPMC does things differently though so I will not say they are definitely wrong.
Hood
Agreed.
They look incorrect to me also.
Mike
-
Hey HOOD!!!
I hope everyone who has ever received help from you appreciates how much time and effort a simple answer can take.
I already have an hour into this and it could take several more just to find out where the problems lies, Mach, DSPMC, G-code or computer.
Thanks for taking the time to answer mine and so many other questions.
Mike
-
Mike
I was given a lot of help from Art and especially John Prentice when I first started up so I am glad to be able to help others if I can.
Hood
-
Hood
In regards to the soft limits I am using limit switches for mim, max travel and the max travel limit is also the home switch. with DSPMC if you contact a limit the system disarms the servos and you have to manually back off the switch before you can re arm the servos. The soft limets are set so that you never come into contact with the switches, this allows you to backoff if you over travil without disarming the servos.
So everyone understands this system is set up on a grantry mill, so table is X, Y travels on the grantry and Z is attached to Y the home position is the back right hand corrner witch leaves the entire table exposed for setup.
I hope this helps
I have been doing constent debuging sence my last post and have fount that if I leave the T part out of the tool change call every thing works fine, I also have noted that only one axis changes sign and it is the last move befor the change in fixture offset, So if you make a move in X and change the position of X in the next fixture offset along with a tool change the sign reverces, same goes for Y
We can run all day as long as we stay in a given fixture offset and avoid using the T word in the tool change in conjuction with a fixture call
-
Yes but your machine coords should be zero when the tool is fully negative in X and Y and fully up in Z. From your description it would seem you have your home switches at the fully positive directions in X and Y, that is not a problem, you still set Soft Limits to X and Y min as Zero and X and Y Max as the travel BUT you then set a Home off value of your axis travel. What that does is set the machine zero to the correct end of the travel but when you home it will show the position you are at when homed as fully positive in machine coords.
Hood
-
Heres a quick sketch showing what I am meaning as often its easier to put in pictures rather than words.
I think this is how your router is positioned when at home, so if for example the travel was X 800 and Y 400 this is how you would set up soft limits so that the machine coords follow convention. This may or may not have a bearing on your issue but its certainly worth trying.
Hood
-
Nice picture and I under stand now what you are saying,
I will give it a try in the morning FIY not a router but 46 x 60 x 32 vertical Mill we run large steel parts with lots of profiling and drilled and taped holes, I also have a HASS VF3 mill, do al ot of prototype work, To bad they both don't program the same, close but??
Thanks agin also Mike
-
Hopefully it will help.
Sounds like a nice machine, post a few pics if you can :)
Hood
-
Hood
I have reconfigured the Y axis to home + and changed the soft limits accordingly, this also makes it easier to do a tool change and now I can run code G91 G28 Z0 Y0 and every thing goes where it should, if I steel have issues with x I will also change it will see
I have also change some of the G Code structure to see if there is any difference.
I hate trouble shooting intermenttent problems
-
Personally I would configure the X correctly as well, possibly wont help but could well be screwing with the offsets.
Hood
-
Hood
I have not reconfigured X requires hard wire changes
Every thing work fine without tool changes
tool path, DRO'S and all other displays are correct with or without tool changes
The current program has tool changes, tool 1 ran fine
tool 2 did not
after tool change program called for Y to go + went - no soft limit warning moved to over travel limit
you can see what I am talking about in the screen shot
-
Here is the screen shot
-
Not sure why you would need to wire things differently if you already have the Home switch on the X at the positive end. Just set the X Min soft limits to Zero, X Max to the travel and the home off to the travel. Then when you home the machine coords will be set. If you press the machine coords button you would see that it reflects the positive value that the axis is at, and if you did a G0G53X0 it would move to the opposite end, ie your machine coords zero for X.
So it is only when you call a tool change? What do you have Mach set to for Toolchange on General Config?
Hood
-
Tool change is set to
Stop spindle wait for cycle start
We have to change to manually
I will change X in the morning just to see if it has any impact
-
Can you try changing to Ignore Tool Change and insert a M1 so it stops for you to change the tool.
Hood
-
Sure it can't hurt
I will post results in the morning
-
Ok, hopefully the issue can be found by all this testing, certainly have never seen anything like that here.
Hood
-
Thank every one for your input
Here is the scenario
Did nothing to Y axis configuration
changed config to Ignore Tool Change
Added M1 to stop program between tool changes (every thing runs perfect)
Changed M1 to M0 to eliminate the possibility of optional stop being turned off and crashing the tool (same results)
Pryor to those changes
I fount that if a axis moved in the wrong direction you can open the Save fixture page select X save Y save then restart the tool and every will run correctly
Will advise if any thin changes
-
Thats good news in as much as you can now run OK.
Can you attach the M6 macros, maybe there is something in them that is affecting things.
Hood