Re: [Emc-users] 4th axis ideas... any suggestions?

2009-12-10 Thread Pat Lyons
If a brake is being used, what about a direct drive setup?

-pat

On Thu, Dec 10, 2009 at 7:08 AM, Gene Heskett wrote:

> On Thursday 10 December 2009, Pat Lyons wrote:
> >Hey guys,
> >
> >I'm going to add a 4th axis to my gettup here on my lagun emc refit, and
> >wanted to ask for suggestions.
> >
> >My plan is (as of now) to find a rotary table on the cheap (ebay,
> > craigslist etc) and mill up a motor mount to it with encoder feedback,
> and
> > use the 4th channel on my 5i20.
> >
> >I've never even used a manual rot table, so if you guys would be so kind
> as
> >to make me aware of what I'm totally overlooking here, that would be very
> >much appreciated.
> >
> >I plan on finding a table that can sit perpendicular to the table, like in
> >this video:
> >
> >
> http://www.dailymotion.com/video/x9a6s1_cnc-turning-on-4axis-mill-with-gala
> >_tech
> >
> >i would also plan on running a lathe-like chuck too...
> >
> >any comments/suggestions/do's&donts???
> >
> >Thanks a ton!
> >-Pat
>
> 1. Most tables can be mounted that way, or face up so you get a twofer
> automatically.
>
> 2. For that video's sort of work, backlash won't be a huge problem.
>
> 3. face up & making a sprocket, or lathe style & carving gears, backlash
> will
> be a problem. So it may be wise to add a 2nd lock brake so that the table
> is
> locked pretty solidly when the motor is not moving it.  I'm still figuring
> out how to do that with mine as it has a thumb screw with limited holding
> power.
>
> <http://gene.homelinux.net:85/gene/emc/A-drv.jpg>
> shows the motor mount I made for a cheap 4" Grizzly table.
>
> The coupling inside it is a heavy steel rig, two cups facing each other,
> with
> 1/4" slots cut across, with a steel disk trapped in the middle which has a
> 1/4" wide fin, laying 0-180 on one face, and 90-270 on the other so it
> presents a sliding u-joint with very little backlash that can absorb the
> axles being out of line a couple thou.
>
> --
> Cheers, Gene
> "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author)
> The NRA is offering FREE Associate memberships to anyone who wants them.
> <https://www.nrahq.org/nrabonus/accept-membership.asp>
>
> Fast ship?  You mean you've never heard of the Millennium Falcon?
>-- Han Solo
>
>
> --
> Return on Information:
> Google Enterprise Search pays you back
> Get the facts.
> http://p.sf.net/sfu/google-dev2dev
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] 4th axis ideas... any suggestions?

2009-12-10 Thread Pat Lyons
Hey guys,

I'm going to add a 4th axis to my gettup here on my lagun emc refit, and
wanted to ask for suggestions.

My plan is (as of now) to find a rotary table on the cheap (ebay, craigslist
etc) and mill up a motor mount to it with encoder feedback, and use the 4th
channel on my 5i20.

I've never even used a manual rot table, so if you guys would be so kind as
to make me aware of what I'm totally overlooking here, that would be very
much appreciated.

I plan on finding a table that can sit perpendicular to the table, like in
this video:

http://www.dailymotion.com/video/x9a6s1_cnc-turning-on-4axis-mill-with-gala_tech

i would also plan on running a lathe-like chuck too...

any comments/suggestions/do's&donts???

Thanks a ton!
-Pat
--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Y axis following error woes...

2009-11-30 Thread Pat Lyons
On Sun, Nov 29, 2009 at 1:51 PM, Jon Elson  wrote:

> Pat Lyons wrote:
> > Hello folks,
> >
> > Hope you had a nice turkey day and all.
> >
> > I'm trying to understand why my Y axis following error is so much worse
> that
> > my x and z.  I gave them all equal efforts regarding the tuning process,
> but
> > Y seems to be much more finicky a mechanical response-  oscillations
> appear
> > to be a serious issue-  I can get it down to about a thou of following
> error
> > at constant velocity but the initial lack of acceleration causes a spike
> in
> > f-error at the beginning of each move...
> > I've tried toying with FF1 and FF2 as instructed by several of you, but i
> > found that if i deviate from the values I've found, the response goes
> nuts
> > with skyrocketing f-error.
> >
> You might need to tell us more about the machine, especially if a
> mechanical
> aspect of the problem is suspected.
>
> What servo amplifiers are you using,  what controller board?


The servo drivers are shown here:
http://www.cnczone.com/forums/showthread.php?t=92599
and though they are labeled as EG&G torque systems, they pinout like Westamp
drives.  (Driven by a 7i33 and 5i20)


>  Using
> Halscope,
> you can measure the frequency of the oscillation.  If it is 500 Hz, that
> is half
> of the default servo frequency.  If it is in the 10 - 40 Hz range, that
> is typical
> mechanical resonance.  If it is a couple Hz, that is typical tuning
> instability.
>

Yea, I'd say it falls into the <15Hz category.

I was thinking about finding a way to dampen the Table's mechanical response
by using the gibbs (I'm not sure thats the right name for em, but im
reffering to the screws that are used to apply pressure to the dovetails on
the ways)


>
> FF1 and expecially FF2 are used in incredibly small amounts, typically
> 2 -5 for FF1 and as little as .0002 for FF2.  It is VERY easy to overdo
> these.
>
> Jon
>

Funny you mention FF2 as 0.0002, because i think the highest I have mine
(Xaxis) is like 0.0005.  My FF values in all instances are below 1.  I
managed to get it to settle a little with the error, but the biggest trouble
seems to be the initial error, which spikes-  I would slowly increase D and
would end up with much resonance as a result...   I was thinking, this could
also be due to an improper backlash measurement I've made (i suspect this
because the worst spikes occur when changing direction...

Thanks a lot for your help Jon, it is very much appreciated, and I hope i
get to return the favor someday!

-Pat
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Y axis following error woes...

2009-11-29 Thread Pat Lyons
Hello folks,

Hope you had a nice turkey day and all.

I'm trying to understand why my Y axis following error is so much worse that
my x and z.  I gave them all equal efforts regarding the tuning process, but
Y seems to be much more finicky a mechanical response-  oscillations appear
to be a serious issue-  I can get it down to about a thou of following error
at constant velocity but the initial lack of acceleration causes a spike in
f-error at the beginning of each move...
I've tried toying with FF1 and FF2 as instructed by several of you, but i
found that if i deviate from the values I've found, the response goes nuts
with skyrocketing f-error.

Thanks for any and all input!

-Pat
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] How can I invert my x-axis? (Servos system)

2009-11-26 Thread Pat Lyons
I got it!

thanks a lot guys.

I just realized I had to change polarity of OUTPUT SCALE and INPUT SCALE.

thanks again!
-pat

On Thu, Nov 26, 2009 at 6:17 AM, John Thornton  wrote:

> In the Hal/Basic Configuration section of the Integrators Manual
>
> Changing the polarity of a signal
>
> If external hardware expects an ``active low'' signal, set the
> corresponding -invert
> parameter. For instance, to invert the spindle control signal:
>
>setp parport.0.pin-09-invert TRUE
>
> John
>
> On 25 Nov 2009 at 7:50, Pat Lyons wrote:
>
> > I got my mill working yesterday only to find out that the x-axis
> > is
> > backwards and mills mirror images of what I intended.
> >
> > I tried flipping "OUTPUT SCALE" 's polarity but it didnt seem to do
> > anything
> > at all...  I went looking for some other ini or hal file change to
> > make and
> > couldnt find any.
> >
> > Any suggestions?
> >
> > Thanks!
> > This mailing list is truly awesome.
> > (thanks for all the help!!!)
> > -pat
> > 
> > --
> > Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> > 30-Day
> > trial. Simplify your report design, integration and deployment - and
> > focus on
> > what you do best, core application coding. Discover what's new
> > with
> > Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
>
>
>
>
> --
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] How can I invert my x-axis? (Servos system)

2009-11-25 Thread Pat Lyons
I got my mill working yesterday only to find out that the x-axis is
backwards and mills mirror images of what I intended.

I tried flipping "OUTPUT SCALE" 's polarity but it didnt seem to do anything
at all...  I went looking for some other ini or hal file change to make and
couldnt find any.

Any suggestions?

Thanks!
This mailing list is truly awesome.
(thanks for all the help!!!)
-pat
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Can I skip the homing process and just RUN???

2009-11-24 Thread Pat Lyons
I dont even know what homing is.

I'd guess it's a referencing process for affirming the origin of the
machine, but I don't wanna bother with it.

how can I tell emc not to bother homing?

thanks
-Pat
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Deadband, FF1 and FF2 (cont'd)

2009-11-23 Thread Pat Lyons
Also- if you guys dont mind- please gimme an Idea of what you have these
variables set to and what kinda results they gave you.

Thanks again!!!
-Pat
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Deadband, FF1 and FF2

2009-11-23 Thread Pat Lyons
Hello-

I'm having some difficulty tuning my P, I, and D variables.  I've used PID
before in school, and understand how they are calculated, but I wanted to
ask about the three terms I don't really understand...

I found in the wiki these explanations:

*FF1 = 2.000 a velocity feedforward, helps reduce following error
proportional to velocity
*
* FF2 = 0.25 an acceleration feedforward, helps reduce foll. error when
accelerating*

However I dont quite understand them-  would someone be willing to maybe
define the math behind these concepts?

and also-  is deadband the window over and under 0 volts that yields no
movement?  does this mean that you can kill steady-state oscillations by
increasing deadband?

Thanks again!!!
-pat
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] P, I, and D variables adjustable while emc2 is running?

2009-11-21 Thread Pat Lyons
I think this may be a popular question but I couldn't find much at all on
the idea of being able to tune the p i and d variables without having to
quit and restart emc.

so is it possible?

or do I need to keep restarting?

thanks
-pat
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Anilam linear encoder output voltage <1v... any ideas?

2009-11-21 Thread Pat Lyons
Thanks for the response!

measured with a fluke hand held scope.  and its not differential.  how old
is very old?  this machine is from the late 80's (87 i think).

unfortunately, no manual info on the scales...

thanks chris!
-pat

On Sat, Nov 21, 2009 at 12:18 PM, Chris Radek  wrote:

> On Sat, Nov 21, 2009 at 12:09:00PM -0500, Pat Lyons wrote:
> > Hey folks,
> >
> > just inquiring about the output of my anilam linear encoder being less
> than
> > one volt in amplitude...  a full 5v is applied, but the pulses coming out
> > only hit like 0.3vI pulled apart the connector to find some oil in
> > between the pins but wiped it out and still have the same problem.
>
>
> That sure doesn't sound right.  How are you measuring it?  Is it a
> differential signal?
>
> If your scales are very old they might have light bulbs.  There is
> sometimes a harrowing procedure for aligning/calibrating them.  Do
> you have manuals?
>
>
>
> --
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Anilam linear encoder output voltage <1v... any ideas?

2009-11-21 Thread Pat Lyons
Hey folks,

just inquiring about the output of my anilam linear encoder being less than
one volt in amplitude...  a full 5v is applied, but the pulses coming out
only hit like 0.3vI pulled apart the connector to find some oil in
between the pins but wiped it out and still have the same problem.

I'd like to ask, when/if encoders begin to die or deteriorate, do they
behave like this?
I'm gonna do wiring checks to make sure there isnt a voltage drop occuring
across a single strand of crushed wire or anything... but i suspect that
quite unlikely.
thanks!
-pat
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] 5i20+7i33 connection to Servo Drive has +21mV of drift.

2009-11-15 Thread Pat Lyons
Hello again,

first off thank to all the suggestions about the encoders I was asking
about.  I think I'm just gonna go with the requirement of zero'ing position
prior to milling any part.

My new question has to do with the servo drive's input.  When it should be
at 0v, the input to the drive sits at about 21mV, which causes the motor to
drift slowly,  I though this might just mean the "balance" pot needs to be
adjusted, but turning it all the way in either direction has no effect.

it's been a while since I've dealt with anything on this level, but I was
wondering to myself could this be an impedance mismatch issue?  maybe I
should try a pullup or pulldown resistor?  I read in the manual something
about the 7i33 already having one or the other, I'll be lookin into that
again today, I just wanted to see if anyone had any immediate suggestions or
had encountered this before.

Thanks again!!!

-pat
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Anilam linear encoder OUTput...

2009-11-14 Thread Pat Lyons
they're linear encoders though.   that's what I can't seem to make sense
of...

thanks
-pat

On Sat, Nov 14, 2009 at 4:12 PM, Gene Heskett wrote:

> On Saturday 14 November 2009, Pat Lyons wrote:
> >Ok- so I o-scope'd the mystery wire again this time while taking the table
> >through it's entire length of travel to find that the signal has a few
> >places where it blips high.  My question is, if an index signal on these
> >encoders is supposed to give a position reference, why would there be more
> >than one???
> >
> >Thanks for any info!
> >-Pat
>
> There should be one, and only one, per revolution of the encoder shaft.
>
> --
> Cheers, Gene
> "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author)
> The NRA is offering FREE Associate memberships to anyone who wants them.
> <https://www.nrahq.org/nrabonus/accept-membership.asp>
>
> If you have to hate, hate gently.
>
>
> --
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Anilam linear encoder OUTput...

2009-11-14 Thread Pat Lyons
Ok- so I o-scope'd the mystery wire again this time while taking the table
through it's entire length of travel to find that the signal has a few
places where it blips high.  My question is, if an index signal on these
encoders is supposed to give a position reference, why would there be more
than one???

Thanks for any info!
-Pat

On Tue, Nov 10, 2009 at 2:23 PM, pat lyons  wrote:

> Guys thanks a TON for the suggestions and info, I will be looking into them
> and I'll letcha know what the outcome is!
>
> -pat
>
> Sent from my iPhone
>
>
> On Nov 10, 2009, at 2:06 PM, Gene Heskett  wrote:
>
>  On Tuesday 10 November 2009, Pat Lyons wrote:
>>
>>> my photo attachment of the red slide unit was rejected cause it was too
>>> big
>>> a file.
>>>
>>> I have a new question though-
>>>
>>> is it possible that these encoders can be counted on both the rising and
>>> falling edge of both signals?
>>> in other words:
>>>
>>> if I count the falling edges on one wire as *640 falling edges per inch*,
>>> does this actually mean its *640 x 2* for rising and falling edges? then
>>> x2
>>> again for two signal quadrature?  or is the quadrature pair only to
>>> provide
>>> direction information?
>>>
>>> thanks!
>>> -pat
>>>
>>
>> Pat: There are logic diagrams extant here on the web, check the major chip
>> makers sites for application notes (and the wiki.linuxcnc.org pages too)
>> and
>> even complete chips available today that can derive from those quadrature
>> outputs, a complete, valid # of steps and instant direction from them.
>>  The
>> only use for the index pulse is so that the count can be zeroed at a
>> specific
>> point in the rotation.  And in order for this to not have a potential of a
>> one or two count ambiguity is if the index pulse is narrower than a single
>> edge count going either way, eg the index must be narrow enough, and well
>> centered in the time frame where both A&B are high or both A&B are low.
>> Either that, which requires some decent precision in making the encoder,
>> or a
>> method worked out in the logic so that it will only use one edge of the
>> index
>> pulse, and which edge corresponds to the instant state of the direction
>> signal.  I haven't worked out that bit of logic but I believe it could be
>> done.  And it would certainly present the least restrictions on how
>> sloppily
>> the encoder is made.
>>
>> Thinking about the index 'problem', it might be possible to use the index
>> pulse edge detected by the correct edge via using the instant direction
>> state
>> to select which edge of the index was actually the correct one.
>>
>> Here are 2 chips that might be usable:
>> <http://www.avagotech.com/docs/AV02-0096EN>
>>
>> And also Pico Systems (our own Jon Elson) makes a board that can
>> apparently
>> handle 4 encoders, but I wasn't able to make the web page show me much
>> about
>> it.  It does 24 bit counting.
>>
>> Other choices are just a google away.
>>
>> --
>> Cheers, Gene
>> "There are four boxes to be used in defense of liberty:
>> soap, ballot, jury, and ammo. Please use in that order."
>> -Ed Howdershelt (Author)
>> The NRA is offering FREE Associate memberships to anyone who wants them.
>> <https://www.nrahq.org/nrabonus/accept-membership.asp>
>>
>> We will have solar energy as soon as the utility companies solve one
>> technical
>> problem -- how to run a sunbeam through a meter.
>>
>>
>> --
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>> 30-Day
>> trial. Simplify your report design, integration and deployment - and focus
>> on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>
>
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Anilam linear encoder OUTput...

2009-11-10 Thread pat lyons
Guys thanks a TON for the suggestions and info, I will be looking into  
them and I'll letcha know what the outcome is!

-pat

Sent from my iPhone

On Nov 10, 2009, at 2:06 PM, Gene Heskett   
wrote:

> On Tuesday 10 November 2009, Pat Lyons wrote:
>> my photo attachment of the red slide unit was rejected cause it was  
>> too big
>> a file.
>>
>> I have a new question though-
>>
>> is it possible that these encoders can be counted on both the  
>> rising and
>> falling edge of both signals?
>> in other words:
>>
>> if I count the falling edges on one wire as *640 falling edges per  
>> inch*,
>> does this actually mean its *640 x 2* for rising and falling edges?  
>> then x2
>> again for two signal quadrature?  or is the quadrature pair only to  
>> provide
>> direction information?
>>
>> thanks!
>> -pat
>
> Pat: There are logic diagrams extant here on the web, check the  
> major chip
> makers sites for application notes (and the wiki.linuxcnc.org pages  
> too) and
> even complete chips available today that can derive from those  
> quadrature
> outputs, a complete, valid # of steps and instant direction from  
> them.  The
> only use for the index pulse is so that the count can be zeroed at a  
> specific
> point in the rotation.  And in order for this to not have a  
> potential of a
> one or two count ambiguity is if the index pulse is narrower than a  
> single
> edge count going either way, eg the index must be narrow enough, and  
> well
> centered in the time frame where both A&B are high or both A&B are  
> low.
> Either that, which requires some decent precision in making the  
> encoder, or a
> method worked out in the logic so that it will only use one edge of  
> the index
> pulse, and which edge corresponds to the instant state of the  
> direction
> signal.  I haven't worked out that bit of logic but I believe it  
> could be
> done.  And it would certainly present the least restrictions on how  
> sloppily
> the encoder is made.
>
> Thinking about the index 'problem', it might be possible to use the  
> index
> pulse edge detected by the correct edge via using the instant  
> direction state
> to select which edge of the index was actually the correct one.
>
> Here are 2 chips that might be usable:
> <http://www.avagotech.com/docs/AV02-0096EN>
>
> And also Pico Systems (our own Jon Elson) makes a board that can  
> apparently
> handle 4 encoders, but I wasn't able to make the web page show me  
> much about
> it.  It does 24 bit counting.
>
> Other choices are just a google away.
>
> -- 
> Cheers, Gene
> "There are four boxes to be used in defense of liberty:
> soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author)
> The NRA is offering FREE Associate memberships to anyone who wants  
> them.
> <https://www.nrahq.org/nrabonus/accept-membership.asp>
>
> We will have solar energy as soon as the utility companies solve one
> technical
> problem -- how to run a sunbeam through a meter.
>
> --- 
> --- 
> --- 
> -
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008  
> 30-Day
> trial. Simplify your report design, integration and deployment - and  
> focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Anilam linear encoder OUTput...

2009-11-10 Thread Pat Lyons
my photo attachment of the red slide unit was rejected cause it was too big
a file.

I have a new question though-

is it possible that these encoders can be counted on both the rising and
falling edge of both signals?
in other words:

if I count the falling edges on one wire as *640 falling edges per inch*,
does this actually mean its *640 x 2* for rising and falling edges? then x2
again for two signal quadrature?  or is the quadrature pair only to provide
direction information?

thanks!
-pat

On Mon, Nov 9, 2009 at 4:23 PM, Pat Lyons  wrote:

> red. (see attached)
>
> thanks again guys!
> -pat
>
>
> On Mon, Nov 9, 2009 at 4:07 PM, Chris Morley 
> wrote:
>
>>
>>
>> >
>> >
>> > - Original Message -
>> > From: "Pat Lyons" 
>> > To: "Enhanced Machine Controller (EMC)" <
>> emc-users@lists.sourceforge.net>
>> > Sent: Monday, November 09, 2009 9:33 AM
>> > Subject: [Emc-users] Anilam linear encoder pinout ...
>> >
>> >
>> > > Hey folks, thought I'd inquire here before plugging them up-
>> > >
>> > > they are anilam linear encoders that appear to have an incremental
>> output.
>> > > wires are as follows:
>> > >
>> > > Green: ??? unknown...
>> > > Brown: Quadrature A or B
>> > > White: Quadrature B or A
>> > > Black: GND
>> > > Red: +5v DC
>> > >
>> > > I got a daq hooked up to all the wires and basically cant make any
>> sense
>> > of
>> > > the green wire.
>> > >
>> > > it doesn't really do anything, except emit what appears to be a spike
>> of
>> > > noise every now and then that I can't seem to correlate with any
>> specific
>> > > event (im confident in saying it's not an index because it seems so
>> > > random)...
>> > >
>> > > any thoughts on this mystery green wire?
>> > >
>> > > thanks!
>> > > -Pat
>> > >
>> --
>>
>> Some, but not all anilam readers have  reference tracks. This wire may
>> track that or
>> it may not be connected.
>> What color is the name plate?
>>
>> Chris M
>>
>> _
>> Windows Live: Keep your friends up to date with what you do online.
>> http://go.microsoft.com/?linkid=9691815
>>
>> --
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>> 30-Day
>> trial. Simplify your report design, integration and deployment - and focus
>> on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>
>
>
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Anilam linear encoder pinout ...

2009-11-09 Thread Pat Lyons
hmmm...
looking into what you mentioned- I found this:

http://www.anilam.com/anilam.asp?mod=article&actid=67

though I'm not quite sure what type mine are- it says Anilam A10 on it- and
look a little different than the SENC ones...

thanks again!
-Pat

On Mon, Nov 9, 2009 at 10:25 AM, EKCo Inc Don Stanley
wrote:

> Pat;
> I have the a SENC 125 T/E linear encoder supplied with a Anilam DRO.
> My wire colors are all different but the 5th wire is the R channel.
> I think they are sending position reference but haven't checked it out yet.
> It is on pin 8 of the 9 pin D connector.
>
> Maybe this will help
>Don
>
>
> - Original Message -
> From: "Pat Lyons" 
> To: "Enhanced Machine Controller (EMC)" 
> Sent: Monday, November 09, 2009 9:33 AM
> Subject: [Emc-users] Anilam linear encoder pinout ...
>
>
> > Hey folks, thought I'd inquire here before plugging them up-
> >
> > they are anilam linear encoders that appear to have an incremental
> output.
> > wires are as follows:
> >
> > Green: ??? unknown...
> > Brown: Quadrature A or B
> > White: Quadrature B or A
> > Black: GND
> > Red: +5v DC
> >
> > I got a daq hooked up to all the wires and basically cant make any sense
> of
> > the green wire.
> >
> > it doesn't really do anything, except emit what appears to be a spike of
> > noise every now and then that I can't seem to correlate with any specific
> > event (im confident in saying it's not an index because it seems so
> > random)...
> >
> > any thoughts on this mystery green wire?
> >
> > thanks!
> > -Pat
> >
> --
> 
> > Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
> > trial. Simplify your report design, integration and deployment - and
> focus
> on
> > what you do best, core application coding. Discover what's new with
> > Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
>
>
>
> 
> 
>
>
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 8.5.425 / Virus Database: 270.14.57/2492 - Release Date: 11/09/09
> 12:11:00
>
>
>
> --
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Anilam linear encoder pinout ...

2009-11-09 Thread Pat Lyons
Hey folks, thought I'd inquire here before plugging them up-

they are anilam linear encoders that appear to have an incremental output.
wires are as follows:

Green: ??? unknown...
Brown: Quadrature A or B
White: Quadrature B or A
Black: GND
Red: +5v DC

I got a daq hooked up to all the wires and basically cant make any sense of
the green wire.

it doesn't really do anything, except emit what appears to be a spike of
noise every now and then that I can't seem to correlate with any specific
event (im confident in saying it's not an index because it seems so
random)...

any thoughts on this mystery green wire?

thanks!
-Pat
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Some HAL file questions...

2009-11-03 Thread Pat Lyons
AHA!   there are man pages for the components?!  that's all I needed to
hear!   Thanks Jeff!

-pat

On Tue, Nov 3, 2009 at 12:01 PM, Jeff Epler  wrote:

> Pins, parameters, and functions are created by loading components.
> Generally, the documentation for each component gives a list of them.
> For example, the manpage for pid (viewable with the command 'man 9 pid'
> in the terminal) lists do-pid-calcs in its FUNCTIONS section.
>
> The notations [SECTION]VAR and [SECTION](VAR) are inifile variable
> substitutions that halcmd performs.  They are documented in the halcmd
> manual page under SUBSTITUTION ('man halcmd' in the terminal).
>
> Jeff
>
>
> --
> 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


[Emc-users] Some HAL file questions...

2009-11-03 Thread Pat Lyons
Hello-

I'm currently reviewing the HAL manual and HAL file for my 5i20.

I wanted to ask where the following functions (in bold below) are coming
from, as in, where are they defined? where did they come form?
I understand that they are being added under the servo-thread, but in the
manual it shows you that components have functions in them (viewed with show
funct?) that can be added to threads- but what component do these come from?

is it from one of these (I'm assuming they're components)?
*loadrt trivkins
loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD
num_joints=[TRAJ]AXES

loadrt pid num_chan=3 *

I also dont quite understand the use of the brackets [], is this just for
notation in the manual? should I be replacing it with some specific names of
ini file names or paths in my setup?

# 
# THREADS
# 

addf *hm2_[HOSTMOT2](BOARD).0.read*  servo-thread

addf *motion-command-handler *   servo-thread
addf *motion-controller  *   servo-thread

addf *pid.0.do-pid-calcs   * servo-thread
addf *pid.1.do-pid-calcs*servo-thread
addf *pid.2.do-pid-calcs *   servo-thread

addf *hm2_[HOSTMOT2](BOARD).0.write *servo-thread
addf *hm2_[HOSTMOT2](BOARD).0.pet_watchdog*  servo-thread


# ##

thanks!
-pat
--
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


[Emc-users] Need Help - what's the process for getting my 5i20/7i33 setup going?

2009-11-02 Thread Pat Lyons
Hello-

This mailing list has helped me figure out how to get rolling on a few
matters already, so thanks much for all the info sharing!

My questions now pertain to what steps I have to take to get my 5i20 and
7i33 mesa hardware working with emc2.

This first one may be dumb question, but I'm failing to figure it out
alone...
I'm hearing about this pncconf utility that apparently is a graphical wizard
for getting the 5i20 card configured with one's particular setup.

how do I get into pncconf?  I cant find any files anywhere labeled pncconf,
and it's not in the configuration selector list.

I've got loads more questions, but I think once I get into pncconf they may
be answered, so I'll spare you till then.

Thanks for any help

-pat
--
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


Re: [Emc-users] auto start

2009-10-31 Thread Pat Lyons
Stuart,
are you using the distro from the live cd?
would you mind sharing the details of hoe you got auto login and start set
up?

thanks!
-Pat

On Sat, Oct 31, 2009 at 4:49 PM, Stuart Stevenson  wrote:

> Gentlemen,
>  I have my machine set up to auto login and start EMC2. I want to have it
> start a particular 'ini' file. How do I pass that argument?
> thanks
> Stuart
>
> --
> Few will listen,
> Of the few who listen, fewer still will understand,
> Understanding does not mean believe,
> Of the handful who believe, most may not know what to do,
> Those who even know, how many will actually do ?
> And the rare ones who have done it...
> Need not listen anymore.
>
> you can lead a person to knowledge
> but you cannot make him think
>
> --
> 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


[Emc-users] EMC2 / OS implementation

2009-10-29 Thread Pat Lyons
Hello-

I'm currently trying to setup my emc2 based controller while waiting for my
mesa cards to arrive, and I have some questions.
Here's what I'm looking to do:

I want to push the startup button on the computer case and have the screen
present login prompt via command line.

upon logging in I want emc2 to startup in some simple window manager like
xwindows or something (fluxbox?).

what are the steps I would have to take to do this?

I used to be a command line junkie back in the day but I've forgotten almost
everything I knew... so this n00bery I'm exhibiting here is extra
frustrating to me.

Thanks for any suggestions or info.

-pat
--
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