Cutmore,
What controller? Which version of the Galil drivers are you using? You want SmartTerm with the version 7 drivers. And what is the version of your Galil firmware?
Connect to your controller via the terminal and do a QZ command and then a ^R^V command (control-R control-V). You may need to select a button to allow control key sequences. Otherwise ^V is the Windows "paste" key sequence. The QZ command will return the Data Record format and the ^R^V will return the firmware version. Also do a MG_DR command. This will let me know how the controller is handling sending the Data Records. Let us know the results.
I bought a DMC-1760 ISA controller from dmerrll a while back. I was wanting to get rid of an old SM-Electronik SM400 controller and use Mach. The problem was that I have analogue servo drives so I needed something to make that tick. The Galil looked like a good way to go. But as you know, ISA bus machines have limited CPU frequencies by today's standards. So I started thinking of ways to leverage the ISA based controller in a remote machine that talked to the Galil drivers on the Mach machine. Much like a Galil Ethernet controller would.
I used OpenBSD and wrote a device driver for the 1760 and then wrote an Ethernet front end that emulated a Galil 2100 or 2200 controller. The results are fantastic! The Galil Windows drivers think they are driving a DMC-2100 when they are actually talking to a DMC-1700! This is not for the feint of heart though. A 1 Ghz Pentium III ISA bus computer will run Mach/ISA-Galil just fine. I was just wasting some time trying to do something something that used to be impossible.
In writing this code and wading through lots of smoke and mirrors, I learned a ton about the various Galil controllers. Mainly what will work with Mach and what will not, and why. So I will try and lay that out for people that are interested in using the Galil plug-in and are struggling with which controller of the day to go looking for.
Any current Accelera controllers will work. Stick with the version 7 Galil drivers though.
Any bus based or ethernet Optima controllers will work. This includes the DMC1700, DMC1800, DMC2100, and DMC2200. In theory, the DMC2000 (USB) may work as well. I just don't know if there would be any issues with USB. But it has all of the other necessary things to work. Use the version 7 Galil drivers that come with SmartTerm for these controllers. Older drivers will cause you big time headaches.
The DMC-18x2 econo controllers will also work. But they don't support binary commands and this will slow things down a bit. It takes about 350 microseconds for a Galil controller to process an ASCII command. This time is saved if the controller can accept binary commands. The Galil plug-in takes advantage of binary commands if the controller is capable.
The DMC-21x3 are like the DMC-18x2 controllers. They might not work with the Galil plug-in because of the way they handle Data Records. Big question mark here.
EDIT: The DMC-21x3 controller will work fine as long as they don't have the 31x3 distributed mode firmware loaded. If you have a 31x3, simply install the latest and greatest 21x3 firmware and you are good to go. Also these controllers, while labeled "Econo", will accept binary commands.
There is also an older version of the DMC-21x3 called the DMC-21x2. The difference is that the x2 controllers use the 100 pin SCSI connector instead of DB base interconnect modules for the x3 models. So you will have to have ICM-2900s for the DMC-21x2 controllers.
The DMC-3415 and DMC-3425 controllers will not work. These are 1 or 2 axis ethernet controllers that can be "chained" together to make a distributed controller that has as many as 8 axes. But the way they do this is through a modified Data Record which is not compatible with the Data Record that the Galil plug-in will want to see. The Data Record is what Mach looks at (via the plug-in) to see if the state of I/O pins and DRO.
DMC-1415 and DMC-1425 controllers will work. But they are 2 and 1 axis, respectively.
A DMC-3425 can be updated with DMC-1425 firmware and it will work. But you are stuck with a 2 axis machine. Same with the 3415 except you will have a 1 axis machine.
The DMC1000 ISA controllers will NOT work. This is because these controllers do not have a Data Record at all. They also do not support binary commands. The Galil plug-in could be modified to support these controllers, but they would most likely be in the SLOW department. Don't waste your time or money on these controllers for Mach use.
None of the VME based controllers will work. e.g. the DMC-1300, DMC-300, or DMC-13x8 controllers. The DMC-300 is ancient and should be discarded immediately. The DMC-1300 suffers the same "no data record" as the DMC-1000's do. The DMC-13x8 is an Optima controller, but the Galil windows drivers have no support for these cards at all. Plus, unless you have a very industrial PC, you will not even have a VME bus, much less a VME bus driver. I did, however, make a DMC-1348 controller work. It's just that it's not feasible unless you have a bunch of VME hardware lying around.
None of the DMC-700 series or DMC-1500 series controllers will work. They are serial communication controllers and they also don't have Data Records. They would be good for making tool changers though. Perhaps driven by I/O logic.
Also be aware that many of the Galil controllers that are floating around are special controllers made for an OEM. Galil provides no support for these controllers. Most of the time, a firmware update is all that is required to get the controller to work like a normal Galil controller. But if there is special hardware mods, you will loose.
And a note about firmware. Use the latest that you can get. This is because there are several versions of the Data Record. The version 4 and up Data Records will work. This is what all of the Optima controllers will have if updated to the latest and greatest.
I have to say that I really like the Galil controllers. They are a well founded company with an excellent reputation for quality and service. Their website provides literally every thing that an end user would ever need and drivers and firmware are available as free downloads. Some other motion controller companies require you to buy firmware updates! And you can call and talk to their support at any time. They are very knowledgeable about their controllers, meaning that they are not just farmed out support.
Thanks go to dmerrll for providing me hours and hours of fun!
If I ever get a copy of vs2003, I'll certainly help out on the Galil plug-in. One thing that might be useful is the option to select a different Galil controller that runs a different machine from the same Mach controller.
Steve