Machsupport Forum

Third party software and hardware support forums. => Galil => Topic started by: Flipz01 on October 21, 2010, 05:24:32 PM

Title: Galil registry in Windows 7
Post by: Flipz01 on October 21, 2010, 05:24:32 PM
I'm trying to get Mach to work with a DMC-2143 Galil board under Windows 7.  No luck.  I just talked to a Galil tech guy who told me that he believes the problem is that Galil no longer bothers to register the controller and Mach is probably looking for this entry.

Probably right!

He says that SmartTerminal did this in the past but is no longer used.  Also, he thought that this program would work in a 32-bit system, but not 64-bit.


Anybody out there running Galil under 64-bit Win 7?  If so, how did you register the controller.

If you are running Galil under 32-bit, did you get SmartTerminal to work?  If not, how did you register the controller?

Or, is there some way for Mach to see the Galil without this registry?
Title: Re: Galil registry in Windows 7
Post by: DC on February 16, 2011, 04:24:48 PM
I have the same problem
 
I registered the 2143 into windows 7 registry using Galil's Smartterm

I had to use the RS232 port of 2143 and run Hyperterm to issue the follwoing command to "force" a static IP to the 2143

eg
: IA 1xx, space 16x, space, 0, space xx CR

There is a typo error in the Galil manual. A space is needed after the ,

To check if 2143 took the IP

: TH

I had to set the windows 7 to static IP

However inspite of that I still cold not get Mach3 to talk the Galil........ help !
Title: Re: Galil registry in Windows 7
Post by: Aeroshade on February 16, 2011, 04:39:03 PM
DC, did you go to the config>config plugins and click the yellow config button? In the window that brings up the plugin INFO, at the top there is a drop down window that should show your Galil card. Let me know.


BTW I don't think Mach3 works with Windows 7.

Aero
Title: Re: Galil registry in Windows 7
Post by: TOTALLYRC on February 16, 2011, 07:01:46 PM
Mach3 runs fine under Win7.
I am running my milling machine with it.

Mike
Title: Re: Galil registry in Windows 7
Post by: Aeroshade on February 16, 2011, 11:42:09 PM
Mach3 runs fine under Win7.
I am running my milling machine with it.

Mike


64bit version?
Title: Re: Galil registry in Windows 7
Post by: smurph on February 17, 2011, 12:19:35 AM
For you guys with Win7 64bit, I have been working on getting this to work.  I re-wrote the code to work with either SmartTerm or GalilTools.  

I have not tested SmartTerm and Win7 64bit.  In theory, it should work as long as you are not driving a bus based controller.  Meaning Ethernet controllers should work.  But like I said...  I have not tested it.  

Here is the link for a very experimental version of the Galil plugin that you can try if you want to.  I have not tested this with Win 7 or Win 7 64 bit.  I simply don't have a computer with either OS on it.  

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

This version of the plugin does not require any Galil software on your computer to operate a Galil Ethernet controller.  You only need the Galil software for the terminal program or bus based controllers.  You do not need to register the controller in SmartTerm (if you are using it) but SmartTerm will require you to do so if you wish to use SmartTerm with the controller.  The down side is that you need set the IP address as DC described above.

Also keep in mind that if you are using a crossover Ethernet cable to the Galil that the 21x3 series controllers are 10Mbit.  So you may need to explicitly tell your computer's Ethernet adapter to use 10Mbit.  It seems that switches are better at negotiating the correct speed than the Ethernet controllers in today's machines are.  The symptoms are being able to connect to the controller but losing connection intermittently.

Steve
Title: Re: Galil registry in Windows 7
Post by: DC on February 17, 2011, 02:18:37 AM
Thank you Aeroshade and others.
I am new to MACH3 but had used Galil cards before.
I run Windows 7 64bit
When I checked the config under Galil plugin, it sees the Galil card
However when I tried to click on the RESET button in MACH 3 it always says
" Emergency mode active
  Galil card not connected after reset
  Estop button pressed "

It would not run any Gcode, The LED bar indicator never turn green, stayed yellow always.

I am confused as to how to overcome this hurdle. I could not fine the Estop button in MACH3 or how to release it
Could it be that I am operating the MACH3 wrong ?

Would appreciate if someone can outline a sequence of steps on the MACH3 to test if my hardware works.

I am rather lost in the numerous buttons and menu in MACH3

Thanks a million

DC
Title: Re: Galil registry in Windows 7
Post by: Aeroshade on February 17, 2011, 03:48:11 PM
Are you using an ICM? do you have anything plug into the "Abort"? You said that Galiltools works fine, so I'm thinking that "Abort" isn't active. I had a problem with my E-stop hooked to abort and putting the Galil in an e-stop state. My E-stop is a normally closed switch, but Galil (at least on my DMC-2162) said the E-stop needs to be normally open. I posted on Galil's site for a work around, but I haven't got to that stage yet.



Aero
Title: Re: Galil registry in Windows 7
Post by: Swap_File on July 12, 2011, 03:44:15 PM
I am trying to use a Galil 1425 with Mach3 in Windows XP.

With the standard Galil plugin I can only jog.  MDI commands do not work.

With smurph's Galil plugin everything works.

Any idea what is going on?

The standard plugin works fine with my other 1800 and 2100 series controllers.
Title: Re: Galil registry in Windows 7
Post by: kcrouch on July 13, 2011, 05:43:10 PM
Swap,
The standard plugin duesn't support the 1425. Smurph and I made a special version that does support the 1425, but it is not currently in the downloadable plugin. There are lots of other improvements awaiting the next release. Probably will happen later this summer.

Kenny
Title: Re: Galil registry in Windows 7
Post by: Swap_File on August 02, 2011, 01:40:36 PM
Any way that I could I get a copy of this special version for testing?

Otherwise I can stick with the Windows 7 64 bit version.  It seems to be working for now.
Title: Re: Galil registry in Windows 7
Post by: Swap_File on August 02, 2011, 02:07:56 PM
It seems to be working for now.

Correction: It seems to work for the most part, but sometimes I get

Galil Error: a time-out occurred while waitinf for a responce from the controller
Title: Re: Galil registry in Windows 7
Post by: kcrouch on August 02, 2011, 03:59:27 PM
You can try this one. See attached.
Kenny
Title: Re: Galil registry in Windows 7
Post by: Swap_File on August 04, 2011, 09:13:45 AM
Thanks a bunch, it's working great on two machines.  I'll let you know if I have any problems.
Title: Re: Galil registry in Windows 7
Post by: Swap_File on August 16, 2011, 02:45:11 PM
I have noticed an intermittent problem.  Sometimes movements in the Y direction just stop being executed.  The other 1425 I helped set up might be having the same problem, but its not near by to test with.


Example:  I can hold down the arrow key, and it will just stop jogging.  If I let go and press it again it will start jogging again.

I swapped the X and Y output and encoder inputs on my Break out box, and the problem switched to the other Axis.  This tells me its a problem in my motion controller or computer.

I swapped to another Galil 1425, and it also had the problem

I made a new profile in Mach3, it still did it.  I checked out galildebug.txt and it showed the proper commands.

I tried the stable and the experimental version of Mach 3, both had the problem.  Then I tried V4.3, V4.4, and the special version of V4.4 of galil.dll that was posted above.  All did the same thing.



Then I tried changing the Axis Mapping in the Galil Plugin.  This is where things get interesting.

When X is mapped to X, and Y to Y, I have intermittent problems with Y's motion stopping.

When X is mapped to Y, and Y to X, when I jog X on the computer, it will move Y on the machine, but only in one direction.  In the other direction it goes about .0002 and stops.

I'm slowly getting this tracked down, but if anyone has any ideas im open to ideas.
Title: Re: Galil registry in Windows 7
Post by: Swap_File on August 16, 2011, 04:38:20 PM
After combing through galildebug.txt some more I think I found a bug:

MG_BAB                                                       Slots=000  Response=" 0.0000:"  <ResetControl()>
SP ,30000003000000                                           Slots=000  Response="?"  <ResetControl()>
 Emessage = "6 Number out of range."
FL ,21474836472147483647                                     Slots=000  Response=":"  <DisableSoftLimits() State.nAixs = 2>
BL ,-2147483648-2147483648                                   Slots=000  Response=":"  <DisableSoftLimits() State.nAixs = 2>
GM ,00                                                       Slots=000  Response=":"  <SlaveALL(false)>
GR ,00                                                       Slots=000  Response=":"  <SlaveALL(false)>
DP ,6710151770                                               Slots=000  Response=":"  <ResetControl()>

The comma is in the wrong place on these lines.

I got similar results with all three versions of the Galil.dll that I had access to.  Is this a problem in the DLL or with Mach3?
Title: Re: Galil registry in Windows 7
Post by: kcrouch on August 17, 2011, 08:17:56 AM
This has been seen before. I can't remember exactly what caused it, but it was somehow related to there being more than two axes enabled in either Mach3 or the plugin, or both. Please make sure that axes other than x and y are  disabled and let me know what happens in the debug file.
Kenny
Title: Re: Galil registry in Windows 7
Post by: Swap_File on August 18, 2011, 07:51:16 AM
Everything appeared to be set correctly, so I changed the every axis in the galil plugin to some other setting, saved it, and then changed them all back to the correct setting.

That seemed to fix it.  No idea what caused it.