Machsupport Forum
Third party software and hardware support forums. => Galil => Topic started by: wickytje on March 13, 2012, 05:31:21 AM
-
Hi
I am working on a three axis mill , am trying mach3 galil DMC1876 combination . Spindle I could manage on W axis for 0 10v (had to do some programming on M2 and M3 to stay in CW) output 1 stop start /output2 CW CCW . Now I am experimenting with slaving Z to Y I have made with notepad a text file called GalilInit.txt with GA,,CY than saved it in to plugin folder restarted mach3 when looking into galil debug file I can’t find any GA,,CY
Can anyone help?
Firuz
-
You must use Mach3 to set up the axiis slaving, otherwise it will not survive the many resets that happen. Also the
MPG uses the gearing functions, but it checks Mach3 slaving settings and won't overwrite them.
Kenny
-
Hi Kenny
Plan is to keep slaved axis invisible for mach (slave axis will not be configured in mach )
Firuz
-
Sorry, It won't work out that way. Galil commands won't help you here.
-
Only way that can be made to work is to use a controller with 7 or 8 axes so Mach won't see them.
-
The controllers I have are 1876 and 1880 with 2xAMP1940 so I can experiment with extra axis .I used Z,Y, GA,,CY as an example for axis and commands .
Can you tell more about , ore what do I do wrong not getting any commands to controller when using Galilainit.txt
-
The controllers I have are 1876 and 1880 with 2xAMP1940 so I can experiment with extra axis .I used Z,Y, GA,,CY as an example for axis and commands .
Can you tell more about , ore what do I do wrong not getting any commands to controller when using GalilInit.txt
-
Galilinit.txt will send the commands upon startup, but they will disappear when the first reset is sent. You would be better served to have them in a downloaded Galil file which is burned into the controllers' memory and started with #AUTO as the first line. That way it will be run after any resets. Please remember what I said previously about MPG and that it uses gearing for its functions. It will stomp on any axis that Mach knows about unless the axis slaving is done within Mach.
Kenny
-
Hi Kenny
Many thanks for replays .I read prog pref and manual 18xx6 made a small program labeled it #AUTO and BP to controller . it seems to work perfectly after reset and power up .
Want to try to make homing routine for gentry in plugins ,replacing master axsis homing command in Edit button script with NotifyPlugins(3000) 3000=example will it work , any suggestions
Firuz
-
I still think that you are better off slaving the axes in Mach as it already has the ability to do squaring of the gantry when homing. It won't be obvious until you try and use an MPG why this is so important, but it really is. Lots of things can be done in the Galil, but in this case, I would let Mach do its thing. There are lots of people using slaved axes and the plugin successfully.
Kenny
-
Hi Kenny
I agree will spare me lots of time but had problem of double speed of slave axis when homing in mach . Is there any solution for this problem at this moment
btw I have very little experience with cnc i am building may first mill witch is supposed to be finished in two months ,,,,, if I can find solutions for gentry and some more
Firuz
-
Were both axes tuned the same in Mach?
-
Tuning parameter in mach master=slave
Servos and encoder type master=slave
%sp homing master=slave
Motor tuning parameter in galil master=slave
Home slave with master axis uncheck
Perform axis squaring check
-
After much discussion, I found that the slaved homing issue started with Mach3 a few releases back. I would suggest that you use an earlier release (sorry, don't knw which to recommend) until the issue is isolated and corrected. I wish that we could fix it in the plugin, but no joy at this time.
Kenny
-
I have read that you are one of authors of galilplugin and understand that there are many problems to take care about , hope you can isolate and solve this problem .
Until then I will try - earlier plugins
- geared axis squaring done in galil ( we will use mpg to test )
can you tell where to find earlier plugins and there user pdf
Firuz
-
Its not an earlier plugin, but an earler version of Mach3 that you need to look for. That is what broke the gantry mode homing.
Kenny