Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: egerber on September 29, 2010, 12:28:54 PM
-
Tool path displays correct when program is loaded or regenerated, however when program is actually ran the sines for X and Y reversed and causes soft limit warnings and displays tool path accordingly
system configured using DSPMC plug-in by Vidal Systems
Any thoughts
-
Sounds like your axis may be set up back to front. If you jog positive does the tool go in the same direction as the screen, remember it is the tool and not the table if a knee mill.
Hood
-
All axis jog in the correct direction, The problem seames to be with fixture offsets G55,G56,G57 the program uses G54 Thru G57 and G54 displays correctly all others are reversed.
From MDI you can type G55 x10.0 y-10.0 and the display is correct, the same move executed from program is reversed
-
Any G51's in your programme?
Hood
-
No G51's
-
Can you zip and attach your xml, your fixtures.dat and your code and I will see if I can replicate here.
The fixtures.dat will be in C:\Mach3\macros\***** where ***** is the name of the profile you are using.
Hood
-
Email to what adress
-
attach to the forum would be the easiest, just use the additional options button on the reply page.
Hood
-
Here are the files you requested
Thank you for reviewing
-
The first thing I see is you have the X, Y and Z Home and Limit switches set up to Port 1 pins 0 to 8. I dont know anything about the DSPMC but cant see how that could be right as normally these pins would be outputs and not Inputs but even if they could be configured in DSPMC as Inputs you are already using them as motor Outputs, so there will be a conflict.
Hood
-
You also have a few outputs which share the same pins as the motors, so best sort that out as well.
Hood
-
Based on my interpretation of the configuration guide I believe it is configured correctly, I have attached the info for review.
The problem only seams to be when we change fixture offsets during any given program. If we just use G54 things run fine.
-
Please help me a little here, where about in the manual that you attached should I look?
Hood
-
The maping is on pages 32 thru 37 covers each section
-
Have you attached the correct manual? That is the standard Mach manual and I can assure you that when using the parallel port, or as far as I know, any other external device with Mach, you can not share ports and pins especially if you are specifying some of them as Inputs and some as outputs.
Hood
-
Yes I attached the wrong manual, I am currently geeting all the configuration info confired. I will send when I have all the data correct
Sorry for the confusion, FIY this is an either net connection
-
Ok I am at this time reading the DSPC manual that I have just downloaded and it seems that it indeed can be configured all as port 1 but the actual wires connect to different connectors on the DSPMC.
I am afraid I wont be able to test things here as I dont have the DSPMC :(
Have you talked to the DSPMC people about this as I suspect it may be a plugin issue.
Hood
-
OK I have attached a config pdf witch has the current I/O connections for the DSPMC controller showing the mapping. I have also attached the correct manual for the DSPMC,
Thank you again for your help
-
As said in my last post I am afraid I cant test due to me not having a DSPMC :(
Have you asked DSPMC people about this as it seems to me it may be a plugin issue.
Maybe a post on the DSPMC part of the forum will get answers if you have not already cdone so.
Hood
-
Just been looking at your xml again and see you have strange values for the SoftLimits. This may again be meant to be that way due to it being a DSPMC but normally with any other device I have seen you would have zero for X and Y min and Z Max and then X and Y Max would be the travel distance and Z Min would also be the travel but as a negative value.
Just wondering if that might be your problem?
Hood