Re: [Emc-users] Servo counts

2011-02-19 Thread Jon Elson
Peter C. Wallace wrote: > , and I > believe Pico systems is adding this feature as well. > Yes, our UPC board (PWM servo controller) has had the firmware support for this for several years. I finally found some time to bang my head around the driver software to use the timestamp info to perfo

Re: [Emc-users] Servo counts

2011-02-19 Thread Peter C. Wallace
On Sat, 19 Feb 2011, Jon Elson wrote: > Date: Sat, 19 Feb 2011 14:08:40 -0600 > From: Jon Elson > Reply-To: "Enhanced Machine Controller (EMC)" > > To: "Enhanced Machine Controller (EMC)" > Subject: Re: [Emc-users] Servo counts > > Roland Jolliv

Re: [Emc-users] Servo counts

2011-02-19 Thread Jon Elson
Roland Jollivet wrote: > I see. And is the time stamp used as an integral part of the EMC > calculation? Or rather, does the Pluto interface for example, also supply > the same info? > > What I'm also wanting to know is; > If a system has 4 axis, that's 4 x (4x8) bytes to read per sample (=128 > by

Re: [Emc-users] Servo counts

2011-02-19 Thread Jon Elson
Roland Jollivet wrote: > > So what I'm wondering is why do the Mesa cards use 32 bit counters for the > encoders? > > Would a 16bit counter not suffice? It just seems that there is a lot of time > spent reading redundant numbers from encoders, and that things could be > simplified with 16 bits. > >

Re: [Emc-users] Servo counts

2011-02-19 Thread Stephen Wille Padnos
Roland Jollivet wrote: > I see. And is the time stamp used as an integral part of the EMC > calculation? Or rather, does the Pluto interface for example, also supply > the same info? > > What I'm also wanting to know is; > If a system has 4 axis, that's 4 x (4x8) bytes to read per sample (=128 > by

Re: [Emc-users] Servo counts

2011-02-19 Thread Stephen Wille Padnos
Roland Jollivet wrote: > Hi all > > I'm trying to figure something out; > > With a servo type system using quadrature feedback, I see that "*the EMC ini > file uses two variables, FERROR and MIN_FERROR to define acceptable > following error for each axis. Think of MIN_FERROR as the following error

Re: [Emc-users] Servo counts

2011-02-19 Thread Peter C. Wallace
On Sat, 19 Feb 2011, Roland Jollivet wrote: > Date: Sat, 19 Feb 2011 14:56:19 +0200 > From: Roland Jollivet > Reply-To: "Enhanced Machine Controller (EMC)" > > To: "Enhanced Machine Controller (EMC)" > Subject: [Emc-users] Servo counts > > I se

Re: [Emc-users] Servo counts

2011-02-19 Thread andy pugh
On 19 February 2011 12:56, Roland Jollivet wrote: > Is it practical(for a low cost encoder board) to have only 8bits per > encoder. Yes, that would almost certainly work fine, but the EMC2 component would have to track it with a 64-bit internal counter. Luckily, by a quirk of signed binary, addi

Re: [Emc-users] Servo counts

2011-02-19 Thread andy pugh
On 19 February 2011 10:35, Roland Jollivet wrote: > Surely there is no need to have a 32 bit counter? A 16 bit counter should > suffice? Yes and no. The Mesa FPGAs actually use a 16 bit counter, but this is expanded to 64 bits by the EMC2 drivers, then re-exported to the HAL pins as 32 bits. I t

[Emc-users] Servo counts

2011-02-19 Thread Roland Jollivet
e: > > > Date: Sat, 19 Feb 2011 12:35:27 +0200 > > From: Roland Jollivet > > Reply-To: "Enhanced Machine Controller (EMC)" > > > > To: "Enhanced Machine Controller (EMC)" > > > Subject: [Emc-users] Servo counts > > > > Hi

Re: [Emc-users] Servo counts

2011-02-19 Thread Peter C. Wallace
On Sat, 19 Feb 2011, Roland Jollivet wrote: > Date: Sat, 19 Feb 2011 12:35:27 +0200 > From: Roland Jollivet > Reply-To: "Enhanced Machine Controller (EMC)" > > To: "Enhanced Machine Controller (EMC)" > Subject: [Emc-users] Servo counts > > H

Re: [Emc-users] Servo counts

2011-02-19 Thread Dave
With 32 bit counters, in most cases, you don't have to worry about roll over at all.. Dealing with roll over issues can be tricky.. Dave On 2/19/2011 5:35 AM, Roland Jollivet wrote: > Hi all > > I'm trying to figure something out; > > With a servo type system using quadrature feedback, I see th

[Emc-users] Servo counts

2011-02-19 Thread Roland Jollivet
Hi all I'm trying to figure something out; With a servo type system using quadrature feedback, I see that "*the EMC ini file uses two variables, FERROR and MIN_FERROR to define acceptable following error for each axis. Think of MIN_FERROR as the following error allowed at very low velocity and FE