Hello Guest it is September 21, 2019, 10:41:52 AM

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

871
Galil / Re: Galil controller compatability (what works with the plugin)
« on: January 13, 2012, 05:58:29 PM »
A timeout is well...  a timeout.  It really shouldn't happen.  The plugin sends a command to the controller and the controller should respond, success or otherwise.  But there have been a rash of this lately.  So I'm looking into it.  I had to run a large program for 16 hours on a Virtual Machine to get it to happen.  Meanwhile doing everything I could possibly imagine on the VM host to make life miserable for the VM.  But I managed to duplicate the condition.

I'll be updating the plugin on the download page shortly with a bit of extra code to try and handle timeouts more gracefully.

Swap File:  Looking at your logs, I see a problem with your timings too.  There are times > 200 ms between updates.  These should really be ~100 ms,  This usually means that something is consuming CPU to the point where Mach can no longer communicate with the plugin every 100 ms.  Or it could be indicative of a network communication problem where the response between the plugin and the controller is slowed to a point where Mach spends more time in the plugin than normal.

So with your slow timings and timeouts, I would check your network to make sure that nothing is interfering with the communication between the Mach PC and the Galil controller.  Do you have a hub or a switch that has other devices connected to it along with the PC and the Galil? 

Steve

872
Galil / Re: Galil controller compatability (what works with the plugin)
« on: November 19, 2011, 03:27:53 PM »
battwell,

Better get a bigger spring for that switch.  :(  Because I see no way to debounce a limit switch on the Galil.  If a limit is tripped, the the Galil AUTOMATICALLY issues a ST command for that axis.  :( 

novicemachinist,

Try this plugin: http://www.smcomp.com/~smurph/galil/Galil.zip

You do not need to register your controller with Smart Term with this plugin.  Only set the controller in the plugin config.  It should help your G code moves with you sin amps.

Steve

873
Galil / Re: DMC-41x3 supported?
« on: November 18, 2011, 10:30:12 PM »
Try this one out.  Your mileage may vary at this point.  :)

http://www.smcomp.com/~smurph/galil/Galil.zip

874
Galil / Re: DMC-41x3 supported?
« on: November 16, 2011, 07:02:27 PM »
The DMC41x3 controllers don't support a lot of the commands that the Optimas did.  They support the commands, but only in a program.  So you get a lot of errors in the GalilDebug.txt file.  I'm working on a plugin that fully supports the 41x3 controllers.

Steve

875
Galil / Re: Galil controller compatability (what works with the plugin)
« on: November 16, 2011, 06:59:36 PM »
Hmm...  Good question.  I know there are debounce settings in Mach, but whether they are handled in the PP driver or Mach is the question.  Maybe there are debounce stuff in the Galil that we could take advantage of?

I'll see what I can find out.

Steve

876
Galil / Re: Galil controller compatability (what works with the plugin)
« on: November 16, 2011, 01:18:52 AM »
The problem is the sin amps.  The Galil will support commutation for external sin amps, but it uses 1 axis for the motor and 1 axis for the commutation.  So if you have a 4 axis controller and 3 axes defined with BM, then the plugin decrements the usable axes by the number of axes defined with BM.  4-3=1.  :)  This is how it has to be for external amps.  But...  Galil has an integral sin amp that doesn't require an extra axis for commutation.  But you still have to have BM defined, so the plugin does the wrong thing with that setup. 

The next plugin release will have a fix for this.  However, I do not know when that will be.  :(

Steve

877
Galil / Re: Please help me. mach3 + galil + cincinati + analog drive
« on: July 17, 2011, 11:59:24 PM »
What Galil controller?

878
Galil / Re: DMC-41x3 supported?
« on: July 17, 2011, 11:58:24 PM »
Just register it as a 21x3 in the Smart Term.  It's an Ethernet controller and it will work.  Don't attempt to load 21x3 firmware on your controller.  You may have to manually assign an IP address to your controller.

Steve

879
Galil / Re: what galil card works best
« on: May 11, 2011, 08:43:51 PM »
I like the Econo Ethernet controllers.  21x3 and 41x3.

Steve

880
Galil / Re: Retrofitting big router
« on: May 11, 2011, 08:37:05 PM »
1.  4143 will do fine.  The 4040 will be overkill, but they are nice!
2.  If you have never tuned a servo PID loop, then I would suggest you buy the Galil Tools software.
3.  I like Ethernet.  1 wire to the Mach computer instead of many.  The Galil can sit in the control cabinet and make your retro-fitting life a lot easier.

BTW, you will need a Galil axis to control your spindle.  So take your total servos and add one axis for the spindle to come up with the total number of axes you need on the Galil.

Steve