Re: [Emc-users] Encoders

2018-06-16 Thread Gene Heskett
On Saturday 16 June 2018 21:40:08 jeremy youngs wrote:

> Gene, it was an inference I knew you would get, all those years
> working the dairy farm in upstate, I only cook with the real thing.
> Having lost my grandma,mom and my brother now type 2 I strive really
> hard to keep lean and sugar low. I gave up sodas, heavy drinking,
> breads and anything else with unnatural sugars in it. At 42, 6'1 and
> 175 I hope it helps. I think my heart will wipe me out first, 1 open
> heart surgery already logged. Heart is great it's the arteries and
> aortic aneurysm I fear will cause the long , unexpected and hopefully
> painless sleep.

I've had my own 10 minute warning buzzer, a pulmonary embolism 3 or 4 
years ago.  Not really related to me being a DM-II,  but I was taking a 
multi-vitamin that had lots of vitamin k in it, so now my daily 
pilltainer gets stocked with everything else but...

And 7.5 mg of warfarin just to make sure I'll bleed to death, but somehow 
I still clot and seal up in a couple minutes. I've had to check back in 
for a few bags of heperin a couple times since.

As far as cuts & bruises, I've outlived all my enemies but one, me.  At 
83, twice your age, and getting clumsy, because my legs are about worn 
out, I am my own worst enemy.

> Chris , oddly enough I didn't even check digikey, I just let the eBay
> rip. I'm getting consternated on this subject. I keep promising photos
> but in keeping up with the shop traffic and the 86 Chevy restoration
> and funding all of these neat things I haven't yet found the time.
> Alas the damage is done. These capacitors are screw mount so if I get
> the time between backhoe hose and 460 engine removal tomorrow I will
> post some pics . I am striving for a top performing machine and things
> keep working out do that should well happen.
> TTYL thanks guys.

We would appreciate some pix of this as it takes shape.

-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2018-06-16 Thread jeremy youngs
Gene, it was an inference I knew you would get, all those years working the
dairy farm in upstate, I only cook with the real thing.
Having lost my grandma,mom and my brother now type 2 I strive really hard
to keep lean and sugar low. I gave up sodas, heavy drinking, breads and
anything else with unnatural sugars in it. At 42, 6'1 and 175 I hope it
helps. I think my heart will wipe me out first, 1 open heart surgery
already logged. Heart is great it's the arteries and aortic aneurysm I fear
will cause the long , unexpected and hopefully painless sleep.

Chris , oddly enough I didn't even check digikey, I just let the eBay rip.
I'm getting consternated on this subject. I keep promising photos but in
keeping up with the shop traffic and the 86 Chevy restoration and funding
all of these neat things I haven't yet found the time. Alas the damage is
done. These capacitors are screw mount so if I get the time between backhoe
hose and 460 engine removal tomorrow I will post some pics . I am striving
for a top performing machine and things keep working out do that should
well happen.
TTYL thanks guys.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2018-06-16 Thread Chris Albertson
I followed the link and was shocked at the price.  Try Digikey.  They are
$0.83 and you get them fast as they are a US supplier.  Check the data
sheet to see if they work for you.

On Sat, Jun 16, 2018 at 11:49 AM jeremy youngs  wrote:

> Thank you Gene,
> eBay item # 302357383187
> These correct? If so I will get them coming.
>
> On Sat, Jun 16, 2018, 12:54 PM Gene Heskett  wrote:
>
> > On Saturday 16 June 2018 13:00:08 jeremy youngs wrote:
> >
> > > A quick Google, digikey and eBay search turned up nothing for an if357
> > > , or an irf 357 . Any other suggestions?
> >
> > Did I do a "typu"? Or is lower case confusing the issue. s/b an LF357. Or
> > if you want the most stable, highly tested version, an LF157. Check the
> > whole family, maybe a different member suits you better. Stabilization
> > networks commonly used with those old slow op-amps can be removed as a
> > general rule.
> >
> > > --
> > > Check out the vibrant tech community on one of the world's
> > > most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > > ___
> > > Emc-users mailing list
> > > Emc-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
> >
> >
> > --
> > Cheers, Gene Heskett
> > --
> > "There are four boxes to be used in defense of liberty:
> >  soap, ballot, jury, and ammo. Please use in that order."
> > -Ed Howdershelt (Author)
> > Genes Web page 
> >
> >
> >
> --
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
>
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>


-- 

Chris Albertson
Redondo Beach, California
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2018-06-16 Thread Gene Heskett
On Saturday 16 June 2018 19:42:14 jeremy youngs wrote:

> On Sat, Jun 16, 2018, 5:53 PM Gene Heskett  
wrote:
> > On Saturday 16 June 2018 14:48:27 jeremy youngs wrote:
> > > Thank you Gene,
> > > eBay item # 302357383187
> > > These correct? If so I will get them coming.
> >
> > Thats 2 for 11 bucks, for that he ought to cover the postage.  But
> > yes, thats the one I had in mind.
>
> Ordered, thanks for your advice.
>
> As to the other subject, generating a tach signal, I think in torque
> mode and the 7i90 driving it I won't need to worry about it.
>
> Now if I could find a user manual for these Western servo design bpu
> s2 32/30 drives I could cook with oleo
>
>
Nah, I've been using coconut oil for several years now.  It adds a 
sweeter taste to my pork chops and fried eggs. And its lots healthier. 
And doesn't run my sugar up either.

I'm a DM-II diabetic. 
> --
> Check out the vibrant tech community on one of the world's
> most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users



-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2018-06-16 Thread jeremy youngs
On Sat, Jun 16, 2018, 5:53 PM Gene Heskett  wrote:

> On Saturday 16 June 2018 14:48:27 jeremy youngs wrote:
>
> > Thank you Gene,
> > eBay item # 302357383187
> > These correct? If so I will get them coming.
>
> Thats 2 for 11 bucks, for that he ought to cover the postage.  But yes,
> thats the one I had in mind.
>

Ordered, thanks for your advice.

As to the other subject, generating a tach signal, I think in torque mode
and the 7i90 driving it I won't need to worry about it.

Now if I could find a user manual for these Western servo design bpu s2
32/30 drives I could cook with oleo

>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2018-06-16 Thread Gene Heskett
On Saturday 16 June 2018 14:48:27 jeremy youngs wrote:

> Thank you Gene,
> eBay item # 302357383187
> These correct? If so I will get them coming.

Thats 2 for 11 bucks, for that he ought to cover the postage.  But yes, 
thats the one I had in mind.

> On Sat, Jun 16, 2018, 12:54 PM Gene Heskett  
wrote:
> > On Saturday 16 June 2018 13:00:08 jeremy youngs wrote:
> > > A quick Google, digikey and eBay search turned up nothing for an
> > > if357 , or an irf 357 . Any other suggestions?
> >
> > Did I do a "typu"? Or is lower case confusing the issue. s/b an
> > LF357. Or if you want the most stable, highly tested version, an
> > LF157. Check the whole family, maybe a different member suits you
> > better. Stabilization networks commonly used with those old slow
> > op-amps can be removed as a general rule.
> >
> > > --
> > >  Check out the vibrant tech community on one of the
> > > world's most engaging tech sites, Slashdot.org!
> > > http://sdm.link/slashdot
> > > ___
> > > Emc-users mailing list
> > > Emc-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
> > --
> > Cheers, Gene Heskett
> > --
> > "There are four boxes to be used in defense of liberty:
> >  soap, ballot, jury, and ammo. Please use in that order."
> > -Ed Howdershelt (Author)
> > Genes Web page 
> >
> >
> > 
> >-- Check out the vibrant tech community on one of the world's
> > most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
>
> --
> Check out the vibrant tech community on one of the world's
> most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users



-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2018-06-16 Thread Gene Heskett
On Saturday 16 June 2018 14:06:51 Chris Albertson wrote:

> On Sat, Jun 16, 2018 at 1:23 AM Gene Heskett  
wrote:
> > On Friday 15 June 2018 23:53:03 Chris Albertson wrote:
> >
> >
> > By using pdm/pwm in the pwmgens. At 50 kilohertz, then integrating
> > that to get your analog voltage. But no not pass the raw signal thru
> > an opto-isolator, the control linearity will be destroyed.
>
> Why is that?  Let's assume you have onto-isolater that are fast enough
> for the signals.  It seems that at most they would introduce a delay.
>
Except the on delay is not the same as the off delay. Based on running 
the pwd at a high enough frequency to get smooth control in the first 
place.  Even a 1 kilohertz pwm is fast enough to demo the effect, and at 
1 kilohertz by the time its been smoothed to the analog equ, control 
bandwidth is in the toilet. Take the opto's  out of the circuit, and run 
the pwm at 50 kilohertz, and you've then got control bandwidth to throw 
away. At 50 kilohertz, a .01% duty cycle gets you 15 to 20 revs at the 
motor shaft. With the lag of the opto's added, running at 1 kilohertz, 
it may take 5% duty cycle just to wake up the motor. Haveing the opto's 
confusing the issue you don't need.

> I do agree that you don't need an opto-isolator for an optical
> encoder.

That depends on the encoders resolution and how fast its spinning. Take 
the opto's out, and bingo, linear encoder response to 100 kilohertz or 
more. With the opto's the signals got lost at 240 rpms at the spindle, 
and the spindle went wide open.  Now I can request 20 rpm in high gear, 
and I cannot stop the spindle by grabbing it.  Burn up my hand maybe.

-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2018-06-16 Thread jeremy youngs
Thank you Gene,
eBay item # 302357383187
These correct? If so I will get them coming.

On Sat, Jun 16, 2018, 12:54 PM Gene Heskett  wrote:

> On Saturday 16 June 2018 13:00:08 jeremy youngs wrote:
>
> > A quick Google, digikey and eBay search turned up nothing for an if357
> > , or an irf 357 . Any other suggestions?
>
> Did I do a "typu"? Or is lower case confusing the issue. s/b an LF357. Or
> if you want the most stable, highly tested version, an LF157. Check the
> whole family, maybe a different member suits you better. Stabilization
> networks commonly used with those old slow op-amps can be removed as a
> general rule.
>
> > --
> > Check out the vibrant tech community on one of the world's
> > most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
>
>
>
> --
> Cheers, Gene Heskett
> --
> "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author)
> Genes Web page 
>
>
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2018-06-16 Thread Eric Keller
he apparently searched for 'if' which isn't going to work

On Sat, Jun 16, 2018 at 1:53 PM, Gene Heskett  wrote:

> On Saturday 16 June 2018 13:00:08 jeremy youngs wrote:
>
> > A quick Google, digikey and eBay search turned up nothing for an if357
> > , or an irf 357 . Any other suggestions?
>
> Did I do a "typu"? Or is lower case confusing the issue. s/b an LF357. Or
> if you want the most stable, highly tested version, an LF157. Check the
> whole family, maybe a different member suits you better. Stabilization
> networks commonly used with those old slow op-amps can be removed as a
> general rule.
>
> > --
> > Check out the vibrant tech community on one of the world's
> > most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
>
>
>
> --
> Cheers, Gene Heskett
> --
> "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author)
> Genes Web page 
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2018-06-16 Thread Chris Albertson
On Sat, Jun 16, 2018 at 1:23 AM Gene Heskett  wrote:

> On Friday 15 June 2018 23:53:03 Chris Albertson wrote:
>
>
> By using pdm/pwm in the pwmgens. At 50 kilohertz, then integrating that
> to get your analog voltage. But no not pass the raw signal thru an
> opto-isolator, the control linearity will be destroyed.


Why is that?  Let's assume you have onto-isolater that are fast enough for
the signals.  It seems that at most they would introduce a delay.

I do agree that you don't need an opto-isolator for an optical encoder.
-- 

Chris Albertson
Redondo Beach, California
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2018-06-16 Thread Gene Heskett
On Saturday 16 June 2018 13:00:08 jeremy youngs wrote:

> A quick Google, digikey and eBay search turned up nothing for an if357
> , or an irf 357 . Any other suggestions?

Did I do a "typu"? Or is lower case confusing the issue. s/b an LF357. Or 
if you want the most stable, highly tested version, an LF157. Check the 
whole family, maybe a different member suits you better. Stabilization 
networks commonly used with those old slow op-amps can be removed as a 
general rule.

> --
> Check out the vibrant tech community on one of the world's
> most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users



-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2018-06-16 Thread jeremy youngs
A quick Google, digikey and eBay search turned up nothing for an if357 , or
an irf 357 . Any other suggestions?
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2018-06-16 Thread jeremy youngs
On Sat, Jun 16, 2018, 3:23 AM Gene Heskett  wrote:

> On Friday 15 June 2018 23:53:03 Chris Albertson wrote:
>
> > On Fri, Jun 15, 2018 at 7:58 PM Gene Heskett 
> wrote:
> > > On Friday 15 June 2018 20:20:20 jeremy youngs wrote:
> > >
> > > Aerotech mentions
> > > using 741's (op-amps) but the gain of a 741 above 10 hz falls like a
> > > rock, and that leaves the nyquist phase v stability angles in doubt.
> >
> > If the paper suggests using a 741, then the paper is very old.
>
> That amazed me too, Chris. I was reading about 1960 technology.
>
> That pdf is from aerotech's own site, anybody can download it and read
> it. Were I to design a similar device today, I'd certainly use lf357's
>

If I do this will I have to balance the op amp or is it a simple
replacement?

 And check any electrolytic caps for old age, replacing as
> necessary.
>
> Offtopic sorta:
>
>
>
> <
> https://www.banggood.com/Transistor-Tester-ESR-Capacitance-Meter-Resistance-Inductance-Measuring-p-1044840.html?rmmds=search
> >
>
> I have one of these and a variable supply for reforming caps, built a few
> months ago to resurrect my wife's organ .
>
> If Jeremy got those used, they are probably takeouts from a 30 yo or
> older machine.
>

1993, pulled from working environment, I agree the 741 is ancient , and
will likely replace them and will test these caps. The power supplies were
worth what I gave for the drives.

>
> If you can, the simplest way is to connect the digital
> > encoder to the mesa card, let it keep the position count then use that
> > any way you wish, possible to create the analog output you want
>

I'm hoping to allow the mess card to do this and set torque mode to use the
4020 as a simple amplifier. Thanks for the reassurance this is a good idea.

> >
> By using pdm/pwm in the pwmgens. At 50 kilohertz, then integrating that
> to get your analog voltage. But no not pass the raw signal thru an
> opto-isolator, the control linearity will be destroyed. There are no
> such critters in the 7i90/7i42TA control, but there will be in common
> BoB's used with the 5i25's and such parport simulators.
>
> > I would not build an analog, op amp based digital rate the analog
> > output converter even with modern op amps.  That is not the best
> > solution in 2018.  A digital counter is the way to do.  It is easy to
> > make and as exact as you want.   But I think the existing FPGA based
> > hardware should be able to count and you'd not need to actually build
> > anything.
>
> I hope to avoid building. I'm really busy in the auto shop so it will be a
> week or two before theory hits action.
>


Indeed.  Its all in the .hal code today, no "parts" involved. I think
> what I would do is hook into the power supply's, disconnecting the old
> active stuff and use them to feed power to one of the pico systems
> pwm-servo's per axis controlled.



This is a high probability, as mentioned the power supplies were worth the
cost of admission.


The control bandwidth is fast enough
> that with a low resolution encoder.
>
The cui encoder is selectable, o have it at 1000 ppr as that's what the
optical encoder that still works on the other ametek is at , that and 2.3:1
timing belt drive should give great resolution.  I have the work flow to
purchase x axis balkscrews in the near future as well. When I get a chance
I'm going to get some photos of the recent goodies that have showed up.

Thanks for bouncing ideas guys.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2018-06-16 Thread Gene Heskett
On Friday 15 June 2018 23:53:03 Chris Albertson wrote:

> On Fri, Jun 15, 2018 at 7:58 PM Gene Heskett  
wrote:
> > On Friday 15 June 2018 20:20:20 jeremy youngs wrote:
> >
> > Aerotech mentions
> > using 741's (op-amps) but the gain of a 741 above 10 hz falls like a
> > rock, and that leaves the nyquist phase v stability angles in doubt.
>
> If the paper suggests using a 741, then the paper is very old. 

That amazed me too, Chris. I was reading about 1960 technology.

That pdf is from aerotech's own site, anybody can download it and read 
it. Were I to design a similar device today, I'd certainly use lf357's 
or better. Something with a speed approaching video usage. If I were to 
pick up some of them used, I'd certainly warm up the iron and change 
them. And check any electrolytic caps for old age, replacing as 
necessary.

Offtopic sorta:

I just went thru a $20 set of computer speakers using one of those $20 
banggood parts testers, and replaced 6 of the 11 caps in it, sounds 
great again.

The tester I used is similar to this device but only has one button:



Biggest usage problem is the zif socket, not very sturdy. But it measures 
ESR, the most important characteristic of a cap after its capacity in 
u-f.

Ontopic:

If Jeremy got those used, they are probably takeouts from a 30 yo or 
older machine, And likely needing repairs as I am discussing to restore 
the original performance. Even NOS, sitting on the shelf gathering dust 
all this time, they would be suspect.

> Today 
> you can of course buy better op amps.   And of course today a micro
> controller can precisely measure an qucoder at any speed from zero up
> to some MHz. If you can, the simplest way is to connect the digital
> encoder to the mesa card, let it keep the position count then use that
> any way you wish, possible to create the analog output you want
>
By using pdm/pwm in the pwmgens. At 50 kilohertz, then integrating that 
to get your analog voltage. But no not pass the raw signal thru an 
opto-isolator, the control linearity will be destroyed. There are no 
such critters in the 7i90/7i42TA control, but there will be in common 
BoB's used with the 5i25's and such parport simulators.

> I would not build an analog, op amp based digital rate the analog
> output converter even with modern op amps.  That is not the best
> solution in 2018.  A digital counter is the way to do.  It is easy to
> make and as exact as you want.   But I think the existing FPGA based
> hardware should be able to count and you'd not need to actually build
> anything.

Indeed.  Its all in the .hal code today, no "parts" involved. I think 
what I would do is hook into the power supply's, disconnecting the old 
active stuff and use them to feed power to one of the pico systems 
pwm-servo's per axis controlled. The control bandwidth is fast enough 
that with a low resolution encoders quantization noise, it rattles the 
gear lash making you think you need to tear the head down and replace 
its vfx quality bearings, because it sounds like every ball in them is 
square. With a 1000 line encoder on the motor, my machine runs at least 
30 db quieter.

-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2018-06-15 Thread Chris Albertson
On Fri, Jun 15, 2018 at 7:58 PM Gene Heskett  wrote:

> On Friday 15 June 2018 20:20:20 jeremy youngs wrote:
>
> Aerotech mentions
> using 741's (op-amps) but the gain of a 741 above 10 hz falls like a
> rock, and that leaves the nyquist phase v stability angles in doubt.


If the paper suggests using a 741, then the paper is very old.  Today you
can of course buy better op amps.   And of course today a micro controller
can precisely measure an qucoder at any speed from zero up to some MHz.
If you can, the simplest way is to connect the digital encoder to the mesa
card, let it keep the position count then use that any way you wish,
possible to create the analog output you want

I would not build an analog, op amp based digital rate the analog output
converter even with modern op amps.  That is not the best solution in
2018.  A digital counter is the way to do.  It is easy to make and as exact
as you want.   But I think the existing FPGA based hardware should be able
to count and you'd not need to actually build anything.
-- 

Chris Albertson
Redondo Beach, California
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2018-06-15 Thread Gene Heskett
On Friday 15 June 2018 20:20:20 jeremy youngs wrote:

> Always another hurdle . Lol. I abandoned the h bridge plan for now as
> I am lacking sufficient power supply. I have 2 aerotech 4020 linear
> drives . The issue is they need tachometer feedback and it appears
> though the drive isn't configured for armature feedback. So the
> question is, is there a readily available device to convert 1000 ppr
> to an analog signal @7v /1000 rpm ?
>
> The drive is configurable to torque mode, would it be easier to set
> drive in torque mode and tune servo in Linux CNC with 7i90 ?
> Thanks

Put a 1000 line encoder on the motor, and use the encoders in the 7i90 to 
do a position servo. The aerotech drive is line powered, 20 amps max, 40 
volts max. And it has inputs for an encoder, taking lcnc out of the 
circuit if you'd like. But I'd druther put the encoder into linuxcnc, 
and let it calculate the pwm or pdm drive needed for a position null. I 
think it would be more precise, and possibly faster. Aerotech mentions 
using 741's (op-amps) but the gain of a 741 above 10 hz falls like a 
rock, and that leaves the nyquist phase v stability angles in doubt.

I don't see a reason why, if the correct motors are used, that it cannot 
be made to work.



> --
> Check out the vibrant tech community on one of the world's
> most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users



-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2018-06-15 Thread jeremy youngs
Gmail is queing my messages for some reason. I apologize if this double
posts.

Always another hurdle . Lol. I abandoned the h bridge plan for now as I am
> lacking sufficient power supply. I have 2 aerotech 4020 linear drives . The
> issue is they need tachometer feedback and it appears though the drive
> isn't configured for armature feedback. So the question is, is there a
> readily available device to convert 1000 ppr to an analog signal @7v /1000
> rpm ?
>
> The drive is configurable to torque mode, would it be easier to set drive
> in torque mode and tune servo in Linux CNC with 7i90 ?
> Thanks
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2018-06-15 Thread jeremy youngs
Always another hurdle . Lol. I abandoned the h bridge plan for now as I am
lacking sufficient power supply. I have 2 aerotech 4020 linear drives . The
issue is they need tachometer feedback and it appears though the drive
isn't configured for armature feedback. So the question is, is there a
readily available device to convert 1000 ppr to an analog signal @7v /1000
rpm ?

The drive is configurable to torque mode, would it be easier to set drive
in torque mode and tune servo in Linux CNC with 7i90 ?
Thanks
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2018-06-04 Thread Todd Zuercher
I've had a few servo motors who's encoders did not have an index wire, but the 
encoder had all of the index hardware populated, and simply adding the 
necessary wire to connect it enabled it.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street 
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: jeremy youngs [mailto:jcyoung...@gmail.com] 
Sent: Monday, June 04, 2018 12:05 AM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] Encoders

>
> No Index??? Seems like it would be handy.


It appears to have an index slot in the glass plate , but not enough wires
樂樂樂


OTOH, for XYZ, not a hard and
> fast requirement as long as the home switches are good.


I have 5 of those inductive pickups we were talking about a few months back, I 
think Greg or Chris brought them to our attention , so we will find out.

But you'll need
> it on the spindle. In fact, the index is the only thing that must be 
> tied to the spindle if you ever want to do rigid tapping.
> I'm gonna put one of thousands cui encoders on it, I left this renco 
> on the ametek as I'm just plain lazy and figured with the home 
> switches it wasn't absolutely essential to have index.
>
Also without this new motor in hand I have no idea how it is equipped , 
hopefully it already has a nice encoder on it 

>
> The rest of the encoder (a/b signals) can be on the motor, and you can 
> calibrate the scale for the spindle with some hal stuff you can 
> comment back out of the hal file once the scale has been determined. 
> Thats how I did mine anyway. Works a treat.
>

I'm sure I will have questions for this.

>
> > Finally, something that didn't fight me tooth and nail.
>
> > Now I have to put an encoder on the z motor and wait for brown to 
> > drop this 6hp spindle motor off and see what I need for that, I have 
> > 2 drives coming for that and a bid on a power supply for the drives 
> > so life is well at this time.
>
> Sounds good. How much weight do have to man handle on the Z?
>
This motor ships at 50 lbs it's a knee mill , however it only has freedom of 
movement along the x axis , I hope to turn this later with a harmonic drive

>
> > Ttyl take care fellas
>
> We try. I've got the tap hat g-code working well, but ran out of M6 
> grub screws, so I just ordered another 100 M6's and 100 M8's for the 
> biggest taps, which should run me out of brass before I run out of 
> taps to mount. So sometime after the screws get here, I should order 
> another 6 feet of 7/8" brass rod.  And a decent set of letter drills, 
> these are only slightly better than cold butter. Even running each one 
> thru one of the original drill doctors isn't enough to drill clean in 
> one pass. In brass.
>
> Good to hear you're making progress as well.
> --
> Cheers, Gene Heskett
> --
> "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author)
> Genes Web page <http://geneslinuxbox.net:6309/gene>
>
>
> --
>  Check out the vibrant tech community on one of the world's 
> most engaging tech sites, Slashdot.org! http://sdm.link/slashdot 
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
--
Check out the vibrant tech community on one of the world's most engaging tech 
sites, Slashdot.org! http://sdm.link/slashdot 
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2018-06-03 Thread jeremy youngs
>
> No Index??? Seems like it would be handy.


It appears to have an index slot in the glass plate , but not enough wires
樂樂樂


OTOH, for XYZ, not a hard and
> fast requirement as long as the home switches are good.


I have 5 of those inductive pickups we were talking about a few months
back, I think Greg or Chris brought them to our attention , so we will find
out.

But you'll need
> it on the spindle. In fact, the index is the only thing that must be
> tied to the spindle if you ever want to do rigid tapping.
> I'm gonna put one of thousands cui encoders on it, I left this renco on
> the ametek as I'm just plain lazy and figured with the home switches it
> wasn't absolutely essential to have index.
>
Also without this new motor in hand I have no idea how it is equipped ,
hopefully it already has a nice encoder on it 

>
> The rest of the encoder (a/b signals) can be on the motor, and you can
> calibrate the scale for the spindle with some hal stuff you can comment
> back out of the hal file once the scale has been determined. Thats how I
> did mine anyway. Works a treat.
>

I'm sure I will have questions for this.

>
> > Finally, something that didn't fight me tooth and nail.
>
> > Now I have to put an encoder on the z motor and wait for brown to drop
> > this 6hp spindle motor off and see what I need for that, I have 2
> > drives coming for that and a bid on a power supply for the drives so
> > life is well at this time.
>
> Sounds good. How much weight do have to man handle on the Z?
>
This motor ships at 50 lbs it's a knee mill , however it only has freedom
of movement along the x axis , I hope to turn this later with a harmonic
drive

>
> > Ttyl take care fellas
>
> We try. I've got the tap hat g-code working well, but ran out of M6 grub
> screws, so I just ordered another 100 M6's and 100 M8's for the biggest
> taps, which should run me out of brass before I run out of taps to
> mount. So sometime after the screws get here, I should order another 6
> feet of 7/8" brass rod.  And a decent set of letter drills, these are
> only slightly better than cold butter. Even running each one thru one of
> the original drill doctors isn't enough to drill clean in one pass. In
> brass.
>
> Good to hear you're making progress as well.
> --
> Cheers, Gene Heskett
> --
> "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author)
> Genes Web page 
>
>
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2018-06-03 Thread Gene Heskett
On Sunday 03 June 2018 22:31:32 jeremy youngs wrote:

> Update, I pulled this other ametek motor apart. And it had a glass
> disc encoder, only 4 wires and clearly labeled a,b,5, gnd , so no
> blown opto when I hooked it up. The glass disc said 1000 on it so I'm
> presuming it's a 1000 PPR encoder, I will check part numbers tomorrow
> . Hooked it to 7i90 and it just works.

No Index??? Seems like it would be handy. OTOH, for XYZ, not a hard and 
fast requirement as long as the home switches are good. But you'll need 
it on the spindle. In fact, the index is the only thing that must be 
tied to the spindle if you ever want to do rigid tapping.

The rest of the encoder (a/b signals) can be on the motor, and you can 
calibrate the scale for the spindle with some hal stuff you can comment 
back out of the hal file once the scale has been determined. Thats how I 
did mine anyway. Works a treat.

> Finally, something that didn't fight me tooth and nail.

> Now I have to put an encoder on the z motor and wait for brown to drop
> this 6hp spindle motor off and see what I need for that, I have 2
> drives coming for that and a bid on a power supply for the drives so
> life is well at this time.

Sounds good. How much weight do have to man handle on the Z?

> Ttyl take care fellas

We try. I've got the tap hat g-code working well, but ran out of M6 grub 
screws, so I just ordered another 100 M6's and 100 M8's for the biggest 
taps, which should run me out of brass before I run out of taps to 
mount. So sometime after the screws get here, I should order another 6 
feet of 7/8" brass rod.  And a decent set of letter drills, these are 
only slightly better than cold butter. Even running each one thru one of 
the original drill doctors isn't enough to drill clean in one pass. In 
brass.

-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2018-06-03 Thread jeremy youngs
Update, I pulled this other ametek motor apart. And it had a glass disc
encoder, only 4 wires and clearly labeled a,b,5, gnd , so no blown opto
when I hooked it up. The glass disc said 1000 on it so I'm presuming it's a
1000 PPR encoder, I will check part numbers tomorrow . Hooked it to 7i90
and it just works.
Finally, something that didn't fight me tooth and nail.
Now I have to put an encoder on the z motor and wait for brown to drop this
6hp spindle motor off and see what I need for that, I have 2 drives coming
for that and a bid on a power supply for the drives so life is well at this
time.
Ttyl take care fellas
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2018-06-01 Thread Chris Albertson
Yes, they have Mac, Linux and Windows version of the software.  Closed
source but free from Saleae.  The $8 clone is just a tiny uP that reads 8
input pins really fast and puts the data on USB.   Al the smarts is in the
software.

Saleae makes some really nice ones that use the same software but have more
pins and faster pins and can handle more different voltage levels.

One thing that modern logic analyzers can do that scope can't is trigger on
data.




Sigrok looks good but I don't use it much, just checked it out a little.
The Saleae software is so easy to use you don't need a user manual.



On Fri, Jun 1, 2018 at 10:52 AM, Gene Heskett  wrote:

> On Friday 01 June 2018 12:32:09 Chris Albertson wrote:
>
> > On Thu, May 31, 2018 at 5:38 PM, Gene Heskett 
> wrote:
> > > On Thursday 31 May 2018 19:45:24 jeremy youngs wrote:
> > > > Encoders in hand, shaft turned and mounted, it looks good, 3 more
> > > > to do . encoderawcount.jpg
> > > >  > > >/vie w?usp=drivesdk>
> > >
> > > That does look pretty good at first glance. I can't read the
> > > clocking rate though. Humm, I just found the viewer has a zoom. So I
> > > assume you were turning it by hand as the timing shows 2/1
> > > variations on a 10 millisecond per grid line, so thats pretty slow.
> > > What it looks like at 3 to 5k revs will tell the story. But you are
> > > not going to get that display at 3 to 5k in halscope. That will need
> > > a good scope,
> >
> > Scopes are good, they will let yu find glitches like housing contacts
> > but optical encoders don't have that problem
> >
> > Last night I was using by cheap $8 logic analyzer.   Those things are
> > good for the money I could measure the duty cycle of a  two 10KHz PWM
> > signals and the A/B channels for two encoders and
> > ...ebay.com/itm/New-USB-Logic-Analyzer-...
> >  >24MHz-8CH-24MHz-for-ARM-FPGA-M100/222882469206>
> >
> > Yes they make better ones but those cost more than $8   This is one
> > good for signals that change at up to a few MHz.
> >
> I'd have to assume it displays the results on your computer screen, and
> runs on linux?
>
> Rather neat if thats the case, I might have to get me one.
>
> Thanks Chris.
>
> > > --
> >
> > Chris Albertson
> > Redondo Beach, California
> > --
> > Check out the vibrant tech community on one of the world's
> > most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
>
>
>
> --
> Cheers, Gene Heskett
> --
> "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author)
> Genes Web page 
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>



-- 

Chris Albertson
Redondo Beach, California
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2018-06-01 Thread Chris Albertson
The device is a clone of the Saleae analyzer so it works with their software
https://www.saleae.com/downloads/

There is also some open source software that works with it
https://sigrok.org/wiki/Main_Page

On Fri, Jun 1, 2018 at 9:40 AM, Greg Bernard  wrote:

> Interesting. What software do you use with that?
>
>
> On Fri, Jun 1, 2018 at 11:32 AM, Chris Albertson <
> albertson.ch...@gmail.com>
> wrote:
>
> > On Thu, May 31, 2018 at 5:38 PM, Gene Heskett 
> > wrote:
> >
> > > On Thursday 31 May 2018 19:45:24 jeremy youngs wrote:
> > >
> > > > Encoders in hand, shaft turned and mounted, it looks good, 3 more to
> > > > do . encoderawcount.jpg
> > > >  ZzVBCtBkDbsFxwydN_/vie
> > > >w?usp=drivesdk>
> > >
> > > That does look pretty good at first glance. I can't read the clocking
> > > rate though. Humm, I just found the viewer has a zoom. So I assume you
> > > were turning it by hand as the timing shows 2/1 variations on a 10
> > > millisecond per grid line, so thats pretty slow. What it looks like at
> 3
> > > to 5k revs will tell the story. But you are not going to get that
> > > display at 3 to 5k in halscope. That will need a good scope,
> > >
> >
> > Scopes are good, they will let yu find glitches like housing contacts but
> > optical encoders don't have that problem
> >
> > Last night I was using by cheap $8 logic analyzer.   Those things are
> good
> > for the money I could measure the duty cycle of a  two 10KHz PWM signals
> > and the A/B channels for two encoders and
> > ...ebay.com/itm/New-USB-Logic-Analyzer-...
> >  > USB-Cable-24MHz-8CH-24MHz-for-ARM-FPGA-M100/222882469206>
> >
> > Yes they make better ones but those cost more than $8   This is one good
> > for signals that change at up to a few MHz.
> >
> >
> > >
> > > --
> >
> > Chris Albertson
> > Redondo Beach, California
> > 
> > --
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
>
>
>
> --
> "Anyone who believes exponential growth can go on forever in a finite world
> is either a madman or an economist."
> -Kenneth Boulding, economist
> Corporations are NOT people and money is NOT speech!
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>



-- 

Chris Albertson
Redondo Beach, California
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2018-06-01 Thread Gene Heskett
On Friday 01 June 2018 12:32:09 Chris Albertson wrote:

> On Thu, May 31, 2018 at 5:38 PM, Gene Heskett  
wrote:
> > On Thursday 31 May 2018 19:45:24 jeremy youngs wrote:
> > > Encoders in hand, shaft turned and mounted, it looks good, 3 more
> > > to do . encoderawcount.jpg
> > >  > >/vie w?usp=drivesdk>
> >
> > That does look pretty good at first glance. I can't read the
> > clocking rate though. Humm, I just found the viewer has a zoom. So I
> > assume you were turning it by hand as the timing shows 2/1
> > variations on a 10 millisecond per grid line, so thats pretty slow.
> > What it looks like at 3 to 5k revs will tell the story. But you are
> > not going to get that display at 3 to 5k in halscope. That will need
> > a good scope,
>
> Scopes are good, they will let yu find glitches like housing contacts
> but optical encoders don't have that problem
>
> Last night I was using by cheap $8 logic analyzer.   Those things are
> good for the money I could measure the duty cycle of a  two 10KHz PWM
> signals and the A/B channels for two encoders and
> ...ebay.com/itm/New-USB-Logic-Analyzer-...
> 24MHz-8CH-24MHz-for-ARM-FPGA-M100/222882469206>
>
> Yes they make better ones but those cost more than $8   This is one
> good for signals that change at up to a few MHz.
>
I'd have to assume it displays the results on your computer screen, and 
runs on linux?

Rather neat if thats the case, I might have to get me one.

Thanks Chris.

> > --
>
> Chris Albertson
> Redondo Beach, California
> --
> Check out the vibrant tech community on one of the world's
> most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users



-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2018-06-01 Thread Greg Bernard
Interesting. What software do you use with that?


On Fri, Jun 1, 2018 at 11:32 AM, Chris Albertson 
wrote:

> On Thu, May 31, 2018 at 5:38 PM, Gene Heskett 
> wrote:
>
> > On Thursday 31 May 2018 19:45:24 jeremy youngs wrote:
> >
> > > Encoders in hand, shaft turned and mounted, it looks good, 3 more to
> > > do . encoderawcount.jpg
> > >  > >w?usp=drivesdk>
> >
> > That does look pretty good at first glance. I can't read the clocking
> > rate though. Humm, I just found the viewer has a zoom. So I assume you
> > were turning it by hand as the timing shows 2/1 variations on a 10
> > millisecond per grid line, so thats pretty slow. What it looks like at 3
> > to 5k revs will tell the story. But you are not going to get that
> > display at 3 to 5k in halscope. That will need a good scope,
> >
>
> Scopes are good, they will let yu find glitches like housing contacts but
> optical encoders don't have that problem
>
> Last night I was using by cheap $8 logic analyzer.   Those things are good
> for the money I could measure the duty cycle of a  two 10KHz PWM signals
> and the A/B channels for two encoders and
> ...ebay.com/itm/New-USB-Logic-Analyzer-...
>  USB-Cable-24MHz-8CH-24MHz-for-ARM-FPGA-M100/222882469206>
>
> Yes they make better ones but those cost more than $8   This is one good
> for signals that change at up to a few MHz.
>
>
> >
> > --
>
> Chris Albertson
> Redondo Beach, California
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>



-- 
"Anyone who believes exponential growth can go on forever in a finite world
is either a madman or an economist."
-Kenneth Boulding, economist
Corporations are NOT people and money is NOT speech!
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2018-06-01 Thread Chris Albertson
On Thu, May 31, 2018 at 5:38 PM, Gene Heskett  wrote:

> On Thursday 31 May 2018 19:45:24 jeremy youngs wrote:
>
> > Encoders in hand, shaft turned and mounted, it looks good, 3 more to
> > do . encoderawcount.jpg
> >  >w?usp=drivesdk>
>
> That does look pretty good at first glance. I can't read the clocking
> rate though. Humm, I just found the viewer has a zoom. So I assume you
> were turning it by hand as the timing shows 2/1 variations on a 10
> millisecond per grid line, so thats pretty slow. What it looks like at 3
> to 5k revs will tell the story. But you are not going to get that
> display at 3 to 5k in halscope. That will need a good scope,
>

Scopes are good, they will let yu find glitches like housing contacts but
optical encoders don't have that problem

Last night I was using by cheap $8 logic analyzer.   Those things are good
for the money I could measure the duty cycle of a  two 10KHz PWM signals
and the A/B channels for two encoders and
...ebay.com/itm/New-USB-Logic-Analyzer-...


Yes they make better ones but those cost more than $8   This is one good
for signals that change at up to a few MHz.


>
> --

Chris Albertson
Redondo Beach, California
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2018-05-31 Thread Gene Heskett
On Thursday 31 May 2018 21:58:49 jeremy youngs wrote:

> On Thu, May 31, 2018, 19:39 Gene Heskett  wrote:
> > On Thursday 31 May 2018 19:45:24 jeremy youngs wrote:
> > > Encoders in hand, shaft turned and mounted, it looks good, 3 more
> > > to do . encoderawcount.jpg
> > >  > >/vie w?usp=drivesdk>
> >
> > That does look pretty good at first glance. I can't read the
> > clocking rate though. Humm, I just found the viewer has a zoom. So I
> > assume you were turning it by hand as the timing shows 2/1
> > variations on a 10
>
> Back emf , as measured in lathe at 800 rpm was 21.6 volts. It's a 20
> volt motor , I intend on driving at 28 volts with generic hbridge. I'm
> not sure that 28 will give the 300 ipm rapid I'm after, but time will
> tell. I was powering this with a 700 ma 5 volt supply so motor speed
> was pretty slow, I did not put my tach on it , encoders are set to
> 1000 PPR as that's what I already have the 7i 90 programmed to. 20/56
> is the timing pulley ratio so that will be over 2k per rev. I hope to
> ballscrew the x in the next month or so , y and z are already
> ballscrew although I think I am going to replace the y screw ( again)
> as it's a surplus screw and I don't like it's mount and have been
> fairly impressed with the Chinese screw I put in z.
>
>
>
>
> millisecond per grid line, so thats pretty slow. What it looks like at
> 3
>
> > to 5k revs will tell the story.
>
> I'm pretty sure 2k will be the absolute max with my setup.
>
>
> But you are not going to get that
>
> > display at 3 to 5k in halscope. That will need a good scope,
> >
> > On the list, but concrete and shop expansion are essential at this
> > time . I wrench to support my Machine habit 
> >
Humm, there's a quite similar echo in here, except I'm now retired for 
about 16 years.  So I wrench to keep me out of the bars. Actually dead 
tired tonight, taking care of the missus. We've decided to leave town 
next February, so maybe she won't fall and break something 3 years in a 
row. Went in for some xrays to see how the leg is healed, looks great. 
Now it needs meat. I've got to tie her down when the wind comes up.  But 
COPD never lets up and this ultra humid weather isn't doing that any 
good at all.

I did get 2 more tap hats completed this morning though, 15 done now. 
About 30 & change to go.  Now using some of those I've already made, 
after making my code automatically adjust for tool length, I spend more 
time finding the correct drill sizes (and sharpening them in a drill 
doctor) than in the actual machining.

-- 
Cheers Jeremy, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2018-05-31 Thread jeremy youngs
On Thu, May 31, 2018, 19:39 Gene Heskett  wrote:

> On Thursday 31 May 2018 19:45:24 jeremy youngs wrote:
>
> > Encoders in hand, shaft turned and mounted, it looks good, 3 more to
> > do . encoderawcount.jpg
> >  >w?usp=drivesdk>
>
> That does look pretty good at first glance. I can't read the clocking
> rate though. Humm, I just found the viewer has a zoom. So I assume you
> were turning it by hand as the timing shows 2/1 variations on a 10
>

Back emf , as measured in lathe at 800 rpm was 21.6 volts. It's a 20 volt
motor , I intend on driving at 28 volts with generic hbridge. I'm not sure
that 28 will give the 300 ipm rapid I'm after, but time will tell. I was
powering this with a 700 ma 5 volt supply so motor speed was pretty slow, I
did not put my tach on it , encoders are set to 1000 PPR as that's what I
already have the 7i 90 programmed to. 20/56 is the timing pulley ratio so
that will be over 2k per rev. I hope to ballscrew the x in the next month
or so , y and z are already ballscrew although I think I am going to
replace the y screw ( again) as it's a surplus screw and I don't like it's
mount and have been fairly impressed with the Chinese screw I put in z.




millisecond per grid line, so thats pretty slow. What it looks like at 3
> to 5k revs will tell the story.

I'm pretty sure 2k will be the absolute max with my setup.


But you are not going to get that
> display at 3 to 5k in halscope. That will need a good scope,
>
> On the list, but concrete and shop expansion are essential at this time .
> I wrench to support my Machine habit 
>
> > --
> > Check out the vibrant tech community on one of the world's
> > most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
>
>
>
> --
> Cheers, Gene Heskett
> --
> "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author)
> Genes Web page 
>
>
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2018-05-31 Thread Gene Heskett
On Thursday 31 May 2018 19:45:24 jeremy youngs wrote:

> Encoders in hand, shaft turned and mounted, it looks good, 3 more to
> do . encoderawcount.jpg
> w?usp=drivesdk>

That does look pretty good at first glance. I can't read the clocking 
rate though. Humm, I just found the viewer has a zoom. So I assume you 
were turning it by hand as the timing shows 2/1 variations on a 10 
millisecond per grid line, so thats pretty slow. What it looks like at 3 
to 5k revs will tell the story. But you are not going to get that 
display at 3 to 5k in halscope. That will need a good scope,

> --
> Check out the vibrant tech community on one of the world's
> most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users



-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2018-05-31 Thread jeremy youngs
A,b and index. I'm beat for the day , I will follow up tomorrow, been
really busy in shop, beginning an ls swap and restoration of an 83 3/4 ton
Chevy for a customer. That will limit my ability to get this done , but
will provide much needed funds.

Also, I won the bid on that 6 horse bldc 37 NM motor, I will have questions
> about that when the brown dude drops it off.
>

Also I had the horizontal zoom up Fairly high, don't know if that makes a
difference. Can you post a pic of a good waveform please ?

>
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2018-05-31 Thread andy pugh
On 1 June 2018 at 00:45, jeremy youngs  wrote:
> Encoders in hand, shaft turned and mounted, it looks good, 3 more to do .
>   encoderawcount.jpg
> 

Is that with only one channel connected? Rawcounts should increase,
not go 1,0,1,0


-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2018-05-31 Thread jeremy youngs
Encoders in hand, shaft turned and mounted, it looks good, 3 more to do .
  encoderawcount.jpg

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2018-05-26 Thread Chris Albertson
On Sat, May 26, 2018 at 9:23 AM, Jon Elson  wrote:
> On 05/26/2018 10:54 AM, Chris Albertson wrote:
>>
>> I had to look up the link to see how it is possible for an encoder to
>> cause lag.   Only by not having enough resolution for low speed
>> operations
>>
> The AMT encoders use interpolation of a very low resolution basic sensor.
> They must have some kind of velocity tracking loop.  When velocity changes
> suddenly, the position of the tracking loop falls behind the actual
> position, and the loop is commanded to speed up.

Looks like I guested right, low resolution encoders require a long
sample period to avoid quantization error.

There is a solution.  You stop COUNTING encoder ticks and measure the
TIME between the ticks.  But this requires an encoder that gives acce
to the actual edges of the physical encoder disk.



-- 

Chris Albertson
Redondo Beach, California

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2018-05-26 Thread Jon Elson

On 05/26/2018 10:54 AM, Chris Albertson wrote:

I had to look up the link to see how it is possible for an encoder to
cause lag.   Only by not having enough resolution for low speed
operations

The AMT encoders use interpolation of a very low resolution 
basic sensor.  They must have some kind of velocity tracking 
loop.  When velocity changes suddenly, the position of the 
tracking loop falls behind the actual position, and the loop 
is commanded to speed up.


Jon

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2018-05-26 Thread jeremy youngs
On Sat, May 26, 2018, 10:54 Chris Albertson 
wrote:

> I had to look up the link to see how it is possible for an encoder to
> cause lag.   Only by not having enough resolution for low speed
> operations
>
> Did you notice the 20 week lead time and the note about problems at the
> factory?
>

I didn't see factory problems, but digikey has hundreds in stock, and they
are already in the box headed this way, we will see next week rather I am
smiling or crying lol

>
>
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2018-05-26 Thread Chris Albertson
I had to look up the link to see how it is possible for an encoder to
cause lag.   Only by not having enough resolution for low speed
operations

Did you notice the 20 week lead time and the note about problems at the factory?

On Sat, May 26, 2018 at 4:40 AM, andy pugh  wrote:
> On 25 May 2018 at 07:24, jeremy youngs  wrote:
>
>> https://www.mouser.com/ProductDetail/CUI/AMT103-V?qs=sGAEpiMZZMsWp46O%252bq11Wc6D0rLp%252bQH%2fN7GEqDkL%2fc8%3d
>> Any thoughts? Seems like a good solution
>
> I was expecting Jon Elson to chip in. I think he found an odd
> accelleration lag with these encoders:
>
> https://sourceforge.net/p/emc/mailman/emc-developers/thread/4DFC13BB.4020109%40pico-systems.com/#msg27669457
>
> --
> atp
> "A motorcycle is a bicycle with a pandemonium attachment and is
> designed for the especial use of mechanical geniuses, daredevils and
> lunatics."
> — George Fitch, Atlanta Constitution Newspaper, 1916
>
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users



-- 

Chris Albertson
Redondo Beach, California

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2018-05-26 Thread Jon Elson

On 05/26/2018 06:40 AM, andy pugh wrote:

On 25 May 2018 at 07:24, jeremy youngs  wrote:


https://www.mouser.com/ProductDetail/CUI/AMT103-V?qs=sGAEpiMZZMsWp46O%252bq11Wc6D0rLp%252bQH%2fN7GEqDkL%2fc8%3d
Any thoughts? Seems like a good solution

I was expecting Jon Elson to chip in. I think he found an odd
accelleration lag with these encoders:

https://sourceforge.net/p/emc/mailman/emc-developers/thread/4DFC13BB.4020109%40pico-systems.com/#msg27669457

Yes, but it may not be as big a deal as I once thought.  
Certainly, a lot of people have used them with Gecko 320 
drives.  But, yes, I rigged a motor to both an AMT103 and a 
HEDS optical encoder, and fed both into encoder channels on 
my PWM controller, so I could compare them sample by sample.
And, I did find a couple ms lag in response to 
acceleration.  Then, the AMT103 would show greater velocity 
for a bit so the position could catch up.


So, it may depend a lot on the bandwidth of your servo loops 
as to whether it causes any stability problems.


These encoders are CERTAINLY some of the least expensive 
available. There is a little issue where the sensing rotor 
can be a loose fit on the collet that fits over the shaft.  
You really do NOT want the rotor to be able to rattle 
around.  Mariss Freimanis of Geckodrive suggests supergluing 
the rotor in place.


Jon

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2018-05-26 Thread Gene Heskett
On Saturday 26 May 2018 07:40:05 andy pugh wrote:

> On 25 May 2018 at 07:24, jeremy youngs  wrote:
> > https://www.mouser.com/ProductDetail/CUI/AMT103-V?qs=sGAEpiMZZMsWp46
> >O%252bq11Wc6D0rLp%252bQH%2fN7GEqDkL%2fc8%3d Any thoughts? Seems like
> > a good solution
>
> I was expecting Jon Elson to chip in. I think he found an odd
> accelleration lag with these encoders:
>
> https://sourceforge.net/p/emc/mailman/emc-developers/thread/4DFC13BB.4
>020109%40pico-systems.com/#msg27669457

I vaguely remember that thread, 2-4 years ago, thank you for the reminder 
and link. All of my home-made efforts have been magnetic (ats667's in 
the sheldon lathe watching its 60 tooth main gear, but no PID's, just 
feedback for rigid tapping), or opto-interrupters in the others. This 
Omron was not mentioned in that thread, perhaps its newer? But it seems 
to be far smoother at controlling a motor, so much so that on the mill, 
I have used Pgains of 40 in its PID, whereas with the combined 
mechanical errors and such of the home made opticals, Pgain was very 
limited, 3 maximum, and even then the quantization noise was hammering 
the gear teeth in the g0704's head, making it sound like every bearing 
in the head was hammered flat. The difference in the noise level when 
running is amazing. Below 500 rpms, I have to look at the spindle nose 
or tool to verify its running, its that quiet.

Its self contained, so I have no clue what technology is used internally, 
and its just over a $20 bill on ebay. Perhaps someone could do similar 
tests on one of those. I am, for just small change, very impressed with 
the single such device I have.  Its made a whole new machine out of a 
noisy rattle-trap. But because it is not on the spindle, its on the back 
of the motor, I am using only its a/b outputs, the index is still coming 
from the home-made opto-interruptor that is on the spindle.

off-topic bragging, I have some switches on the gearshift knob and some 
hal magic to correct for the gear changes of coarse. And I made use of 
that to add a setp to the neither switch closed state so the motor is 
turning at about 20 rpm's when the gear is in neutral but is supposed to 
be running. I can reach up and change gears at 1400 revs, its down to 
about 20 motor shaft rpm's long before the gear is disengaged, and 
because the motor is turning, the next gear engages silently, bringing 
the motor back to selected speed when the switch closes, indicating full 
engagement. None of the grab the spindle and turn it by hand coaxing the 
gears to re-engage.

-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2018-05-26 Thread jeremy youngs
On Sat, May 26, 2018, 06:41 andy pugh  wrote:

> On 25 May 2018 at 07:24, jeremy youngs  wrote:
>
> >
> https://www.mouser.com/ProductDetail/CUI/AMT103-V?qs=sGAEpiMZZMsWp46O%252bq11Wc6D0rLp%252bQH%2fN7GEqDkL%2fc8%3d
> > Any thoughts? Seems like a good solution
>
> I was expecting Jon Elson to chip in. I think he found an odd
> accelleration lag with these encoders:
>
>
> https://sourceforge.net/p/emc/mailman/emc-developers/thread/4DFC13BB.4020109%40pico-systems.com/#msg27669457
>
>
> Maybe I should have been more patient, but they are on their way , and I'm
> soon to find out.
> --
> atp
> "A motorcycle is a bicycle with a pandemonium attachment and is
> designed for the especial use of mechanical geniuses, daredevils and
> lunatics."
> — George Fitch, Atlanta Constitution Newspaper, 1916
>
>
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2018-05-26 Thread andy pugh
On 25 May 2018 at 07:24, jeremy youngs  wrote:

> https://www.mouser.com/ProductDetail/CUI/AMT103-V?qs=sGAEpiMZZMsWp46O%252bq11Wc6D0rLp%252bQH%2fN7GEqDkL%2fc8%3d
> Any thoughts? Seems like a good solution

I was expecting Jon Elson to chip in. I think he found an odd
accelleration lag with these encoders:

https://sourceforge.net/p/emc/mailman/emc-developers/thread/4DFC13BB.4020109%40pico-systems.com/#msg27669457

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2018-05-25 Thread jeremy youngs
These will be here late next week
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2018-05-25 Thread jeremy youngs
On Fri, May 25, 2018, 07:01 Gene Heskett  wrote:

> On Friday 25 May 2018 02:24:57 jeremy youngs wrote:
>
> > New thread, as I seem to be done getting the 7i90 functional.
> > These are capacitive and seem to have good response, universal and
> > programmable. And cheap and u.s. stock, 15.3 mm is the largest of them
> > I can find, and I don't understand what they say about axial or radial
> > mount . I will call them tomorrow .
> >
> > https://www.mouser.com/ProductDetail/CUI/AMT103-V?qs=sGAEpiMZZMsWp46O%
> >252bq11Wc6D0rLp%252bQH%2fN7GEqDkL%2fc8%3d Any thoughts? Seems like a
> > good solution , for a stocking part a fella could even keep a couple
> > to gather dust .
>
> Thats about the same price as the Omron, and it uses the motors bearings
> and fits the tailshaft, so it mounts much more compactly than the Omron.
> But the Omron has its own bearings making it totally selfcontained. But
> in close proximity to the motors magnetic field, the index may not work.
> And they are out of stock till the 2nd week of June, more delay than
> ebay/omron, by a week maybe.
>
> Digikey has them in stock, I gave the wrong link , I'm going to pull the
> trigger on this as it's easier to modify my shaft if necessary than it is
> to adapt the omron, I will give report when I get them.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2018-05-25 Thread Gene Heskett
On Friday 25 May 2018 02:24:57 jeremy youngs wrote:

> New thread, as I seem to be done getting the 7i90 functional.
> These are capacitive and seem to have good response, universal and
> programmable. And cheap and u.s. stock, 15.3 mm is the largest of them
> I can find, and I don't understand what they say about axial or radial
> mount . I will call them tomorrow .
>
> https://www.mouser.com/ProductDetail/CUI/AMT103-V?qs=sGAEpiMZZMsWp46O%
>252bq11Wc6D0rLp%252bQH%2fN7GEqDkL%2fc8%3d Any thoughts? Seems like a
> good solution , for a stocking part a fella could even keep a couple
> to gather dust .

Thats about the same price as the Omron, and it uses the motors bearings 
and fits the tailshaft, so it mounts much more compactly than the Omron. 
But the Omron has its own bearings making it totally selfcontained. But 
in close proximity to the motors magnetic field, the index may not work. 
And they are out of stock till the 2nd week of June, more delay than 
ebay/omron, by a week maybe.

It says stepper magnetics, but I don't see a huge diff between the 
magnetic noise of a chopper current regulated stepper, or the magnetic 
noise of a pwm driven servo.  There will be an ultrasonic component to 
either's magnetic field. Interesting connundrum. If motors came 
predrilled, the choice is the CUA, but they don't.

As for deleting portions of the text that are not germane to the reply, 
in kmail, use the arrows keys to place the cursor where you want to 
start deleting, step on the shift key and using the arrow keys, 
highlight whats to go and hit the delete key. Its gone. kmail also has 
an undo function in case that wasn't what you intended to do.

-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2018-05-25 Thread Chris Kelley
>From looking at the mechanical drawings on the datasheet, it looks like the
axial/radial mount refers to the direction of the connector pins.

On Fri, May 25, 2018 at 1:24 AM, jeremy youngs  wrote:

> New thread, as I seem to be done getting the 7i90 functional.
> These are capacitive and seem to have good response, universal and
> programmable. And cheap and u.s. stock, 15.3 mm is the largest of them I
> can find, and I don't understand what they say about axial or radial mount
> . I will call them tomorrow .
>
> https://www.mouser.com/ProductDetail/CUI/AMT103-V?qs=sGAEpiMZZMsWp46O%
> 252bq11Wc6D0rLp%252bQH%2fN7GEqDkL%2fc8%3d
> Any thoughts? Seems like a good solution , for a stocking part a fella
> could even keep a couple to gather dust .
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Encoders

2018-05-25 Thread jeremy youngs
New thread, as I seem to be done getting the 7i90 functional.
These are capacitive and seem to have good response, universal and
programmable. And cheap and u.s. stock, 15.3 mm is the largest of them I
can find, and I don't understand what they say about axial or radial mount
. I will call them tomorrow .

https://www.mouser.com/ProductDetail/CUI/AMT103-V?qs=sGAEpiMZZMsWp46O%252bq11Wc6D0rLp%252bQH%2fN7GEqDkL%2fc8%3d
Any thoughts? Seems like a good solution , for a stocking part a fella
could even keep a couple to gather dust .
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Encoders

2018-05-14 Thread jeremy youngs
Hi all. These ametek motors have undefined encoders on them. One is just an
empty 4 pin. The other has a flat 4 pin ribbon. I'm awaiting my 7i42 . The
flat ribbon is marked with a hot lead. I also have a 5v current limited
supply on order. I'm thinking set voltage low and shuffle ground until I
find the 2 pins that provide an output to my frequency meter , then I will
know which ones are my a and b . Once I get the 7i42 I will then be able to
use Hal to find their count me any words of advice or am I solid on this .
Thanks
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2011-12-14 Thread Tom Easterday

On Dec 13, 2011, at 11:08 PM, Jon Elson wrote:
 Tom Easterday wrote:
 
 These are versions without the velocity command at 250ipm and ~1500ipm
 Oh, at 1500 IPM, maybe you need to turn up the servo thread to faster 
 than 1 ms, or
 have you tried that already?

We did try that.  But, I am only able to turn it to down to about 600,000.  
Below that I get realtime errors on the system for some reason (that I don't 
understand).  At 600,000 it didn't seem to help.
-Tom


--
Cloud Computing - Latest Buzzword or a Glimpse of the Future?
This paper surveys cloud computing today: What are the benefits? 
Why are businesses embracing it? What are its payoffs and pitfalls?
http://www.accelacomm.com/jaw/sdnl/114/51425149/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2011-12-14 Thread Tom Easterday

On Dec 13, 2011, at 11:03 PM, Jon Elson wrote:

 Peter C. Wallace wrote:
 Theres a FAQ fom AMT that mentions a jumper on the card that can be removed
 to approximately 1/2 the filter time constant (at the expense of more noise)
 
 And, that is real hard to do once the hub has been glued!  Oops!

Even with the hub glued to the shaft, the encoder still pops out, so you can 
remove the jumper.  We did that yesterday but if it helped it was not obvious.

-Tom


--
Cloud Computing - Latest Buzzword or a Glimpse of the Future?
This paper surveys cloud computing today: What are the benefits? 
Why are businesses embracing it? What are its payoffs and pitfalls?
http://www.accelacomm.com/jaw/sdnl/114/51425149/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2011-12-13 Thread Tom Easterday
Thanks for the info Jon.  We are seeing a small (about 0.001) position error 
just on initial acceleration and deceleration that we cannot account for.  It 
may be due to the encoder.  Since this is mainly a plasma machine we will 
probably live with it.  If we need to do better we'll look at replacing the 
encoders.  We now know the string attached to our cheap encoder :-)
-Tom

On Dec 13, 2011, at 12:21 AM, Jon Elson wrote:
 Yes, that is EXACTLY the kind of problem I saw.  This encoder is highly 
 interpolated, so
 it has a tracking counter that is incremented or decremented by an 
 estimate of the current
 velocity.  If you don't do these computations correctly, there is a lag 
 in responding to
 changes in velocity.  As far as I can tell, the interpolator in such 
 devices as the Analog
 Devices AD2S1200 has a really fine 2nd or 3rd order filter to make this 
 work well.
 Obviously, CUI did not go to the trouble of such mathematics.
 
 After never being happy with these encoders and having a bit of customer 
 feedback,
 I decided to compare to a standard HP optical encoder (with no 
 interpolation.)
 So, I put the optical encoder on the other end of the motor, and fed 
 both to encoder
 inputs on my PWM controller board.  Most useful was to plot velocity 
 derived from
 both encoders at the same time.  This comes up often enough, I have the 
 plots
 permanently on my web site.  See
 http://pico-systems.com/images/compare_encoder2.png
 
 The red trace is the CUI encoder, which was controlling the motor 
 (badly).  The white
 trace is the HP encoder.  Both are providing 4000 counts/rev.  You can 
 clearly see
 the velocity peaks of the CUI encoder are higher, and if you look 
 closely at the
 slopes, you can see the CUI is slow to react to velocity changes, and 
 then has to
 overshoot significantly so the position can catch up.  This of course 
 accounts for
 the bad servo behavior.  As the Halscope is set for 20 ms/div, the 
 velocity lag
 is easily 3-5 ms in duration!
 
 If you have a plain optical encoder handy, you could easily set up the same
 arrangement to compare the encoders.
 
 Jon


--
Systems Optimization Self Assessment
Improve efficiency and utilization of IT resources. Drive out cost and 
improve service delivery. Take 5 minutes to use this Systems Optimization 
Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2011-12-13 Thread Peter C. Wallace
On Tue, 13 Dec 2011, Tom Easterday wrote:

 Date: Tue, 13 Dec 2011 11:45:41 -0500
 From: Tom Easterday tom-...@bgp.nu
 Reply-To: Enhanced Machine Controller (EMC)
 emc-users@lists.sourceforge.net
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] Encoders
 
 Thanks for the info Jon.  We are seeing a small (about 0.001) position error 
 just on initial acceleration and deceleration that we cannot account for. 
 It may be due to the encoder.  Since this is mainly a plasma machine we will 
 probably live with it.  If we need to do better we'll look at replacing the 
 encoders.  We now know the string attached to our cheap encoder :-) -Tom



Have you tried using FF2 to tune out the lag/lead during accel/decel?

(a jerk limited profile would also help)

Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
()_() signature to help him gain world domination.

--
Systems Optimization Self Assessment
Improve efficiency and utilization of IT resources. Drive out cost and 
improve service delivery. Take 5 minutes to use this Systems Optimization 
Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2011-12-13 Thread Jon Elson
Viesturs Lācis wrote:
 2011/12/13 Jon Elson el...@pico-systems.com:
   
 Watch out for the CUI AMT-10x encoders at Digi-Key, they have a lag
 responding to acceleration, and
 may not be well-suited to CNC systems such as EMC2.
 

 Thanks for the warning, Jon!
  I happen to have bought these encoders for one of the machines...
 Do I understand correctly that they are working fine, but I will need
 to decrease max acceleration to get better performance of the encoder?
   
The problem is there is a lag between acceleration and the encoder 
responding to it.
If your servo loop can be tuned for good performance, you are lucky. The 
more
massive the load, the better, I guess. The worst case is a low-inertia 
motor sitting
on the bench. But, if you cannot get the loop response tuned properly, 
then there
really is nothing you can do to fix that. The problem is that when 
velocity changes,
the encoder does not correctly report position. It reports what the 
position WOULD
have been if there had not been an acceleration.

Decreasing max accel will help prevent exciting any unstable response 
from G-code,
but external forces acting on the system cannot be controlled that way, 
and may
excite instability. In other words, reducing accel masks the problem, 
instead of
solving it. Reducing gain will help, but can make the servo response less
accurate.

Jon

--
Systems Optimization Self Assessment
Improve efficiency and utilization of IT resources. Drive out cost and 
improve service delivery. Take 5 minutes to use this Systems Optimization 
Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2011-12-13 Thread Tom Easterday
On Dec 13, 2011, at 12:52 PM, Peter C. Wallace wrote:
 On Tue, 13 Dec 2011, Tom Easterday wrote:
 
 Date: Tue, 13 Dec 2011 11:45:41 -0500
 From: Tom Easterday tom-...@bgp.nu
 Reply-To: Enhanced Machine Controller (EMC)
emc-users@lists.sourceforge.net
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] Encoders
 
 Thanks for the info Jon.  We are seeing a small (about 0.001) position error 
 just on initial acceleration and deceleration that we cannot account for. 
 It may be due to the encoder.  Since this is mainly a plasma machine we will 
 probably live with it.  If we need to do better we'll look at replacing the 
 encoders.  We now know the string attached to our cheap encoder :-) -Tom
 
 
 
 Have you tried using FF2 to tune out the lag/lead during accel/decel?
 

Yes.  Peter (working with me) spent a long time playing with FF2.  We were 
seeing large spikes at first and had FF2 set to 0.007 which helped to lower it 
to .002-.003.  We then realized we had the Granite Devices input filtering 
(which introduces a delay and is documented as doing so) turned on.  Turning 
that off has allowed us to lower FF2 to 0.000105, not zero but getting there.  
The remainder of the delay is now (possibly) coming from the encoder issue Jon 
has pointed out.

 (a jerk limited profile would also help)

What'd you call me?  :-)

What is a jerk limited profile?

-Tom


--
Systems Optimization Self Assessment
Improve efficiency and utilization of IT resources. Drive out cost and 
improve service delivery. Take 5 minutes to use this Systems Optimization 
Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2011-12-13 Thread Jon Elson
Tom Easterday wrote:
 Thanks for the info Jon.  We are seeing a small (about 0.001) position error 
 just on initial acceleration and deceleration that we cannot account for.  It 
 may be due to the encoder.  Since this is mainly a plasma machine we will 
 probably live with it.  If we need to do better we'll look at replacing the 
 encoders.  We now know the string attached to our cheap encoder 
If you can send me a picture form Halscope, I can compare it to what I 
get.  Are you using FF2?
This can be quite helpful in fixing errors on acceleration.  You have to 
use it in VERY small
amounts, though, like .005 or even less.  It is easy to add too MUCH FF2 
and cause jerks
in the response.  Also, there is a manufacturing issue in these, where 
the encoder ring may
fit loosely on the splined hub that mounts to the shaft.  On some units 
you need to put a
little dab of RTV, super glue or whatever on the splined hub to lock the 
ring to it.  You
can poke the ring with an X-acto knife to see if there is any play 
between it and the hub
when the whole thing is assembled.

Jon

--
Systems Optimization Self Assessment
Improve efficiency and utilization of IT resources. Drive out cost and 
improve service delivery. Take 5 minutes to use this Systems Optimization 
Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2011-12-13 Thread Tom Easterday

On Dec 13, 2011, at 1:02 PM, Jon Elson wrote:
 The more massive the load, the better, I guess. The worst case is a 
 low-inertia  motor sitting on the bench.

Yes, this is an important point - that we have learned the hard way.   We were 
about to throw in the towel trying to tune our machine.  We have some fairly 
torquey (I can't believe that is actually a word:-) ) motors given the mass of 
the machine.  We finally got a little education on servos and ended up changing 
our gearing from 2:1 to 5:1 (and using an initial 10:1 gearbox attached to the 
motor).  This made ALL the difference in the world.  The machine runs smooth as 
silk now as there is a constant load on the motor to overcome the 10:1 gearing. 
 

Tom
--
Systems Optimization Self Assessment
Improve efficiency and utilization of IT resources. Drive out cost and 
improve service delivery. Take 5 minutes to use this Systems Optimization 
Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2011-12-13 Thread Tom Easterday

On Dec 13, 2011, at 1:09 PM, Jon Elson wrote:
 If you can send me a picture form Halscope, I can compare it to what I 
 get.  Are you using FF2?
 This can be quite helpful in fixing errors on acceleration.  You have to 
 use it in VERY small
 amounts, though, like .005 or even less.  It is easy to add too MUCH FF2 
 and cause jerks
 in the response.  

Yes, see post in response to Peter Wallace.

 Also, there is a manufacturing issue in these, where 
 the encoder ring may
 fit loosely on the splined hub that mounts to the shaft.  On some units 
 you need to put a
 little dab of RTV, super glue or whatever on the splined hub to lock the 
 ring to it.  You
 can poke the ring with an X-acto knife to see if there is any play 
 between it and the hub
 when the whole thing is assembled.

Mariss from Gecko suggested this to me early on, so we super glued the collars 
to the shafts.  This did indeed help a little, one of them was slipping badly, 
the others perhaps a small amount.  He also suggested adding a tiny bit of 
silicone caulk to one of the cogs in the gear to take up any slop in the fit 
(both pieces are plastic after all).  I did that as well, but I don't think 
there was much slop to begin with so that provided no noticeable improvement.

-Tom


--
Systems Optimization Self Assessment
Improve efficiency and utilization of IT resources. Drive out cost and 
improve service delivery. Take 5 minutes to use this Systems Optimization 
Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2011-12-13 Thread Peter C. Wallace
On Tue, 13 Dec 2011, Tom Easterday wrote:

 Date: Tue, 13 Dec 2011 13:06:31 -0500
 From: Tom Easterday tom-...@bgp.nu
 Reply-To: Enhanced Machine Controller (EMC)
 emc-users@lists.sourceforge.net
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] Encoders
 
 On Dec 13, 2011, at 12:52 PM, Peter C. Wallace wrote:
 On Tue, 13 Dec 2011, Tom Easterday wrote:

 Date: Tue, 13 Dec 2011 11:45:41 -0500
 From: Tom Easterday tom-...@bgp.nu
 Reply-To: Enhanced Machine Controller (EMC)
emc-users@lists.sourceforge.net
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] Encoders

 Thanks for the info Jon.  We are seeing a small (about 0.001) position error
 just on initial acceleration and deceleration that we cannot account for.
 It may be due to the encoder.  Since this is mainly a plasma machine we will
 probably live with it.  If we need to do better we'll look at replacing the
 encoders.  We now know the string attached to our cheap encoder :-) -Tom



 Have you tried using FF2 to tune out the lag/lead during accel/decel?


 Yes.  Peter (working with me) spent a long time playing with FF2.  We were 
 seeing large spikes at first and had FF2 set to 0.007 which helped to lower 
 it to .002-.003.  We then realized we had the Granite Devices input filtering 
 (which introduces a delay and is documented as doing so) turned on.  Turning 
 that off has allowed us to lower FF2 to 0.000105, not zero but getting there. 
  The remainder of the delay is now (possibly) coming from the encoder issue 
 Jon has pointed out.

 (a jerk limited profile would also help)

 What'd you call me?  :-)

 What is a jerk limited profile?

A cubic profile

Currently EMC uses a trapezoidal (linear) velocity profile (so parabolic 
position profile) This means the acceleration profile is a step function. The 
beginning of this step is whats hard to tune around (as you have found)

Jerk is the derivative of acceleration so is infinite with stepped 
acceleration (the current situation with EMC). By using a cubic profile where 
the acceleration is ramped (like velocity is now) starts and stops are much 
gentler and contain less high frequency components that make it hard to tune



 -Tom


 --
 Systems Optimization Self Assessment
 Improve efficiency and utilization of IT resources. Drive out cost and
 improve service delivery. Take 5 minutes to use this Systems Optimization
 Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
()_() signature to help him gain world domination.


--
Systems Optimization Self Assessment
Improve efficiency and utilization of IT resources. Drive out cost and 
improve service delivery. Take 5 minutes to use this Systems Optimization 
Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2011-12-13 Thread Peter C. Wallace
On Tue, 13 Dec 2011, Tom Easterday wrote:

 Date: Tue, 13 Dec 2011 13:20:28 -0500
 From: Tom Easterday tom-...@bgp.nu
 Reply-To: Enhanced Machine Controller (EMC)
 emc-users@lists.sourceforge.net
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] Encoders



Theres a FAQ fom AMT that mentions a jumper on the card that can be removed
to approximately 1/2 the filter time constant (at the expense of more noise)

Might be worth a try

www.amtencoder.com/Resources/Frequently-Asked-Questions

Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
()_() signature to help him gain world domination.


--
Systems Optimization Self Assessment
Improve efficiency and utilization of IT resources. Drive out cost and 
improve service delivery. Take 5 minutes to use this Systems Optimization 
Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2011-12-13 Thread Tom Easterday

On Dec 13, 2011, at 1:17 PM, Peter C. Wallace wrote:
 A cubic profile
 
 Currently EMC uses a trapezoidal (linear) velocity profile (so parabolic 
 position profile) This means the acceleration profile is a step function. The 
 beginning of this step is whats hard to tune around (as you have found)
 
 Jerk is the derivative of acceleration so is infinite with stepped 
 acceleration (the current situation with EMC). By using a cubic profile where 
 the acceleration is ramped (like velocity is now) starts and stops are much 
 gentler and contain less high frequency components that make it hard to tune


Thanks Peter.  And how/where does one set this as the velocity profile?
Tom
--
Systems Optimization Self Assessment
Improve efficiency and utilization of IT resources. Drive out cost and 
improve service delivery. Take 5 minutes to use this Systems Optimization 
Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2011-12-13 Thread Peter C. Wallace
On Tue, 13 Dec 2011, Tom Easterday wrote:

 Date: Tue, 13 Dec 2011 13:44:01 -0500
 From: Tom Easterday tom-...@bgp.nu
 Reply-To: Enhanced Machine Controller (EMC)
 emc-users@lists.sourceforge.net
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] Encoders
 

 On Dec 13, 2011, at 1:17 PM, Peter C. Wallace wrote:
 A cubic profile

 Currently EMC uses a trapezoidal (linear) velocity profile (so parabolic
 position profile) This means the acceleration profile is a step function. The
 beginning of this step is whats hard to tune around (as you have found)

 Jerk is the derivative of acceleration so is infinite with stepped
 acceleration (the current situation with EMC). By using a cubic profile where
 the acceleration is ramped (like velocity is now) starts and stops are much
 gentler and contain less high frequency components that make it hard to 
 tune


 Thanks Peter.  And how/where does one set this as the velocity profile?
 Tom


Apply ~0.5 man year to Trajectory Planner

 --
 Systems Optimization Self Assessment
 Improve efficiency and utilization of IT resources. Drive out cost and
 improve service delivery. Take 5 minutes to use this Systems Optimization
 Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
()_() signature to help him gain world domination.


--
Systems Optimization Self Assessment
Improve efficiency and utilization of IT resources. Drive out cost and 
improve service delivery. Take 5 minutes to use this Systems Optimization 
Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2011-12-13 Thread andy pugh
On 13 December 2011 18:44, Tom Easterday tom-...@bgp.nu wrote:

 Thanks Peter.  And how/where does one set this as the velocity profile?

It isn't currently an option with EMC2. Though I think at least some
work has been done around adding it.

-- 
atp
The idea that there is no such thing as objective truth is, quite simply, wrong.

--
Systems Optimization Self Assessment
Improve efficiency and utilization of IT resources. Drive out cost and 
improve service delivery. Take 5 minutes to use this Systems Optimization 
Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2011-12-13 Thread Tom Easterday

On Dec 13, 2011, at 1:09 PM, Jon Elson wrote:
 If you can send me a picture form Halscope, I can compare it to what I 
 get. 

See: 
http://bgp.nu/~tom/pub/XPosErr-VelCmd.png

These are versions without the velocity command at 250ipm and ~1500ipm:
http://bgp.nu/~tom/pub/XPosError-250ipm.png
http://bgp.nu/~tom/pub/XPosError-Rpaid.png

-Tom

--
Systems Optimization Self Assessment
Improve efficiency and utilization of IT resources. Drive out cost and 
improve service delivery. Take 5 minutes to use this Systems Optimization 
Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2011-12-13 Thread Jon Elson
Peter C. Wallace wrote:
 Theres a FAQ fom AMT that mentions a jumper on the card that can be removed
 to approximately 1/2 the filter time constant (at the expense of more noise)
   
And, that is real hard to do once the hub has been glued!  Oops!

Jon

--
Cloud Computing - Latest Buzzword or a Glimpse of the Future?
This paper surveys cloud computing today: What are the benefits? 
Why are businesses embracing it? What are its payoffs and pitfalls?
http://www.accelacomm.com/jaw/sdnl/114/51425149/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2011-12-13 Thread Jon Elson
Tom Easterday wrote:
 On Dec 13, 2011, at 1:09 PM, Jon Elson wrote:
   
 If you can send me a picture form Halscope, I can compare it to what I 
 get. 
 

 See: 
 http://bgp.nu/~tom/pub/XPosErr-VelCmd.png
   
Doesn't look that bad.  I'm a little surprised the FF2 can't make it 
better.  But, then these
systems with multiple smart controllers can be quite hard to tune.

Jon

--
Cloud Computing - Latest Buzzword or a Glimpse of the Future?
This paper surveys cloud computing today: What are the benefits? 
Why are businesses embracing it? What are its payoffs and pitfalls?
http://www.accelacomm.com/jaw/sdnl/114/51425149/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2011-12-13 Thread Jon Elson
Tom Easterday wrote:

 These are versions without the velocity command at 250ipm and ~1500ipm
Oh, at 1500 IPM, maybe you need to turn up the servo thread to faster 
than 1 ms, or
have you tried that already?

Jon

--
Cloud Computing - Latest Buzzword or a Glimpse of the Future?
This paper surveys cloud computing today: What are the benefits? 
Why are businesses embracing it? What are its payoffs and pitfalls?
http://www.accelacomm.com/jaw/sdnl/114/51425149/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Encoders

2011-12-12 Thread Robert Pabon
Where do you guys buy yours? Looking for affordable, quality units. Need .25 
hollow shaft quadrature encoder, 2000ppr with L-D output. Anyone know a good 
source?
Rob

--
Systems Optimization Self Assessment
Improve efficiency and utilization of IT resources. Drive out cost and 
improve service delivery. Take 5 minutes to use this Systems Optimization 
Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2011-12-12 Thread Jon Elson
Robert Pabon wrote:
 Where do you guys buy yours? Looking for affordable, quality units. Need .25 
 hollow shaft quadrature encoder, 2000ppr with L-D output. Anyone know a good 
 source
Avago, US Digital and Renco come to mind.  By hollow-shaft, do you mean 
kit encoders?
Real hollow-shaft encoders with bearings are quite expensive, BEI and 
Danaher come to mind.
The Kit encoders have a free-floating wheel that is supported by a shaft 
on the motor or machine,
and have no bearings.  They are much cheaper due to this.  You can 
search on Digi-Key, Mouser
and Avnet.  Renco has been bought out by Heidenhain, but they are still 
available.

Watch out for the CUI AMT-10x encoders at Digi-Key, they have a lag 
responding to acceleration, and
may not be well-suited to CNC systems such as EMC2.

Jon

--
Systems Optimization Self Assessment
Improve efficiency and utilization of IT resources. Drive out cost and 
improve service delivery. Take 5 minutes to use this Systems Optimization 
Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2011-12-12 Thread Tom Easterday

On Dec 12, 2011, at 9:38 PM, Jon Elson wrote:
 Watch out for the CUI AMT-10x encoders at Digi-Key, they have a lag 
 responding to acceleration, and
 may not be well-suited to CNC systems such as EMC2.

Jon,
We are using these encoders on a gantry machine and are currently trying to 
debug a small spike (0.001) of error we see on start and stop of the motor.  I 
wonder if this is related to the lag you refer to.  How and why does this  
present itself in these encoders?  How would be see it?
Thanks,
Tom


--
Systems Optimization Self Assessment
Improve efficiency and utilization of IT resources. Drive out cost and 
improve service delivery. Take 5 minutes to use this Systems Optimization 
Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2011-12-12 Thread Jon Elson
Tom Easterday wrote:
 On Dec 12, 2011, at 9:38 PM, Jon Elson wrote:
   
 Watch out for the CUI AMT-10x encoders at Digi-Key, they have a lag 
 responding to acceleration, and
 may not be well-suited to CNC systems such as EMC2.
 

 Jon,
 We are using these encoders on a gantry machine and are currently trying to 
 debug a small spike (0.001) of error we see on start and stop of the motor.  
 I wonder if this is related to the lag you refer to.  How and why does this  
 present itself in these encoders?  How would be see it?
   
Yes, that is EXACTLY the kind of problem I saw.  This encoder is highly 
interpolated, so
it has a tracking counter that is incremented or decremented by an 
estimate of the current
velocity.  If you don't do these computations correctly, there is a lag 
in responding to
changes in velocity.  As far as I can tell, the interpolator in such 
devices as the Analog
Devices AD2S1200 has a really fine 2nd or 3rd order filter to make this 
work well.
Obviously, CUI did not go to the trouble of such mathematics.

After never being happy with these encoders and having a bit of customer 
feedback,
I decided to compare to a standard HP optical encoder (with no 
interpolation.)
So, I put the optical encoder on the other end of the motor, and fed 
both to encoder
inputs on my PWM controller board.  Most useful was to plot velocity 
derived from
both encoders at the same time.  This comes up often enough, I have the 
plots
permanently on my web site.  See
http://pico-systems.com/images/compare_encoder2.png

The red trace is the CUI encoder, which was controlling the motor 
(badly).  The white
trace is the HP encoder.  Both are providing 4000 counts/rev.  You can 
clearly see
the velocity peaks of the CUI encoder are higher, and if you look 
closely at the
slopes, you can see the CUI is slow to react to velocity changes, and 
then has to
overshoot significantly so the position can catch up.  This of course 
accounts for
the bad servo behavior.  As the Halscope is set for 20 ms/div, the 
velocity lag
is easily 3-5 ms in duration!

If you have a plain optical encoder handy, you could easily set up the same
arrangement to compare the encoders.

Jon

--
Systems Optimization Self Assessment
Improve efficiency and utilization of IT resources. Drive out cost and 
improve service delivery. Take 5 minutes to use this Systems Optimization 
Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2011-12-12 Thread Viesturs Lācis
2011/12/13 Jon Elson el...@pico-systems.com:

 Watch out for the CUI AMT-10x encoders at Digi-Key, they have a lag
 responding to acceleration, and
 may not be well-suited to CNC systems such as EMC2.

Thanks for the warning, Jon!
 I happen to have bought these encoders for one of the machines...
Do I understand correctly that they are working fine, but I will need
to decrease max acceleration to get better performance of the encoder?

Viesturs

--
Systems Optimization Self Assessment
Improve efficiency and utilization of IT resources. Drive out cost and 
improve service delivery. Take 5 minutes to use this Systems Optimization 
Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders on 7i48

2011-09-17 Thread Viesturs Lācis
Hello, Peter!

2011. gada 16. septembris 16:23 Peter C. Wallace p...@mesanet.com rakstīja:

 Mode 2 is correct for the 7I48, what bit file are you using?

My first email on this thread:
 I am using this customized firmware, that was kindly provided by Peter 
 Wallace:
 http://www.cutting.lv/fileadmin/user_upload/SVST6_6.BIT
 http://www.cutting.lv/fileadmin/user_upload/SVST6_6.PIN


 are you sure you have the correct 7I43 connector?

Yes, 7i48 is attached to P4 connector.
I will check the cables with multimeter. From 7i43 to 7i48 and also
to/from servo drives. Although I do not see any symptoms for bad
wiring, I will try to check them to make sure .

 Also whats driving the PWM signal value?

In HAL file I have:
net emcmot.00.pos-cmd axis.0.motor-pos-cmd = pid.0.command pid.1.command
net pid-0-out  pid.0.output =  hm2_[HOSTMOT2](BOARD).0.pwmgen.00.value
setp hm2_[HOSTMOT2](BOARD).0.pwmgen.00.output-type 2
setp hm2_[HOSTMOT2](BOARD).0.pwmgen.00.scale  [AXIS_0]OUTPUT_SCALE

I wanted to check, if servo drives respond to any signal from EMC by
trying to jog separate joints.

The behavior I am getting with servodrives turned on and manually enabled:
Pressing F2 (Toggle machine on) will give -9.98V on one channel,
10.01V on second channel, 0.0V on third channel.
Pressing F2 again (Toggle machine off) will set all channels to 0V.
Pressing F2 repeatedly is just setting those channels to -9.9V or 10V
and back to 0V.

In INI file for all 3 joints I have:
OUTPUT_SCALE =  1.000
OUTPUT_OFFSET = 0.0
MAX_OUTPUT =1.0

Are there any better procedures to test and set up EMC with servos? I
have no experience with these things yet.

BTW, I have set servo drive to work in velocity mode (there is special
application for changing settings in servo drives). So I had to set
the scale, how much RPM should motor do at 10V. Unfortunately I cannot
find any PID related parameters to tune feedback loop in servo drive.
I have Kollmorgen Servostar S601. Does anyone have experience with
these drives to share with me?
I haven't found in documentation, what does the output_scale parameter
in INI file for servos do? For steppers it was easy - scale means how
many steps are in one unit of length. I guess that is the same for
Input_scale. But what about output scale?

And also one more question to more knowledgable users about quadrature
encoder signal: what does EMC consider as 1 pulse from quadrature
encoder - the nominal resolution or the quadrature sgnals that are 4x
nominal resolution?
Thanks!

Viesturs

--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders on 7i48

2011-09-17 Thread Peter C. Wallace

On Sat, 17 Sep 2011, Viesturs L?cis wrote:


Date: Sat, 17 Sep 2011 13:39:33 +0300
From: [UTF-8] Viesturs L?cis viesturs.la...@gmail.com
Reply-To: Enhanced Machine Controller (EMC)
emc-users@lists.sourceforge.net
To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] Encoders on 7i48

Hello, Peter!


2011. gada 16. septembris 16:23 Peter C. Wallace p...@mesanet.com rakst??ja:


Mode 2 is correct for the 7I48, what bit file are you using?


My first email on this thread:

I am using this customized firmware, that was kindly provided by Peter Wallace:
http://www.cutting.lv/fileadmin/user_upload/SVST6_6.BIT
http://www.cutting.lv/fileadmin/user_upload/SVST6_6.PIN




are you sure you have the correct 7I43 connector?


Yes, 7i48 is attached to P4 connector.
I will check the cables with multimeter. From 7i43 to 7i48 and also
to/from servo drives. Although I do not see any symptoms for bad
wiring, I will try to check them to make sure .


Also whats driving the PWM signal value?


In HAL file I have:
net emcmot.00.pos-cmd axis.0.motor-pos-cmd = pid.0.command pid.1.command
net pid-0-out  pid.0.output =  hm2_[HOSTMOT2](BOARD).0.pwmgen.00.value
setp hm2_[HOSTMOT2](BOARD).0.pwmgen.00.output-type 2
setp hm2_[HOSTMOT2](BOARD).0.pwmgen.00.scale  [AXIS_0]OUTPUT_SCALE


Since you have no feedback until you get your encoders working, I would just 
try getting +- 10V out of the 7I48 by setting the output scale to 10,

disconnecting the PWM .value from the PID loop and setting it
manually in volts with setp ) try +10, -10, +5 ,-5 ,0 etc


I wanted to check, if servo drives respond to any signal from EMC by
trying to jog separate joints.

The behavior I am getting with servodrives turned on and manually enabled:
Pressing F2 (Toggle machine on) will give -9.98V on one channel,
10.01V on second channel, 0.0V on third channel.
Pressing F2 again (Toggle machine off) will set all channels to 0V.
Pressing F2 repeatedly is just setting those channels to -9.9V or 10V
and back to 0V.

In INI file for all 3 joints I have:
OUTPUT_SCALE =  1.000
OUTPUT_OFFSET = 0.0
MAX_OUTPUT =1.0

Are there any better procedures to test and set up EMC with servos? I
have no experience with these things yet.

BTW, I have set servo drive to work in velocity mode (there is special
application for changing settings in servo drives). So I had to set
the scale, how much RPM should motor do at 10V. Unfortunately I cannot
find any PID related parameters to tune feedback loop in servo drive.
I have Kollmorgen Servostar S601. Does anyone have experience with
these drives to share with me?
I haven't found in documentation, what does the output_scale parameter
in INI file for servos do? For steppers it was easy - scale means how
many steps are in one unit of length. I guess that is the same for
Input_scale. But what about output scale?

And also one more question to more knowledgable users about quadrature
encoder signal: what does EMC consider as 1 pulse from quadrature
encoder - the nominal resolution or the quadrature sgnals that are 4x
nominal resolution?
Thanks!

Viesturs

--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
()_() signature to help him gain world domination.
--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders on 7i48

2011-09-17 Thread Viesturs Lācis
2011/9/17 Peter C. Wallace p...@mesanet.com:

 Since you have no feedback until you get your encoders working, I would just
 try getting +- 10V out of the 7I48 by setting the output scale to 10,
 disconnecting the PWM .value from the PID loop and setting it
 manually in volts with setp ) try +10, -10, +5 ,-5 ,0 etc

Thank You for the suggestion!
EMC does receive encoder signal from servo drive (motors have
resolvers, servodrive emulates encoder signal and outputs it on a
9-pin serial port connector, from where the signal is wired to 7i48).
I am watching position pins of encoders from servo drive and they
either increase to very high values or decrease to very low values.
Actually EMC receives all 6 encoder signals, also 3 from linear scales
-  I also checked their position pins, when pushing machine by hand
(motors are detached) and it seems that the increase/decrease in the
value of linear scales' position pin matches the actual travel.

I have 2 questions:
1) I have managed to get 2 joints oscillate around zero, (which tells
me that they need have PID parameters adjusted). There is a problem
with a third joint, which just runs away. When I try to change
something for that third joint, it affects also some of first two. Why
is that so? For example, if I set Output_scale for third joint from 1
to -1, second joint will not oscillate around zero, but run away.

2) How do I solve the situation, when PWM value is +1, but encoder
position increases in negative direction? That is for the third joint.
As I mentioned, changing output scale to -1 for third joint will make
second joint to misbehave. What else can cause that? Should I change A
and B wires from encoder signal cable?

Viesturs

--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders on 7i48

2011-09-17 Thread Viesturs Lācis
2011/9/17 Peter C. Wallace p...@mesanet.com:

 I have 2 questions:
 1) I have managed to get 2 joints oscillate around zero, (which tells
 me that they need have PID parameters adjusted). There is a problem
 with a third joint, which just runs away. When I try to change
 something for that third joint, it affects also some of first two. Why
 is that so? For example, if I set Output_scale for third joint from 1
 to -1, second joint will not oscillate around zero, but run away.


 There should be no interaction of the axis

 I would do as I has suggested and verify that all DAC channels work as
 expected before proceeding.

 interaction suggests a grounding/ analog input problem (do the drives have
 differential inputs ( most do) If so the IN+ sould go to 7I48 AOUT and the IN-
 to 7I48 ground

Thanks, I will take a look!


 2) How do I solve the situation, when PWM value is +1, but encoder
 position increases in negative direction? That is for the third joint.
 As I mentioned, changing output scale to -1 for third joint will make
 second joint to misbehave. What else can cause that? Should I change A
 and B wires from encoder signal cable?

 I would first set up the encoders so they count in the correct direction for
 your axis, and then change the output scale to reverse the PID feedback if
 need be.

Ok, and how can I do that - fix the the direction of counting? Will
changing A and B leads do the trick?

Viesturs

--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders on 7i48

2011-09-17 Thread Dave
On 9/17/2011 6:39 AM, Viesturs Lācis wrote:
 BTW, I have set servo drive to work in velocity mode (there is special
 application for changing settings in servo drives). So I had to set
 the scale, how much RPM should motor do at 10V. Unfortunately I cannot
 find any PID related parameters to tune feedback loop in servo drive.
 I have Kollmorgen Servostar S601. Does anyone have experience with
 these drives to share with me?
 I haven't found in documentation, what does the output_scale parameter
 in INI file for servos do? For steppers it was easy - scale means how
 many steps are in one unit of length. I guess that is the same for
 Input_scale. But what about output scale?

 And also one more question to more knowledgable users about quadrature
 encoder signal: what does EMC consider as 1 pulse from quadrature
 encoder - the nominal resolution or the quadrature sgnals that are 4x
 nominal resolution?


Usually you set the drive velocity scaling to match the max velocity 
that you want to be able to spin the motor up to.

Say you want 1000 ipm as the absolute max velocity for that axis, figure 
out what your motor must spin to do  that (via the gearing) and that is 
your max motor velocity for 10V.

EMC uses all of the edges - at least that is my experience when using 
the Mesa cards and hostmot2.So it is the pulses per rev for the 
encoder x 4 when using quadrature mode on the encoder inputs.

Dave

--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Encoders on 7i48

2011-09-16 Thread Viesturs Lācis
Hello, gentlemen!

I would like to ask, if someone can suggest me, why I do not see
encoders in HAL Config. I have pasted a screenshot here:
http://www.cutting.lv/fileadmin/user_upload/emc2.png

I have Mesa 7i48 card, attached to 7i43.
The config line tells hm2 driver to load 6 pwm gens, 6 encoders and 3 stepgens.

I am using this customized firmware, that was kindly provided by Peter Wallace:
http://www.cutting.lv/fileadmin/user_upload/SVST6_6.BIT
http://www.cutting.lv/fileadmin/user_upload/SVST6_6.PIN

As the screenshot shows, there are 6 pwm gens, 3 stepgens, but no
encoders on 7i43 card.
What am I missing here?
Can I ask other 7i48 card owners to share their experience?

Note: that one encoder is HAL module for NHC (nozzle height control) purposes.
Thanks!

Viesturs

--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders on 7i48

2011-09-16 Thread andy pugh
On 16 September 2011 09:03, Viesturs Lācis viesturs.la...@gmail.com wrote:

 I have Mesa 7i48 card, attached to 7i43.

The 7i48 requires Muxed Encoders (support introduced in this commit
http://git.linuxcnc.org/gitweb?p=emc2.git;a=commit;h=da0d5aa5563de8dc7f8f3a87044bd62e1ade5326

I have never figured out how to tell what branch a commit has gone
into, but I think you probably need a 2.5 version.

-- 
atp
Torque wrenches are for the obedience of fools and the guidance of wise men

--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders on 7i48

2011-09-16 Thread Viesturs Lācis
2011. gada 16. septembris 13:53 Viesturs Lācis
viesturs.la...@gmail.com rakstīja:
 2011/9/16 andy pugh bodge...@gmail.com:
 On 16 September 2011 11:26, Viesturs Lācis viesturs.la...@gmail.com wrote:

 From manual:
 The 7I48 takes up/down PWM or PDM signals from the Anything I/O card

 From http://www.linuxcnc.org/docs/devel/html/man/man9/hostmot2.9.html#pwmgen
 Accepted values are 1 (PWM on Out0 and Direction on Out1), 2 (Up on
 Out0 and Down on Out1), 3 (PDM mode, PDM on Out0 and Dir on Out1), and
 4 (Direction on Out0 and PWM on Out1, for locked antiphase).

 It says you need Up/Down mode, so that means it has to be mode 2.

 (connecting PWM/DIR to Up/Down inputs will have very wrong behaviour)

 I tried both 2 and 3.
 For type 3 I get -9.98V on X1 output after trying to jog it. X2 and Y
 stay at 0V. Motors, whose drives receive these 9.98V signals, are
 spinning...

 For type 2 I get -9.98V on X1 and X2 outputs right after enabling EMC,
 Y is 0V. Pressing F2 to disable returns outputs to 0V. Pressing it
 repeatedly will repeatedly turn motors on and off.

I would like to ask, if someone can share sample HAL config for 7i48
card. Currently I cannot figure out, how to set up pwm generators. I
am getting either + or - 9.99V on one channel, only -9.99V on second
channel and nothing on third channel.
Any ideas, where should I look?

Viesturs

--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders on 7i48

2011-09-16 Thread Peter C. Wallace

On Fri, 16 Sep 2011, Viesturs L?cis wrote:


Date: Fri, 16 Sep 2011 14:37:41 +0300
From: [UTF-8] Viesturs L?cis viesturs.la...@gmail.com
Reply-To: Enhanced Machine Controller (EMC)
emc-users@lists.sourceforge.net
To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] Encoders on 7i48

2011. gada 16. septembris 13:53 Viesturs Lācis
viesturs.la...@gmail.com rakstīja:

2011/9/16 andy pugh bodge...@gmail.com:

On 16 September 2011 11:26, Viesturs Lācis viesturs.la...@gmail.com wrote:


From manual:
The 7I48 takes up/down PWM or PDM signals from the Anything I/O card

From http://www.linuxcnc.org/docs/devel/html/man/man9/hostmot2.9.html#pwmgen
Accepted values are 1 (PWM on Out0 and Direction on Out1), 2 (Up on
Out0 and Down on Out1), 3 (PDM mode, PDM on Out0 and Dir on Out1), and
4 (Direction on Out0 and PWM on Out1, for locked antiphase).


It says you need Up/Down mode, so that means it has to be mode 2.

(connecting PWM/DIR to Up/Down inputs will have very wrong behaviour)


I tried both 2 and 3.
For type 3 I get -9.98V on X1 output after trying to jog it. X2 and Y
stay at 0V. Motors, whose drives receive these 9.98V signals, are
spinning...




Mode 2 is correct for the 7I48, what bit file are you using? are you sure you 
have the correct 7I43 connector?



Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
()_() signature to help him gain world domination.
--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders on 7i48

2011-09-16 Thread Peter C. Wallace

On Fri, 16 Sep 2011, Peter C. Wallace wrote:


Date: Fri, 16 Sep 2011 06:23:37 -0700 (PDT)
From: Peter C. Wallace p...@mesanet.com
Reply-To: Enhanced Machine Controller (EMC)
emc-users@lists.sourceforge.net
To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] Encoders on 7i48

On Fri, 16 Sep 2011, Viesturs L?cis wrote:


Date: Fri, 16 Sep 2011 14:37:41 +0300
From: [UTF-8] Viesturs L?cis viesturs.la...@gmail.com
Reply-To: Enhanced Machine Controller (EMC)
emc-users@lists.sourceforge.net
To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] Encoders on 7i48

2011. gada 16. septembris 13:53 Viesturs L?cis
viesturs.la...@gmail.com rakst?ja:

2011/9/16 andy pugh bodge...@gmail.com:
On 16 September 2011 11:26, Viesturs L?cis viesturs.la...@gmail.com 
wrote:



From manual:
The 7I48 takes up/down PWM or PDM signals from the Anything I/O card

From 
http://www.linuxcnc.org/docs/devel/html/man/man9/hostmot2.9.html#pwmgen

Accepted values are 1 (PWM on Out0 and Direction on Out1), 2 (Up on
Out0 and Down on Out1), 3 (PDM mode, PDM on Out0 and Dir on Out1), and
4 (Direction on Out0 and PWM on Out1, for locked antiphase).


It says you need Up/Down mode, so that means it has to be mode 2.

(connecting PWM/DIR to Up/Down inputs will have very wrong behaviour)


I tried both 2 and 3.
For type 3 I get -9.98V on X1 output after trying to jog it. X2 and Y
stay at 0V. Motors, whose drives receive these 9.98V signals, are
spinning...




Mode 2 is correct for the 7I48, what bit file are you using? are you sure you 
have the correct 7I43 connector?



Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
()_() signature to help him gain world domination.




Also whats driving the PWM signal value?


Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
()_() signature to help him gain world domination.
--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders for MPG

2011-03-28 Thread Rudy du Preez
I have changed over to making my own MPG's using the cheap ($24) AMT102
settable encoders. I make the shaft and wheel myself and fit a couple of BCD
rotary switches in a neat little box. I tend to keep them simple. 

Currently I am making a substantial unit with two handwheels mounted in an
aluminium block and some switches added. This is for a Weiler 160 CNC lathe.
The wheels (substantial size mounted on shafts in ball bearings and friction
pads and encoders added) will allow me to use the machine in manual mode.
The switches allow the following: left and right Z soft limits, X axis soft
limits, manual or auto feed for both axes with adjustable speed. The limits
allow cutting with hand or auto feed up to the limit as if it was a
mechanical stop. 

I wrote quite a few HAL components to achieve this and will report further
on this when the unit has been tested on the machine (currently tested only
on a mock-up layout).

I am so used to using mechanical stops on my manual Schaublin 125 that I
want this also for quick jobs on the bigger Weiler.

Rudy du Preez


--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders x 2

2011-02-17 Thread jros

Kim,

On Wed, 2011-02-16 at 17:03 -0600, Kim Kirwan wrote:
 Yes, this can be done and Stuart (for one) has done it. 
 
 See the wiki Combining Two Feedback Devices On One Axis
 http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Combining_Two_Feedback_Devices_On_One_Axis
 

Certainly that looks like a possibility but, I think that the state of
the art approach would be a Kalman filter, that can be used to get the
best from both sensors and give back a more precise feedback. In
addition to this, if a decent model of the machine is available, kalman
filter would use it additionally to get an even improved feedback
(including velocity and acceleration if needed).

Cheers,

Javier

 Thanks, 
 
 Kim
 
 
 On 02/16/2011 03:21 PM, Marshland Engineering wrote:
  I'm not sure if this can be done but I do have it on my existing mill.
  
  It has servo drives with encoders but it also has encoders on the table. 
  This obviously gets rid of backlash. (I have to say it is very accurate 
  mill)
  
  Has anyone done something like this ?
  
  Thanks Wallace
  
  
  
  --
  The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
  Pinpoint memory and threading errors before they happen.
  Find and fix more than 250 security defects in the development cycle.
  Locate bottlenecks in serial and parallel code that limit performance.
  http://p.sf.net/sfu/intel-dev2devfeb
  ___
  Emc-users mailing list
  Emc-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/emc-users
  
  
 
 
 --
 The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
 Pinpoint memory and threading errors before they happen.
 Find and fix more than 250 security defects in the development cycle.
 Locate bottlenecks in serial and parallel code that limit performance.
 http://p.sf.net/sfu/intel-dev2devfeb
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders with no Index

2011-02-17 Thread Jon Elson
Igor Chudov wrote:
 
 Which brings up a question, can one tap with a plug tap first, on a CNC mill
 that is equipped for rigid tapping?
   
The problem is how do you synchronize two taps, in different holders, so 
that the threads are synched?
I really don't think rigid tapping with a roughing and a finish tap is 
practical.  Probably the only way to
do it would be to rigid tap with the plug tap, change to the finish tap 
but leave the holder loose and manually
start it into the hole, and let the existing threads synch the tap.  
Then, tighten the tap holder while it is still
in the hole.  This is not what I'd call a reasonable shop operation.

Jon

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders with no Index

2011-02-17 Thread Jon Elson
Igor Chudov wrote:
 Stuart, what I mean is this:

 1) Drill a hole for tapping
 2) Tap with a plug tap

 Is that possible with a CNC mill equipped for rigid tapping? (like mine)?
   
It depends on the hole size, the thread engagement, the material, the 
thickness of the material, etc.
I am sure you could do this in thin aluminum with an adequate hole 
diameter.  I am sure you will
have an accident attempting to do the same in thick stainless.  I have a 
lot of experience now
rigid tapping in various aluminum parts, but all with smaller taps from 
2-56 up to 10-32.  it was really
COOL to watch it tap fairly deep holes with a 2-56 tap!  All I had to do 
was brush the chips out of
the tap's flutes every hole with a toothbrush soaked with alum-tap, and 
it went beautifully.

But, proper tap selection really makes all the difference.  Try to do 
too deep a hole with spiral flute
taps and they choke on their own chip and break.  So, I have a selection 
of combined drill-taps (thin material only, no more than 2X major 
diameter), spiral flute (maybe 3-4 X diameter) and spiral point for 
anything deeper.

Jon

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders with no Index

2011-02-17 Thread andy pugh
On 17 February 2011 19:19, Jon Elson el...@pico-systems.com wrote:

 Probably the only way to
 do it would be to rigid tap with the plug tap, change to the finish tap
 but leave the holder loose and manually
 start it into the hole, and let the existing threads synch the tap.
 Then, tighten the tap holder while it is still
 in the hole.  This is not what I'd call a reasonable shop operation.

Once set up though, with indexed holders (such as BT, CAT, INT) it
should carry on working.

However, this all seems a bit of a diversion from the original question...

-- 
atp
Torque wrenches are for the obedience of fools and the guidance of wise men

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Encoders with no Index

2011-02-16 Thread andy pugh
Is there any reason why it would be a bad idea to derive an index
pulse in software? I am thinking about situations where folk are short
of P-port pins but want to tap/thread etc.
You can do lathe threading with one pulse per rev and a single pin,
but I can't help feeling that multiple pulses and a software-derived
index would work better (whether is is done with modulo division
cobbled together with HAL functions, a custom component, or even a mod
to the existing encoder counter)

Rigid tapping will always need two pins to sense direction, but unless
people do multi-pass tapping (and I guess they might, with taper,
second and plug (yikes!)) the index serves only to start the cycle so
should be perfectly safe to derive synthetically.

-- 
atp
Torque wrenches are for the obedience of fools and the guidance of wise men

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders with no Index

2011-02-16 Thread Igor Chudov

 Rigid tapping will always need two pins to sense direction, but unless
 people do multi-pass tapping (and I guess they might, with taper,
 second and plug (yikes!)) the index serves only to start the cycle so
 should be perfectly safe to derive synthetically.


Which brings up a question, can one tap with a plug tap first, on a CNC mill
that is equipped for rigid tapping?
--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders with no Index

2011-02-16 Thread Peter C. Wallace
On Wed, 16 Feb 2011, andy pugh wrote:

 Date: Wed, 16 Feb 2011 19:21:01 +0200
 From: andy pugh bodge...@gmail.com
 Reply-To: Enhanced Machine Controller (EMC)
 emc-users@lists.sourceforge.net
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Subject: [Emc-users] Encoders with no Index
 
 Is there any reason why it would be a bad idea to derive an index
 pulse in software? I am thinking about situations where folk are short
 of P-port pins but want to tap/thread etc.
 You can do lathe threading with one pulse per rev and a single pin,
 but I can't help feeling that multiple pulses and a software-derived
 index would work better (whether is is done with modulo division
 cobbled together with HAL functions, a custom component, or even a mod
 to the existing encoder counter)

 Rigid tapping will always need two pins to sense direction, but unless
 people do multi-pass tapping (and I guess they might, with taper,
 second and plug (yikes!)) the index serves only to start the cycle so
 should be perfectly safe to derive synthetically.

 -- 
 atp
 Torque wrenches are for the obedience of fools and the guidance of wise men


Seems reasonable to me, no help for spindle orient but fine for rigid 
tapping/threading. Your synthesized index reference position should persist 
until EMC is shut down, so really no different than a true index except:

1. Random relation to spindle orientation 
2. Orientiation changes every EMC startup


I guess the mod function could allow for encoders with non 1-1 gear/belt 
ratios with the spindle

Peter Wallace
Mesa Electronics

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders with no Index

2011-02-16 Thread Dave Caroline
Someone reading on a parport near/above to max speed could miss a
pulse and not know.
Shouldnt be doing that but
Even with a pulse over speed just gives you a drunk thread no error condition.

I cant think how one would set the offsets for a set of
plug/middle/taper taps as they wont be consistently on the same helix,
a measuring nightmare, use machine taps as they are designed for a
single tap to do the work and have the correct swarf clearance flutes
for cnc work.


Dave Caroline

On Wed, Feb 16, 2011 at 5:21 PM, andy pugh bodge...@gmail.com wrote:
 Is there any reason why it would be a bad idea to derive an index
 pulse in software? I am thinking about situations where folk are short
 of P-port pins but want to tap/thread etc.
 You can do lathe threading with one pulse per rev and a single pin,
 but I can't help feeling that multiple pulses and a software-derived
 index would work better (whether is is done with modulo division
 cobbled together with HAL functions, a custom component, or even a mod
 to the existing encoder counter)

 Rigid tapping will always need two pins to sense direction, but unless
 people do multi-pass tapping (and I guess they might, with taper,
 second and plug (yikes!)) the index serves only to start the cycle so
 should be perfectly safe to derive synthetically.

 --
 atp
 Torque wrenches are for the obedience of fools and the guidance of wise men

 --
 The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
 Pinpoint memory and threading errors before they happen.
 Find and fix more than 250 security defects in the development cycle.
 Locate bottlenecks in serial and parallel code that limit performance.
 http://p.sf.net/sfu/intel-dev2devfeb
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders with no Index

2011-02-16 Thread Stuart Stevenson
On Wed, Feb 16, 2011 at 11:28 AM, Igor Chudov ichu...@gmail.com wrote:

 
  Rigid tapping will always need two pins to sense direction, but unless
  people do multi-pass tapping (and I guess they might, with taper,
  second and plug (yikes!)) the index serves only to start the cycle so
  should be perfectly safe to derive synthetically.
 
 
 Which brings up a question, can one tap with a plug tap first, on a CNC
 mill
 that is equipped for rigid tapping?

 that would be tricky - maybe an optical comparator to make sure the helix
is in the proper orientation.
interesting
Stuart

dos centavos
--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders with no Index

2011-02-16 Thread Igor Chudov
On Wed, Feb 16, 2011 at 2:04 PM, Stuart Stevenson stus...@gmail.com wrote:

 On Wed, Feb 16, 2011 at 11:28 AM, Igor Chudov ichu...@gmail.com wrote:

  
   Rigid tapping will always need two pins to sense direction, but unless
   people do multi-pass tapping (and I guess they might, with taper,
   second and plug (yikes!)) the index serves only to start the cycle so
   should be perfectly safe to derive synthetically.
  
  
  Which brings up a question, can one tap with a plug tap first, on a CNC
  mill
  that is equipped for rigid tapping?
 
  that would be tricky - maybe an optical comparator to make sure the helix
 is in the proper orientation.
 interesting
 Stuart


Stuart, what I mean is this:

1) Drill a hole for tapping
2) Tap with a plug tap

Is that possible with a CNC mill equipped for rigid tapping? (like mine)?


--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders with no Index

2011-02-16 Thread Chris Radek
On Wed, Feb 16, 2011 at 02:04:45PM -0600, Stuart Stevenson wrote:

 that would be tricky - maybe an optical comparator to make sure the helix
 is in the proper orientation.
 interesting
 Stuart


Yes - it would work fine - all you have to do is get the two taps in
the holders oriented the same way.  Seems like you could do it
optically or with some clever fixture.

If you have something matching your spindle taper that can sit upright
on a surface plate, a height gauge, and a piece of material with a
good matching thread in it, it seems like you could get the taps
aligned pretty easily.

Collets would be harder than set screw holders, because they'd pull in
when you tighten them.

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders with no Index

2011-02-16 Thread Igor Chudov
On Wed, Feb 16, 2011 at 2:12 PM, Chris Radek ch...@timeguy.com wrote:

 On Wed, Feb 16, 2011 at 02:04:45PM -0600, Stuart Stevenson wrote:

  that would be tricky - maybe an optical comparator to make sure the helix
  is in the proper orientation.
  interesting
  Stuart


 Yes - it would work fine - all you have to do is get the two taps in
 the holders oriented the same way.  Seems like you could do it
 optically or with some clever fixture.


Guys, my question was not about re-entering tapped holes. It is about
tapping a hole with a plug tap as one, first and only tapping operation, in
a CNC mill equipped for tapping. Would that work, mechanically?


 If you have something matching your spindle taper that can sit upright
 on a surface plate, a height gauge, and a piece of material with a
 good matching thread in it, it seems like you could get the taps
 aligned pretty easily.

 Collets would be harder than set screw holders, because they'd pull in
 when you tighten them.


 --
 The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
 Pinpoint memory and threading errors before they happen.
 Find and fix more than 250 security defects in the development cycle.
 Locate bottlenecks in serial and parallel code that limit performance.
 http://p.sf.net/sfu/intel-dev2devfeb
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders with no Index

2011-02-16 Thread Chris Radek
On Wed, Feb 16, 2011 at 02:21:40PM -0600, Igor Chudov wrote:

 Guys, my question was not about re-entering tapped holes. It is about
 tapping a hole with a plug tap as one, first and only tapping operation, in
 a CNC mill equipped for tapping. Would that work, mechanically?

Wow did we misunderstand.

I don't think it would be very successful to use a bottoming/plug tap
as the first and only tap (whether on a mill or by hand) - if you try
it, let us know!

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders with no Index

2011-02-16 Thread Stuart Stevenson
 Wow did we misunderstand.


yes definitely



 I don't think it would be very successful to use a bottoming/plug tap
 as the first and only tap (whether on a mill or by hand) - if you try
 it, let us know!


depends on the material and tap depth and percentage of thread (tap drill
diameter) etc

considered answer - yes but not often

Stuart

-- 
dos centavos
--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders with no Index

2011-02-16 Thread andy pugh
On 16 February 2011 19:28, Igor Chudov ichu...@gmail.com wrote:

 Which brings up a question, can one tap with a plug tap first, on a CNC mill
 that is equipped for rigid tapping?

Probably, but one flute of one thread cuts the whole thread. With a
taper tap the work is shared over several teeth and flutes.

Machine taps are somewhere in the middle, not needing the
self-aligning taper of a hand tap, but not threading right to the
bottom like a plug tap either.

-- 
atp
Torque wrenches are for the obedience of fools and the guidance of wise men

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Encoders x 2

2011-02-16 Thread Marshland Engineering
I'm not sure if this can be done but I do have it on my existing mill.

It has servo drives with encoders but it also has encoders on the table. This 
obviously gets rid of backlash. (I have to say it is very accurate mill)

Has anyone done something like this ?

Thanks Wallace



--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders x 2

2011-02-16 Thread Kim Kirwan
Yes, this can be done and Stuart (for one) has done it. 

See the wiki Combining Two Feedback Devices On One Axis
http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Combining_Two_Feedback_Devices_On_One_Axis

Thanks, 

Kim


On 02/16/2011 03:21 PM, Marshland Engineering wrote:
 I'm not sure if this can be done but I do have it on my existing mill.
 
 It has servo drives with encoders but it also has encoders on the table. This 
 obviously gets rid of backlash. (I have to say it is very accurate mill)
 
 Has anyone done something like this ?
 
 Thanks Wallace
 
 
 
 --
 The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
 Pinpoint memory and threading errors before they happen.
 Find and fix more than 250 security defects in the development cycle.
 Locate bottlenecks in serial and parallel code that limit performance.
 http://p.sf.net/sfu/intel-dev2devfeb
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
 
 


--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders with no Index

2011-02-16 Thread Steve Blackmore
On Wed, 16 Feb 2011 23:05:21 +0200, you wrote:

On 16 February 2011 19:28, Igor Chudov ichu...@gmail.com wrote:

 Which brings up a question, can one tap with a plug tap first, on a CNC mill
 that is equipped for rigid tapping?

Probably, but one flute of one thread cuts the whole thread. With a
taper tap the work is shared over several teeth and flutes.

Machine taps are somewhere in the middle, not needing the
self-aligning taper of a hand tap, but not threading right to the
bottom like a plug tap either.

There are predominantly two types of machine taps. 

For through holes there are spiral point taps, very much like a
conventional hand second tap.

For blind holes use spiral flute taps. They don't thread all the way to
the bottom, but not far off - certainly better than some of the hand
plug taps I have with pointed ends!

Here's a link with a picture of both types on one page

http://www.cutweltools.co.uk/files/ww/BSP%20Spiral%20Flute%20%20Spiral%20Point.pdf

As for using hand plug taps for machine tapping - I wouldn't, they have
a nasty habit of snapping off in the hole! 

My spark eroder has earned some good money because of that - it cost's
far more than the price of a machine tap to remove a broken one from a
blind hole ;)

Steve Blackmore
--

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2009-10-11 Thread Steve Stallings
Passive fiber optic rotary encoders do exist and have
many benefits. Unfortunately, low cost is not among
them. See:

 
http://www.micronor.com/products.php?category=Fiber%20Optic%20Rotary%20Encod
ersoffset=0



 -Original Message-
 From: Sven Wesley [mailto:svenne.d...@gmail.com] 
 Sent: Sunday, October 11, 2009 3:32 AM
 To: Enhanced Machine Controller (EMC)
 Subject: Re: [Emc-users] Encoders
 
 2009/10/11 Gene Heskett gene.hesk...@gmail.com
 
  [Gene gives a lesson]
 
 
 Sometimes I wonder if I shouldn't take all these mail and 
 make a book out of them. :)
 
 But the whole discussion makes me think of another idea I had 
 one time. Why aren't we using optical wires?
 They are cheap (cheaper than copper cables), can be extremely 
 long and they'll never pickup noise, and on top of that the 
 encoder can be passive.
 One fibre for light feed to the encoder, the encoder only 
 consists of a fibre splitter and an optical wheel. Three 
 fibres return A/B/Index channels and all the logic can be 
 inside the driver.
 
 
 --S
 --
 
 Come build with us! The BlackBerry(R) Developer Conference in 
 SF, CA is the only developer event you need to attend this 
 year. Jumpstart your developing skills, take BlackBerry 
 mobile applications to market and stay ahead of the curve. 
 Join us from November 9 - 12, 2009. Register now!
 http://p.sf.net/sfu/devconference
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
 


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


  1   2   >