Hello Guest it is August 20, 2019, 10:48:19 AM

Author Topic: step and direction spindle  (Read 7671 times)

0 Members and 1 Guest are viewing this topic.

Re: step and direction spindle
« Reply #10 on: May 06, 2007, 07:39:20 PM »
Hello again Chip
I have a 728 op amp would that do?
As for the g-code dwell that is how I have my spindle  test program set up.
It starts at 100 rpm for 5 secs then reverses for 5,goes on to 500 and then 1000 and
that were it errors out,it just looks like it is not ramping down before it changes direction.
Oh well I will keep plugging away.

Thanks Rick

Offline Chip

*
  • *
  •  2,056 2,056
  • Gainesville Florida USA
    • View Profile
Re: step and direction spindle
« Reply #11 on: May 06, 2007, 08:47:06 PM »
Hi, Rick

No you need a 555 timer.

Do you have the Immediate Relay off before delay Checked in ports & pins Spindle Setup page.

Are you using an M5 in your code and the G04 Delay.

Post your code.

Sending you a Personal Msg. Top of this Page, Just above the Search Window.

Offline Chip

*
  • *
  •  2,056 2,056
  • Gainesville Florida USA
    • View Profile
Re: step and direction spindle
« Reply #12 on: May 10, 2007, 03:36:18 PM »
Hi, Rick

Have you got anything worked out yet ?

Thanks, Chip
Re: step and direction spindle
« Reply #13 on: May 10, 2007, 08:29:26 PM »
Hey Chip

I did get a chance to fool around with the circuit ,and found some values that work for the index.
However I notice at higher spindle speeds around 1000 rpm and above with a m05 the servo drive
just kicks out,but with the warm weather outside here right now I have been busy with other things.
Funny thing is if I set it up as the z axis, the motor will spin up to around 3100 rpm ,ramp and reverse
no problem. The motor is just clamp to the table for the time being,I still have more work to the z axis
set up and then I will give it another go.
  Thanks again for the help with the index.

Rick

Offline Chip

*
  • *
  •  2,056 2,056
  • Gainesville Florida USA
    • View Profile
Re: step and direction spindle
« Reply #14 on: May 10, 2007, 09:32:26 PM »
Hi, Rick

Post the values for R1 & c1 when you get a chance, Happy it works.

The M05 should turn the Spindle Off, I don't understand exactly what your saying.

If you have a Dual Trace Scope, Look at the input & output Pulses.

With a 10 turn R1, You may be able to tweak for more Speed if needed.

The ability of Mach to have time see the delay pulse & the output pulse  reseting before the next input pulse, Set the Speed Max Limit.

Thanks, Chip
Re: step and direction spindle
« Reply #15 on: May 12, 2007, 05:42:33 PM »
Hello again
 O K the resistor value is 1K and cap is 0.1 uf. This seemed to be the best values for my setup.

Rick

Rick,

Thanks, Chip
« Last Edit: May 12, 2007, 06:24:02 PM by afn09556 »

Offline olf20

*
  •  317 317
    • View Profile
Re: step and direction spindle
« Reply #16 on: May 20, 2007, 08:49:28 AM »
Here is a link that will do the calculations for the 555.
Its helpful for dummies like me.
http://www.willingtons.com/mymac/555_timer_calc.htm
olf20
Mach3, Atlas Knee Mill, 4th Axis, VcarvePro, ESS, Super PID.
Been Heating with corn since 1998