Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: egerber on September 29, 2010, 12:28:54 PM

Title: Tool Path display
Post 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
Title: Re: Tool Path display
Post by: Hood on September 29, 2010, 01:53:52 PM
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
Title: Re: Tool Path display
Post by: egerber on September 29, 2010, 03:48:19 PM
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
Title: Re: Tool Path display
Post by: Hood on September 29, 2010, 03:52:11 PM
Any G51's in your programme?
Hood
Title: Re: Tool Path display
Post by: egerber on September 29, 2010, 04:12:27 PM
No G51's
Title: Re: Tool Path display
Post by: Hood on September 29, 2010, 04:21:36 PM
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
Title: Re: Tool Path display
Post by: egerber on September 29, 2010, 05:04:47 PM
Email to what adress
Title: Re: Tool Path display
Post by: Hood on September 29, 2010, 05:08:04 PM
attach to the forum would be the easiest, just use the additional options button on the reply page.
Hood
Title: Re: Tool Path display
Post by: egerber on September 30, 2010, 01:46:40 PM
Here are the files you requested
Thank you for reviewing
Title: Re: Tool Path display
Post by: Hood on September 30, 2010, 02:47:48 PM
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
Title: Re: Tool Path display
Post by: Hood on September 30, 2010, 03:30:55 PM
You also have a few outputs which share the same pins as the motors, so best sort that out as well.
Hood
Title: Re: Tool Path display
Post by: egerber on September 30, 2010, 05:25:11 PM
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.
Title: Re: Tool Path display
Post by: Hood on September 30, 2010, 05:30:17 PM
Please help me a little here, where about in the manual that you attached should I look?
Hood
Title: Re: Tool Path display
Post by: egerber on September 30, 2010, 05:40:10 PM
The maping is on pages 32 thru 37 covers each section
Title: Re: Tool Path display
Post by: Hood on September 30, 2010, 05:44:51 PM
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
Title: Re: Tool Path display
Post by: egerber on September 30, 2010, 06:15:43 PM
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
Title: Re: Tool Path display
Post by: Hood on September 30, 2010, 06:19:12 PM
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
Title: Re: Tool Path display
Post by: egerber on September 30, 2010, 06:38:51 PM
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
Title: Re: Tool Path display
Post by: Hood on September 30, 2010, 06:48:01 PM
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
Title: Re: Tool Path display
Post by: Hood on October 01, 2010, 03:46:52 PM
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