Hello Guest it is October 21, 2019, 09:18:44 AM

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

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.


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

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.


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
OFE=9.998  // command 10v to axis E MOCMD

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


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.



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.


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:


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.


Galil / Re: Mach3 with a DMC-2162 (Aero)
« on: February 14, 2011, 04:59:24 PM »
You will want to set your spindle acceleration to something other than 0.  That may be why it gets faster as you leave it on.  It's simply taking forever to reach the target speed.


Galil / Re: Mach3 with a DMC-2162 (Aero)
« on: February 14, 2011, 03:52:39 PM »
The spindle in the Galil plugin uses a +-10 signal (just like a servo drive) when an encoder on the spindle is specified.  If your spindle drive is 0 to 10v, then there will be issues reversing speed. 

If your spindle runs away, then swap the A & B encoder signals and try it again.  In the Galil, we use the JG command to control the spindle speed when there is an encoder on the spindle.  So it's operating like a servo, which requires that the encoder signal track the correct direction of the motor.  Otherwise, the following error increases and the PID loop ramps the voltage up to try and decrease the following error.  So if the encoder tracking is backwards, the following error always increases.


Galil / Re: Fanuc 3 axis drive
« on: February 13, 2011, 03:07:16 PM »
Unfortunately, no one has done this to my knowledge.  So everything here is pure speculation.  And I have no idea what those motors require.  There are a couple of guys on the CNCZone that may be able to answer your questions about the drives and the motors.


Galil / Re: Fanuc 3 axis drive
« on: February 13, 2011, 01:51:04 AM »
You were talking to the manual source (Fanuc).  :)

There may be more to it than a converter board.  Those drives are digital and may use a very proprietary means of communication.  The manual is key to finding out if it can be done at all.  If it can work, then you can search for analog to PWM converters that may work based on the information in the manual.


Galil / Re: Fanuc 3 axis drive
« on: February 12, 2011, 09:27:36 PM »
You could probably do an analog to PWM converter circuit.  But you would need to know the PWM range that the drive uses.  Hence the need for a manual.