Machsupport Forum

Third party software and hardware support forums. => Galil => Topic started by: pointcloud on July 10, 2008, 07:47:53 PM

Title: Is it true about Galil plugin?
Post by: pointcloud on July 10, 2008, 07:47:53 PM
I have now gotten my machine up and running Flawlessly well on Sunday... Not one problem... I installed the home switches one at a time checking each as they were hooked up.. It all worked great until I started it up today... It was ok on Tuesday, infact it ran for a 6 hour program with no problems....Now today when I started it up I ran out X,Y,and Z then checked the homeing as I was planning on setting up a fixture with some manual tool changes and a few of the same part...

At first it homed Z fine, then X went the opisite direction.. When it came to Y it moved a few inches pretty quick and stopped... Nothing was working properly at this time.. No moves possable, with the Shuttle pro, or the tab control... I hit the ESC key and it scrolled SCRIPT TERMINATED across the bottom and then I could move the machine, but did not have any movement in the DRO...

I checked ports pins and homeing limits.. I got the X going the correct direction, but then Z tryed to home - .....

I had to stop for other business but at the time I stopped messing with it it would not home any of the axis... any attempt would cause some script to not complete its task, seemingly locking it down.....

I still have Camsoft installed, the machine runs in the same manner as before the installation of Mach with camsoft....  Why??? I hate some of the camsoft features, and Mach ran so much better than camsoft..... Help!!!!!!!!!!!.?>?>?>?
Title: Re: Is it true about Galil plugin?
Post by: Chaoticone on July 10, 2008, 08:34:14 PM
Sounds to me like you may have something (another application) opening on start up interfering wiht Mach. Do me a favor. Go to the downloads section and get the optimazation instructions. Disable everything on start up and see if that cures it. Let us know how you make out please.  :)

Brett
Title: Re: Is it true about Galil plugin?
Post by: pointcloud on July 10, 2008, 08:37:47 PM
Will DO...
Title: Re: Is it true about Galil plugin?
Post by: pointcloud on July 11, 2008, 01:55:10 PM
I have had some troubles getting back on the forum... But I read all the directions, but I guess you must not be to familiar with Camsoft? Camsoft will screw up if you use an electric sparcking lighter for a cigerette... HAHAHAH Not really that funny to me....

I had already done all that....

I ran a code on Monday that took 4 hours, I tried to run the same one and it would stop.... line 10920 and I would restart only to have it stop again later in the program at random... I was just running it in that air, no spindle in use...

I do not think it is the switches, the motors, the encoders, the galil, or anything else that Camsoft uses.. As in Camsoft I do not have this problem???
Title: Re: Is it true about Galil plugin?
Post by: pointcloud on July 11, 2008, 01:58:36 PM
Just wondering if there was anybody around me that might take a look? addy 6640 highway 52, Gillsville, Ga...
Title: Re: Is it true about Galil plugin?
Post by: pointcloud on July 11, 2008, 04:55:11 PM
Ok... I keep trying...

I just restarted the entire system and G0X10Y10Z.25 skips X and Y and only moves Z?

G0Y10 is nothing, but it does say "24 no sequence to begin d" I think this is correct, it may be a little off but thats pretty much what is says.. Next time I am out there I'll WRITE it down....
Title: Re: Is it true about Galil plugin?
Post by: Chaoticone on July 11, 2008, 08:53:34 PM
Quote
I still have Camsoft installed, the machine runs in the same manner as before the installation of Mach with camsoft...

Quote
I had already done all that....

I'm a little cofused. Do you have Camsoft on the same PC as Mach? Not sure but thinking this may be part of the trouble, just thinking about both drivers maybe conflicting with one another.

Do you have another PC you can install Mach on to test with?

Brett

Title: Re: Is it true about Galil plugin?
Post by: pointcloud on July 11, 2008, 09:02:25 PM
I do have them on the same computer BUT... When you close Camsoft it completely closes, just like smart term, or wsdk... As if you were to try and run any two of those there would be a huge confilct..

And no because of the 100pin pci card....
Title: Re: Is it true about Galil plugin?
Post by: Brian Barker on July 11, 2008, 10:57:43 PM
Hello,
You should be able to have both controllers on the same machine (I have seen it work in the past :) ). So the question is , what in the heck is going on!.. Could you please do a few test for me and we will see if you have settings that are in your Galil but are not burned into the eprom. Please power down for a minimum of 5 min and restart the system Try to run mach3 and do some MDI moves. Now shutdown Mach3 and start Camsoft and then close Camsoft. Run mach3 again (do not restart the computer) Will to run now? if so that may be a mode being set in the Galil...

Now one more thing, what do you have for a Galil? By any chance would this happen to be a 21XX ethernet board :)

Thanks
Brian
Title: Re: Is it true about Galil plugin?
Post by: pointcloud on July 12, 2008, 07:09:46 AM
I have a 18x2 4 axis..


Ill try in a few minutes...
Title: Re: Is it true about Galil plugin?
Post by: pointcloud on July 12, 2008, 10:48:33 AM
Ok.... I got it....

lot of choices?

I had 1 of the switches NO, and the others NC....

In the plugin it asks to have them all Active Low....

In ports/pins you have the option for Active low too...

They all have to be the same..... Including the swictches...

I hope this was it, I still do not understand why it ran so well on Sunday and Tuesday????

Btw:Camsoft had really no effect in doing the requested tests....

My suggestion to anyone else... Set all active low in both places, hook the switches up NC (normally closed) because Galil likes NC...

I may be back on this, but all wish me luck......
Title: Re: Is it true about Galil plugin?
Post by: pointcloud on July 14, 2008, 05:11:16 PM
Is there any reason that the referance all will start the homing sequence, but after hitting the first switch not back off the switch and lock up the rest of mach.. This is where the esc key is used...

Now if I referance Z then X, Y in any order but one at a time it will work?

Ideas???
Title: Re: Is it true about Galil plugin?
Post by: Chaoticone on July 14, 2008, 05:51:40 PM
I have seen noisy switches do this on PP systems but not sure it will pertain to the Galil. You using the default screen set?

Brett
Title: Re: Is it true about Galil plugin?
Post by: pointcloud on July 14, 2008, 07:20:10 PM
No.. I have the blue screen set
Title: Re: Is it true about Galil plugin?
Post by: Brian Barker on July 14, 2008, 08:26:48 PM
Hello,
You need to home only one axis at a time with the Galil :( This is a limitation of the Galil..
Thanks
Brian
Title: Re: Is it true about Galil plugin?
Post by: pointcloud on July 15, 2008, 06:03:50 AM
Limitation?

That doesn't make much since? But your the one who knows...



Title: Re: Is it true about Galil plugin?
Post by: Brian Barker on July 15, 2008, 08:59:36 AM
The sequencer that runs the homing cycle is not capable of processing simultaneous homing. With a rewrite of that section it is posable to make it work BUT it works very well as it is now and I don't want to break it :).
Thanks
Brian
Title: Re: Is it true about Galil plugin?
Post by: pointcloud on July 15, 2008, 12:29:35 PM
How does it work well? It will not work unless you do one at a time?
Title: Re: Is it true about Galil plugin?
Post by: Brian Barker on July 15, 2008, 12:46:29 PM
It woeks well if you do it one axis at a time, Multi Axis homing should not kill a machine :) You should only need to home the machine when you power it up..
Thanks
Brian
Title: Re: Is it true about Galil plugin?
Post by: pointcloud on July 15, 2008, 05:33:13 PM
The only reason I use the home referance would be for a fixture, in which case I need to ref all axis home.

I also wanted to check up the machine during a very long program...

It does not kill it, it hangs up on the script some how... If you hit the ref all button, it will start with Z but when it touches the switch it will not back off, causing the machine to do nothing until you hit esc... but it will not continue the sequance as it has been stopped...
Title: Re: Is it true about Galil plugin?
Post by: Brian Barker on July 15, 2008, 07:30:11 PM
WE will need to change your scrip to make it home one axis at a time.. This has been tested on many machines so it "should" work.... Also please tell me if you see the LED for Axis home change to Green.

And please do as the previous post suggested and try homing them one axis at a time.
Thanks
Brian
Title: Re: Is it true about Galil plugin?
Post by: pointcloud on July 15, 2008, 07:36:11 PM
Yes they do go green if I home one axis at a time..

Thank you VERY MUCH for your help....
Title: Re: Is it true about Galil plugin?
Post by: Brian Barker on July 15, 2008, 08:41:20 PM
Okay.. So now we need to see what is in your ReffAll Button..  Do you have any Reffcombination() in the button script or and OEM code that makes them all home at the same time? We should be able to make this work with the following code for you :

DoButton( 24 )
DoButton( 23 )
DoButton( 22 )
DoButton( 25 )

Please have this VB code in the button and it should make it so you can have one button home the machine .
Thanks
Brian
Title: Re: Is it true about Galil plugin?
Post by: pointcloud on July 15, 2008, 08:56:26 PM
will check tomorrow.... 530am comes quick.... Thanks again for all your HELP...
Title: Re: Is it true about Galil plugin?
Post by: pointcloud on July 16, 2008, 04:54:35 PM
DoButton( 24 )
DoButton( 23 )
DoButton( 22 )
DoButton( 25 )
 this is what the button script was already?

What do the numbers reprasent? is it 24=Z,23=X, 22=YAnd25=A.... A does not have a switch...
Title: Re: Is it true about Galil plugin?
Post by: Brian Barker on July 16, 2008, 05:39:07 PM
Hello,
Yes that is correct for the Axis numbers..

IF you would like you can delete the one for the A axis..

Thanks
Brian
Title: Re: Is it true about Galil plugin?
Post by: pointcloud on July 16, 2008, 06:08:55 PM
Would that affect it?
Title: Re: Is it true about Galil plugin?
Post by: Brian Barker on July 16, 2008, 10:12:10 PM
It should not try to home the axis if you do not have it selected in Ports and pins..  So there should be no effect ;)
Thanks
Brian
Title: Re: Is it true about Galil plugin?
Post by: pointcloud on July 17, 2008, 06:11:45 AM
So your saying that is will not work, because it already had what you wanted me to change it to?
Title: Re: Is it true about Galil plugin?
Post by: Chaoticone on July 17, 2008, 07:06:28 AM
Homeing the A axis is the DoButton 25 line. If you don't want it to try to home the a axis you can make sure you either delete that line in the button script or Make sure the a axis home switch isn't enabled in ports and pins.

Brett
Title: Re: Is it true about Galil plugin?
Post by: pointcloud on July 17, 2008, 12:05:54 PM
Ok we kind wondered off...

I want to use one button to home 3 axis. XY and Z. I have the ports and pins set correctly, including the A it is not activated in mach.

The problem is if you referance 1 axis at a time you can get through all 3, but if you ref all home it will start the sequance and then after hitting the Z home, it refuses to go any further...

All axis are still active with galil, there is no galil fault.

If I hit the ESC key it will not continue because the sequance was stopped.. If you hit ref all home again it will back off the switch and stop.. Then I haave to hit ESC again... It will do the samething with X then Y...

You can ref all home if you do it 1 axis at a time, in the setting screen.... No problems at all that way...

It is not really a problem if I can not get the ONE button approach to work, UNLESS the problem can be somewhere else??? Like refrancing during a tool change(manual), during a long program just to make sure 100% each segment is correct... It is a really pain to have a 12, 18, or even a 24 hour program loose position...

Title: Re: Is it true about Galil plugin?
Post by: Brian Barker on July 17, 2008, 12:32:50 PM
Hello,
I have a Galil here and a router that I run it with .. I will connect it up and home the machine and tell you if I see any trouble here. This has worked in the past and I have no idea why it is not working for you now.. So if you could please be sure you are running rev 3.041 and I will see if I can have it happen to me.
Thanks
Brian
Title: Re: Is it true about Galil plugin?
Post by: pointcloud on July 17, 2008, 03:28:38 PM
R2.63, I am updating...
Title: Re: Is it true about Galil plugin?
Post by: pointcloud on July 17, 2008, 04:49:20 PM
Thaty was to easy.... Something has to go wrong...... at least once...LOL..


Thanks MUCH,
Marc Craven
Title: Re: Is it true about Galil plugin?
Post by: Brian Barker on July 17, 2008, 11:11:09 PM
Okay, Do I need to test for any other problems that you are seeing with the homing?
Thanks
Brian
Title: Re: Is it true about Galil plugin?
Post by: pointcloud on July 18, 2008, 04:44:46 PM
Not yet....

Not sure how to thank you for all your help... BUT THANKS>>>THANKS...
Title: Re: Is it true about Galil plugin?
Post by: HillBilly on July 24, 2008, 02:00:03 PM
Mine still hangs every now and then after updating to R3.041. It seems to do it less if I home V and U first.

Darek
Title: Re: Is it true about Galil plugin?
Post by: pointcloud on July 24, 2008, 04:55:11 PM
I think it maybe related to a program end?

What exactly is the best program end???? that'll stop any modal functions, that could still be active?
Title: Re: Is it true about Galil plugin?
Post by: Overloaded on July 24, 2008, 05:09:42 PM
I've seen the cancellations commonly addressed in the Initialization string of the program.
I suppose you could include them in the M30 macro, or make up a custom macro to suit.
You can set a few to M30 in Config.
Just thinking out loud here.
RC
Title: Re: Is it true about Galil plugin?
Post by: HillBilly on July 24, 2008, 07:41:47 PM
I think it maybe related to a program end?

What exactly is the best program end???? that'll stop any modal functions, that could still be active?

I was refering to the homing sequence hitting the home switch and not backing off. Not sure if the Modal state of G codes would apply to this. I am also homing the axis one at a time with different buttons.

Darek
Title: Re: Is it true about Galil plugin?
Post by: pointcloud on July 25, 2008, 06:09:21 AM
Sure...

Me too..

But if I hit ref all before a program is loaded it works every time.. If it is after a program and I hit ref all sometimes it works like a charm and sometimes it don't.
Title: Re: Is it true about Galil plugin?
Post by: HillBilly on July 25, 2008, 06:58:55 AM
Mmmm, That is interesting. Mine seems to do it at any point and then sometimes it works fine?????

I am going to try a different PC and see what happens. I am using one of the MachMotion PC's now.

Did yours get better after updating the software to R3.041?

Darek
Title: Re: Is it true about Galil plugin?
Post by: Brian Barker on July 25, 2008, 09:50:43 AM
Hello,
That is odd... Could you please see if you jog before you home if that will fix it? I am thinking that we have a mode in the Galil that is not getting set and jogging may set it :)

Thanks
Brian
Title: Re: Is it true about Galil plugin?
Post by: pointcloud on July 25, 2008, 06:24:25 PM
Yes and no? But me changing computers would be a headache and a half.....

Brian I will try that as soon as I get time away from my office.pluuuu...
Title: Re: Is it true about Galil plugin?
Post by: HillBilly on July 27, 2008, 08:50:36 AM
Brian,

The travels are long on this machine so we usually jog it close to the switches before homing. When it hangs I have to exit  and restart Mach3 before it will attempt to home again. I have to jog off the home switch at this point to re-home. I am using external buttons through Modbus, brains and OEMButtons to jog, don't know if that makes a difference.

Pointcloud,

I read where you have the PCI card. I am using the DMC-2183 with ethernet connection. Trying a different PC will be allot easier for me.

Darek

Title: Re: Is it true about Galil plugin?
Post by: Brian Barker on July 27, 2008, 11:12:43 AM
That seems odd.. I would think that may be a noise problem.. we could make a bit of code to test the inputs and tell if they ever see the input go high...
Thanks
Brian
Title: Re: Is it true about Galil plugin?
Post by: pointcloud on July 27, 2008, 02:44:55 PM
Just ESC instead of exiting? That way you will not loose positioning? Or your offsets????

Still have not made it back to the shop....
Title: Re: Is it true about Galil plugin?
Post by: HillBilly on July 29, 2008, 03:39:03 PM
ESC will let it jog again but it will not try to home again untill I exit Mach. If I try home after ESC it will not jog until I hit ESC again.

I will check for noise also. I am using the opto board which specs 1mA for input current, approximately 2v but I have found they will trigger at lower voltages.

Darek
Title: Re: Is it true about Galil plugin?
Post by: Brian Barker on July 29, 2008, 03:51:42 PM
Sounds to me like I should be able to fix it in code too.. You should be able to press Escape and have that fix it!...
I need to take the Galil test board down to the router and hook it up.. Could you please tell me what you are doing to make it fail?

Thanks
Brian
Title: Re: Is it true about Galil plugin?
Post by: pointcloud on July 29, 2008, 05:32:33 PM
Wow.. Esc worked for me?

I will be running a part Friday, I hope... So I'll see what happens in my case...



Title: Re: Is it true about Galil plugin?
Post by: HillBilly on July 29, 2008, 06:10:39 PM
I turn it on, go to the DIAGNOSTICS screen, jog the axis close to the home switches and then home the axis one at a time with there respective buttons.

I am using all six axis but only homing the first five. I turned off the find index feature in the plugin also.

Darek