Re: [Emc-users] Bridgeport spindle encoder

2010-05-07 Thread Jon Elson
Well, I finally got to test out the rigid tapping on real material, and it works great! I did 96 2-56 holes. Since it was thick material, I couldn't use the combined drill-taps, they are rated for 2 X the major diameter, and will do a little more if you are careful. You have to drill at a low

Re: [Emc-users] Bridgeport spindle encoder

2010-04-30 Thread John Kasunich
On Thu, 29 Apr 2010 23:33 -0500, Jon Elson el...@pico-systems.com wrote: My first cut at rigid tapping just jammed the VFD from forward to reverse command, which was so abrupt it caused Z-axis following errors at higher spindle speeds. I have a lowpass component in there also to make

Re: [Emc-users] Bridgeport spindle encoder

2010-04-30 Thread Kirk Wallace
On Fri, 2010-04-30 at 10:42 -0400, John Kasunich wrote: ... snip 2) Most VFDs let you set a ramp rate as a configuration parameter, so you don't need either the lowpass or the limit block in HAL. ... snip Being able to set the ramp for different operations would be nice, maybe in g-code? --

Re: [Emc-users] Bridgeport spindle encoder

2010-04-30 Thread Jon Elson
John Kasunich wrote: 1) The lowpass component generates an exponential response, with the speed changing rapidly at the beginning of the transition and slowly at the end. If you use a limit2 block, the speed ramp rate will be constant. Yes, I am aware of this, it was pointed out to me after I

Re: [Emc-users] Bridgeport spindle encoder

2010-04-30 Thread Jon Elson
Kirk Wallace wrote: Being able to set the ramp for different operations would be nice, maybe in g-code? Is there a way to set an arbitrary HAL parameter from G-code? I guess with macros you can do it. Jon --

Re: [Emc-users] Bridgeport spindle encoder

2010-04-30 Thread John Kasunich
On Fri, 30 Apr 2010 11:00 -0500, Jon Elson el...@pico-systems.com wrote: Kirk Wallace wrote: Being able to set the ramp for different operations would be nice, maybe in g-code? Is there a way to set an arbitrary HAL parameter from G-code? I guess with macros you can do it. The

Re: [Emc-users] Bridgeport spindle encoder

2010-04-30 Thread Andy Pugh
On 30 April 2010 20:28, John Kasunich jmkasun...@fastmail.fm wrote: The only way I know of would be with a custom M1xx code.  It would invoke a script that does helcmd setp the-param the-value It seems odd that we can read DIO, write DIO and write AIO. There is an asymmetry there. Would it be

Re: [Emc-users] Bridgeport spindle encoder

2010-04-30 Thread Jon Elson
John Kasunich wrote: The only way I know of would be with a custom M1xx code. It would invoke a script that does helcmd setp the-param the-value The value could come from a g-code and be passed to M1xx as a P or Q word. I don't see any way to pass the name though - each M1xx command would

Re: [Emc-users] Bridgeport spindle encoder

2010-04-29 Thread Jon Elson
I have wired up one of the PPMC DAC channels to control the VFD, and added an abs HAL component to get the unipolar spindle speed command. My first cut at rigid tapping just jammed the VFD from forward to reverse command, which was so abrupt it caused Z-axis following errors at higher spindle

Re: [Emc-users] Bridgeport spindle encoder

2010-04-23 Thread Andy Pugh
On 23 April 2010 04:00, Jon Elson el...@pico-systems.com wrote: Andy Pugh wrote: ... with closed-loop spindle control you will automatically get the spindle speed you ask for in the G-code regardless of which pulley and back-gear combination you have selected, I understand the concept, but

Re: [Emc-users] Bridgeport spindle encoder

2010-04-23 Thread Jon Elson
Andy Pugh wrote: As for speed signal noise, my speed signal is fairly random, (it is a home-made encoder ring with slot-sensors) but using the right PID values seems to filter that effect adequately. Well, I guess I will have to try this out. I have just thought of another way of doing the

Re: [Emc-users] Bridgeport spindle encoder

2010-04-23 Thread RogerN
- Original Message - From: Jon Elson el...@pico-systems.com To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net Sent: Friday, April 23, 2010 11:23 AM Subject: Re: [Emc-users] Bridgeport spindle encoder Andy Pugh wrote: As for speed signal noise, my speed signal

Re: [Emc-users] Bridgeport spindle encoder

2010-04-23 Thread Jon Elson
RogerN wrote: I use speed feedback on my lathe, filtered it using existing Hal functions. On threading my counter gets reset (spindle encoder) and would be an enormous negative speed, I limited the rate of change of speed to be realistic, I don't allow it to go from 800rpm forward to

Re: [Emc-users] Bridgeport spindle encoder

2010-04-22 Thread Andy Pugh
On 22 April 2010 04:16, Jon Elson el...@pico-systems.com wrote: I have 8 gears, really 4 belt positions and direct-drive or back-gear.  I've been thinking of putting a microswitch on the backgear handle and some long-distance photo detectors to sense the belt position.  Then this would feed

Re: [Emc-users] Bridgeport spindle encoder

2010-04-22 Thread Jon Elson
Andy Pugh wrote: Thing is, once you are doing that HAL-fiddling you might as well just be running closed loop on the spindle speed which also automatically increases the slip speed as the load increases. I've had a tach on my Bridgeport for some time. I have noticed a drop of about 3 RPM

Re: [Emc-users] Bridgeport spindle encoder

2010-04-22 Thread Andy Pugh
On 22 April 2010 17:19, Jon Elson el...@pico-systems.com wrote: Andy Pugh wrote: Thing is, once you are doing that HAL-fiddling you might as well just be running closed loop on the spindle speed I've had a tach on my Bridgeport for some time.  I have noticed a drop of about 3 RPM under

Re: [Emc-users] Bridgeport spindle encoder

2010-04-22 Thread Stephen Wille Padnos
Andy Pugh wrote: [snip] And this was only ever meant to be a throwaway comment aimed at the earlier statement that an encoder with no index is no use at all. ie that you can still use such an encoder to control and measure spindle speed. I think Jon's original comment was meant to say

Re: [Emc-users] Bridgeport spindle encoder

2010-04-22 Thread Jon Elson
Andy Pugh wrote: I seem to be failing to express myself clearly. What I am saying is that with closed-loop spindle control you will automatically get the spindle speed you ask for in the G-code regardless of which pulley and back-gear combination you have selected, as long as the speed

Re: [Emc-users] Bridgeport spindle encoder

2010-04-22 Thread Jon Elson
Stephen Wille Padnos wrote: I think Jon's original comment was meant to say that a spindle encoder without index is no use at all for rigid tapping. Not that there is no use whatsoever for a spindle encoder without index. Yup, that is my mindset right now, getting rigid tapping working

Re: [Emc-users] Bridgeport spindle encoder

2010-04-21 Thread Jon Elson
Kirk Wallace wrote: Good job. I'm looking forward to your write up. Is there an index on your spindle encoder? It is worthless without the index. See http://pico-systems.com/bridge_spindle.html for the pics and info. Jon

Re: [Emc-users] Bridgeport spindle encoder

2010-04-21 Thread Andy Pugh
On 21 April 2010 16:48, Jon Elson el...@pico-systems.com wrote: It is worthless without the index. Not entirely worthless, you could still use if for closed-loop spindle speed control. This actually makes some sense with a geared head like the Bridgeport. My mill has two gears, but it doesn't

Re: [Emc-users] Bridgeport spindle encoder

2010-04-21 Thread Jon Elson
Andy Pugh wrote: On 21 April 2010 16:48, Jon Elson el...@pico-systems.com wrote: It is worthless without the index. Not entirely worthless, you could still use if for closed-loop spindle speed control. This actually makes some sense with a geared head like the Bridgeport. My mill

[Emc-users] Bridgeport spindle encoder

2010-04-20 Thread Jon Elson
Hey, I have just gotten a spindle encoder working on a Bridgeport 1J (step pulley) head. There's no sane way to couple to the spindle, the only way is to install gear tooth sensors that read the teeth of the bull gear. I am going to write up a web page on it in the next couple days. I just

Re: [Emc-users] Bridgeport spindle encoder

2010-04-20 Thread Kirk Wallace
On Tue, 2010-04-20 at 22:43 -0500, Jon Elson wrote: Hey, I have just gotten a spindle encoder working on a Bridgeport 1J (step pulley) head. ... snip Good job. I'm looking forward to your write up. Is there an index on your spindle encoder? -- Kirk Wallace