Hello Guest it is September 19, 2019, 06:00:38 PM

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

881
Galil / Re: Mach3 with a DMC-2162 (Aero)
« on: February 24, 2011, 11:14:07 AM »
Backlash is not handled for external motion controllers.  Only the printer port.  Contact Galil for a firmware upgrade that will handle backlash and screw compensation.  (They may charge for it, as it is an option when purchasing a controller from them.) 

Steve

882
Galil / Re: limits not being disabled
« on: February 19, 2011, 04:20:07 PM »
Yes, you will get an error 22 if both limits are active at the same time.  We do not use the LD command, as it is specific to the Accelera controllers only.  :(

What you could do it use the Notify commands from the RefAll button script to send your disable LD commands to the controller when the home operation starts and the re-enable LD commands when the home operation stops. 

Change the script to something like this:

Notify( 3000 ) ' disable limits for the X, Y and Z axes.
DoButton( 24 )
DoButton( 23 )
DoButton( 22 )
DoButton( 25 )
Notify( 3001 ) ' enable limits for the X, Y and Z axes.

DoOEMButton(133)
DoOEMButton(134)
DoOEMButton(135)

Then in the plugin config Notify tab, add some Galil commands to ID 3000 and 3001

3000: LD 3,3,3
3001: LD 0,0,0

But...  you will still have problems jogging off a limit switch if you hit one during normal operation.  So you may want to add a button to your screen (using screen4) and do a similar disable limits Notify call so that you can move off the switch.

Steve

883
Galil / Re: limits not being disabled
« on: February 18, 2011, 06:29:33 PM »
BTW, thanks for posting your GalilDebug.txt file.  It really helps us answer questions. 

Steve

884
Galil / Re: limits not being disabled
« on: February 18, 2011, 06:26:58 PM »
You have your + and - limits swapped.  When a limit is triggered, you can only move the axis AWAY from the switch.  Otherwise, you will get error 22. 

In your case, when the axis hit the limit, the homing routines reverse the motion.  But the the Galil thinks that the reversed motion is toward the switch!

Just re-wire to swap the limits.

Steve

885
Galil / Re: Galil registry in Windows 7
« 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

886
Galil / Re: Mach3 with a DMC-2162 (Aero)
« on: February 16, 2011, 07:36:45 PM »
I bet there is still a VFD config issue.  What is the model number of the VFD?  I'll see what I can dig up.

Steve

887
Galil / Re: Need help with basic MPG set-up and 1750 card
« on: February 16, 2011, 01:30:37 PM »
Jim,

Enable debug in the plugin config dialog and do some MPG moves.  Then send me the resulting GalilDebug.txt file.  My email address is in the plugin documentation.

Steve

888
Galil / Re: Mach3 with a DMC-2162 (Aero)
« on: February 15, 2011, 07:49:55 PM »
You need to have the stepper jumper removed from the E axis on the Galil and the E axis motor type set to "servo" in the plugin configuration.  Check that and then do this in the Galil terminal (do not enter the //<comments> I put in, just the commands):

MTE=1    // set axis E to servo motor
KPE=0    // set axis E PID to 0
KIE=0
KDE=0
OFE=9.998  // command 10v to axis E MOCMD

This should get you +10v between MOCMDX and GND.

OFE=5.0

Should get you +5v, etc...

The plugin is not programmed to do rigid tapping on anything but a servo style input.  The reason is that we use the Galil gearing to gear the spindle to the Z axis axis.  Meaning Mach has no control over the spindle while the rigid tapping operation is in progress.  When the Z axis reaches the bottom of it's movement and starts back up, the spindle needs to immediately change direction.  This requires a servo style +-10v on the spindle axis.

Steve


Steve

889
Galil / Re: Mach3 with a DMC-2162 (Aero)
« on: February 15, 2011, 03:06:26 PM »
In that case, you can't use the encoder.  So uncheck that box in the plugin config.  The plugin will then use the OF (offset) command to drive the analog voltage from 0 to 10 volts on E axis.  You would then need to configure outputs to Start/Stop and Fwd/Rev the VFD.

To sync the analog out, apply 10v to the VFD and read the RPM of the spindle.  Then, load that RPM value into the Mach Spindle Pulley config.  Do this for each pulley set that you need.  (You may note have but 1)  Then, the plugin can calculate the correct voltage to output for any given speed.

Steve

890
Galil / Re: Mach3 with a DMC-2162 (Aero)
« on: February 14, 2011, 10:51:11 PM »
If the PID is good, the encoder counts are correct and you have the accel value set, then all should work.  It's really as simple as doing:

ACE=<accel>
DCE=<accel>
JGE=<cps>
BGE

from the Galil terminal.  Which is exactly what the output is if you will take a look at your GalilDebug.txt file that you posted.  The only problem I saw was there was no accel value set.  So get it functioning from the Galil terminal and then plugi the numbers into the plugin. 

The accel/decel value is in rev/sec. which is encoder counts/sec.  AC and DC values are in cnts/sec^2.

Steve