Re: [Emc-users] simple servo amplifier

2010-09-16 Thread Stuart Stevenson
Gentlemen, I have another question/problem. The EMC2 will not move the machine faster than 100 ipm. I have changed the max everything to high numbers and still get only 100 ipm. It seems as if the limit again is knowledge/intelligence. :) I disconnected the signal to the DAC output and set the

Re: [Emc-users] simple servo amplifier

2010-09-16 Thread Chris Radek
On Thu, Sep 16, 2010 at 08:24:00AM -0500, Stuart Stevenson wrote: Gentlemen, I have another question/problem. The EMC2 will not move the machine faster than 100 ipm. I have changed the max everything to high numbers and still On touchy's right side is a MV button - that is max velocity, you

Re: [Emc-users] simple servo amplifier

2010-09-16 Thread Stuart Stevenson
OOOK - I assumed it represented 100% - I hadn't paid any attention to that. Is there a way to set a max limit or set a default? thanks :) Stuart On Thu, Sep 16, 2010 at 8:53 AM, Chris Radek ch...@timeguy.com wrote: On Thu, Sep 16, 2010 at 08:24:00AM -0500, Stuart Stevenson wrote:

Re: [Emc-users] simple servo amplifier

2010-09-16 Thread Jon Elson
Stuart Stevenson wrote: Gentlemen, I have another question/problem. The EMC2 will not move the machine faster than 100 ipm. I have changed the max everything to high numbers and still get only 100 ipm. It seems as if the limit again is knowledge/intelligence. Well, PID_MAX_VEL = 30, and

Re: [Emc-users] simple servo amplifier

2010-09-16 Thread Chris Radek
On Thu, Sep 16, 2010 at 10:14:00AM -0500, Stuart Stevenson wrote: OOOK - I assumed it represented 100% - I hadn't paid any attention to that. Is there a way to set a max limit or set a default? Currently both those features are unimplemented... It might also be nice if it were saved

Re: [Emc-users] simple servo amplifier

2010-09-15 Thread Andy Pugh
On 15 September 2010 02:50, Stuart Stevenson stus...@gmail.com wrote: Gentlemen,  The servo amps on the Enshu have different accel/decel shapes. The PID.output trace has a sharp corner to it. The trace raises a little and then turns almost straight up. The decel trace is MUCH more rounded.

Re: [Emc-users] simple servo amplifier

2010-09-15 Thread Stuart Stevenson
On Wed, Sep 15, 2010 at 12:07 AM, Jon Elson el...@pico-systems.com wrote: Stuart Stevenson wrote: Gentlemen, The servo amps on the Enshu have different accel/decel shapes. The PID.output trace has a sharp corner to it. The trace raises a little and then turns almost straight up. The

Re: [Emc-users] simple servo amplifier

2010-09-15 Thread Stuart Stevenson
I forgot to mention the files in the enshu directory with the pictures are the current files the machine is configured with. thanks Stuart -- dos centavos -- Start uncovering the many advantages of virtual appliances

Re: [Emc-users] simple servo amplifier

2010-09-15 Thread Chris Radek
On Wed, Sep 15, 2010 at 08:22:41AM -0500, Stuart Stevenson wrote: pictures are here http://www.mpm1.com:8080/machines/enshu there are pictures of all three axes both positive and negative moves It looks like the axes can't accelerate as fast as you are requesting. It seems like they have

Re: [Emc-users] simple servo amplifier

2010-09-15 Thread Chris Radek
On Wed, Sep 15, 2010 at 09:07:28AM -0500, Chris Radek wrote: It looks like the axes can't accelerate as fast as you are requesting. After looking at it again, this comment is wrong. The problem is that your tuning is completely wrong for velocity mode. With P only, you're commanding a

Re: [Emc-users] simple servo amplifier

2010-09-15 Thread Stuart Stevenson
Chris, I have tried all sorts of combinations of tuning. I set this to be the simplest and show what I am seeing. Nothing I have done has changed the general shape of the traces. I will see what I can do with your instructions. thanks Stuart On Wed, Sep 15, 2010 at 9:26 AM, Chris Radek

Re: [Emc-users] simple servo amplifier

2010-09-15 Thread Stuart Stevenson
Gentlemen, http://www.mpm1.com:8080/machines/enshu/Screenshot.png This is set up with Pgain = 10, FF1 = 1 and scale = 8.89. I have tried Pgain = 0 - got no PID output Pgain = 100 - got a little better Pgain = 300 - not much better but didn't feel as good

Re: [Emc-users] simple servo amplifier

2010-09-15 Thread Dave
Stuart: Didn't Cradek just do this?? ... the tach simulation with some Mesa controls on his Mori Jr mill? So your drives do not require the commutation signals that on some Fanuc systems was derrived from the encoder on the motor via the controls?? I never really fully understood the Fanuc

Re: [Emc-users] simple servo amplifier

2010-09-15 Thread Jon Elson
Stuart, From your .ini file : MAX_VELOCITY = 12 or 15 inches/second? That is 720 or 900 IPM. Can the machine really do that? You don't show pid.0.output, it would be useful to see if the PID output is saturating. (It probably is.) I think Chris is right, the servo, at least set up the way it

Re: [Emc-users] simple servo amplifier

2010-09-15 Thread Stuart Stevenson
On Wed, Sep 15, 2010 at 12:24 PM, Dave e...@dc9.tzo.com wrote: Stuart: Didn't Cradek just do this?? ... the tach simulation with some Mesa controls on his Mori Jr mill? So your drives do not require the commutation signals that on some Fanuc systems was derrived from the encoder on the

Re: [Emc-users] simple servo amplifier

2010-09-15 Thread Stuart Stevenson
the max velocity for the latest scope picture is 8 and the DAC scale is 8.89 the machine was moving at 400 ipm with the original control 8 is the result of many attempts up/down to cause a difference in the feedback I just happened to stop with 8 as the number. This would be 480 ipm. I don't

Re: [Emc-users] simple servo amplifier

2010-09-15 Thread Chris Radek
On Wed, Sep 15, 2010 at 12:16:40PM -0500, Stuart Stevenson wrote: Gentlemen, http://www.mpm1.com:8080/machines/enshu/Screenshot.png This is set up with Pgain = 10, FF1 = 1 and scale = 8.89. I have tried Pgain = 0 - got no PID output Pgain = 100 - got a little better

Re: [Emc-users] simple servo amplifier

2010-09-15 Thread Belli Button
Hi Stuart, Do you have some part numbers for these drives? - Original Message - From: Stuart Stevenson stus...@gmail.com To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net Sent: Wednesday, September 15, 2010 3:22 PM Subject: Re: [Emc-users] simple servo amplifier

Re: [Emc-users] simple servo amplifier

2010-09-15 Thread Stuart Stevenson
On Wed, Sep 15, 2010 at 1:53 PM, Chris Radek ch...@timeguy.com wrote: On Wed, Sep 15, 2010 at 12:16:40PM -0500, Stuart Stevenson wrote: Gentlemen, http://www.mpm1.com:8080/machines/enshu/Screenshot.png This is set up with Pgain = 10, FF1 = 1 and scale = 8.89. I have tried Pgain = 0

Re: [Emc-users] simple servo amplifier

2010-09-15 Thread Stuart Stevenson
On Wed, Sep 15, 2010 at 2:08 PM, Belli Button be...@iafrica.com wrote: Hi Stuart, Do you have some part numbers for these drives? p/n's are in this file http://www.mpm1.com:8080/machines/enshu/enshu.txt -- dos centavos

Re: [Emc-users] simple servo amplifier

2010-09-15 Thread Chris Radek
On Wed, Sep 15, 2010 at 12:42:55PM -0500, Jon Elson wrote: The PPMC driver takes a +/- 1.0 value and multiplies it by 10 to give a +/- 10 V output range. Are you sure? I was looking at the pwmgen code earlier instead of the dac code (not sure how these differ) and I *think* pwmgen full scale

Re: [Emc-users] simple servo amplifier

2010-09-15 Thread Stuart Stevenson
Hi, I checked the DAC output - it was .889 - I changed the scale from 8.89 to .889 - the response was back to just like before. The config files to match this picture are available The latest picture is; http://www.mpm1.com:8080/machines/enshu/Screenshot-1.png thanks Stuart -- dos

Re: [Emc-users] simple servo amplifier

2010-09-15 Thread Chris Radek
On Wed, Sep 15, 2010 at 03:32:31PM -0500, Stuart Stevenson wrote: Hi, I checked the DAC output - it was .889 - I changed the scale from 8.89 to .889 - the response was back to just like before. The config files to match this picture are available The latest picture is;

Re: [Emc-users] simple servo amplifier

2010-09-15 Thread Chris Radek
On Wed, Sep 15, 2010 at 04:08:31PM -0500, Chris Radek wrote: On Wed, Sep 15, 2010 at 03:32:31PM -0500, Stuart Stevenson wrote: Hi, I checked the DAC output - it was .889 - I changed the scale from 8.89 to .889 - the response was back to just like before. The config files to match this

Re: [Emc-users] simple servo amplifier

2010-09-15 Thread Stuart Stevenson
On Wed, Sep 15, 2010 at 5:34 PM, Chris Radek ch...@timeguy.com wrote: On Wed, Sep 15, 2010 at 04:08:31PM -0500, Chris Radek wrote: On Wed, Sep 15, 2010 at 03:32:31PM -0500, Stuart Stevenson wrote: Hi, I checked the DAC output - it was .889 - I changed the scale from 8.89 to .889 -

Re: [Emc-users] simple servo amplifier

2010-09-15 Thread Jon Elson
Stuart Stevenson wrote: Hi, I checked the DAC output - it was .889 - I changed the scale from 8.89 to .889 - the response was back to just like before. The config files to match this picture are available The latest picture is; http://www.mpm1.com:8080/machines/enshu/Screenshot-1.png

Re: [Emc-users] simple servo amplifier

2010-09-15 Thread Stuart Stevenson
The tuning numbers are in http://www.mpm1.com:8080/machines/enshu/enshu.ini as you will see the FF1 number is close to 1 I started with FF1 = 1 and P = 10 I still think I would get a better tune if I cancelled the tuning in the servo amp. Then my tuning numbers would make sense as I would not be

Re: [Emc-users] simple servo amplifier

2010-09-15 Thread Jon Elson
Chris Radek wrote: On Wed, Sep 15, 2010 at 12:42:55PM -0500, Jon Elson wrote: The PPMC driver takes a +/- 1.0 value and multiplies it by 10 to give a +/- 10 V output range. Are you sure? I was looking at the pwmgen code earlier instead of the dac code (not sure how these differ)

Re: [Emc-users] simple servo amplifier

2010-09-15 Thread Chris Radek
On Wed, Sep 15, 2010 at 10:21:03PM -0500, Jon Elson wrote: Now, if you use the OUTPUT_SCALE of 0.889, and PID is limited to +/- 1.0 as the maximum range, it will limit the DAC output to +/-1.12 V. Is this reasoning right? Yes I think so. That's why Stuart S has his pid maxoutput set to

Re: [Emc-users] simple servo amplifier

2010-09-15 Thread Jon Elson
Stuart Stevenson wrote: The tuning numbers are in http://www.mpm1.com:8080/machines/enshu/enshu.ini as you will see the FF1 number is close to 1 I started with FF1 = 1 and P = 10 I still think I would get a better tune if I cancelled the tuning in the servo amp. Then my tuning numbers

Re: [Emc-users] simple servo amplifier

2010-09-15 Thread Jon Elson
Chris Radek wrote: Yes I think so. That's why Stuart S has his pid maxoutput set to 8, which is the same as the machine's maxvel. That lets pid units be real world units inches/sec. Yes, this way of setting it up is starting to make sense (after only 10 years of making everything

Re: [Emc-users] simple servo amplifier

2010-09-14 Thread Jon Elson
Stuart Stevenson wrote: Gentlemen, The servo amps on the Enshu have different accel/decel shapes. The PID.output trace has a sharp corner to it. The trace raises a little and then turns almost straight up. The decel trace is MUCH more rounded. Does this sound like an amplifier problem?