Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - smurph

Galil / Re: Gantry homing problem
« on: January 20, 2011, 12:13:23 PM »
Make sure that the "Home slave with master" is not checked in the Mach General Config.

The Galil plugin puts the master/slave axis in gantry mode.  But if Mach sends movement commands to the slave axis, then the movement of the slave axis is doubled!

In the next release, I will handle this case in the code so that no matter how the General Config is setup, it will do the right thing.

But...  as Kenny said, a GalilDebug.txt file would be nice to verify this.


Like I said...  things change.  The segment of machines that you can even add a parallel port to is growing smaller by the day.  The writing is on the wall.

For Mach, the question is whether to invest the required resources (time and money) into a dying technology.  It will become a business decision that will be quite simple.  And we may already know the answer.


Wow...  I just read the whole thing.  People saying "It's 20xx and asking where is the 64bit parallel support?  The irony is killing me!  Shouldn't we be saying "It's 20xx and why do we still have a parallel port?"  It's hard to buy a printer with a parallel connection these days!  That was, after all, the mainstream use for a parallel port.

My current PC (over 2 year old now) didn't even come with a parallel port ,nor PS2 mouse and keyboard, not even a serial port.  It only has 1 PCI slot and the rest are PCI express.  DVI video connectors are going away in 2012.  The old VGA db15 connector is going away in 2015.  HDMI is a fleeting moment in time for PCs (to be replaced with DisplayPort).  Even USB almost didn't make it for 3.0.  And I bet 3.0 is the last "version" of USB, although it will hang around for a while.  It was inevitable that the parallel port goes away.

My point is that things change.

The good news is that back in the 80s, you paid $4K for a PC that had a parallel port and these days you spend less than $1K for a PC and an external motion device.



Can you set your MainPlanner->ExTime to something like 4ms?  1ms may be putting the trajectory planner through too much.  Or dumping that much granular data to your device may be the bottle neck.  I've run some of my plugins at 32ms.  But I had the capability of matching that time slice in the hardware.  The reduced resolution is only noticed at very slow speeds.  You will never notice anything with a time slice of 16ms or lower.  So if 1ms is not a requirement, try some higher values.  The Galil plugin uses 4ms time slices and it flies (ExternalPulseRates @ 12000000).


Galil / Re: unexplained stop during program
« on: January 13, 2011, 02:52:04 PM »

Your machine looks fine.  Heh...  with the exception of the trackball.  :)  I just can't get used to those things!

Steve and Chris,

I'll get you both a new plugin this evening.  I have Steve's email.  So Chris, send me a PM with your email address.

This new plugin is working toward release 4.5.  It's pretty different as far as how it works internally and there may be bugs in it (MPG and homing code related), so I would not suggest running it full time.  But I would like to see if any of you can duplicate the lockup with this new plugin.  If you can duplicate the lockup, then it's a high probability that it's not the plugin and we need to start looking for things that might make Mach hiccup. 

What versions of Mach are you guys running?

Mesa / Re: Want to try Mesa Elec
« on: January 13, 2011, 12:48:29 PM »

The plugin is still in development.  You can test it out if you like, but I would not consider using it for a production machine at this point.  PM me with your email address if you want to try it out.  But there are no guarantees that it will work.  You will have to be pretty knowledgeable about Mach, your servo drives, and your PID tuning to solve your own problems, as I will not be able to give you that level of support. 


Mach SDK plugin questions and answers. / Re: PLUG IN WRITERS
« on: January 13, 2011, 12:44:17 PM »
Uh guys...  If you don't PM me with an email address, I can't send you a plugin.  :)


Galil / Re: unexplained stop during program
« on: January 13, 2011, 12:39:01 PM »

What kind of machine are you running?  (Processor size, memory, operating system, etc...)  I don't believe this is a Galil issue.  The movement queue is drained meaning no more movement information from Mach.  So it looks like something is interfering with Mach at this point.  I'm not ruling the plugin out, but if you could give me the lay of your machine, I'll dig some more.


Galil / Re: Bug in Galil Found While Jogging with Keyboard Arrow Keys
« on: January 11, 2011, 10:52:10 PM »
You have your axis mapping messed up.

This is from your GalilDebug.txt file:

Notice and there are two A axes in the command.  This means that you have the Mach A axis mapped to the Galil A(X) axis when it need to be mapped to you Galil D axis.  That will fix you up.


Galil / Re: unexplained stop during program
« on: January 11, 2011, 10:45:37 PM »

Enable debug output in the plugin configuration and restart Mach.  Then try running your program.  If it fails, exit Mach and send me the GalilDebug.txt file in your plugins directory.  You can attach it to a message in this forum as well.

We will then be able to see what is happening on the Galil (communications, etc...)