[Emc-users] 3-phase pwmgens for 7i39

2011-09-28 Thread Viesturs Lācis
Hello, gentlemen! I am trying to load 3-phase pwmgens on 7i43 for 7i39, but I receive error. With this one EMC loads correctly: CONFIG="firmware=hm2/7i43-4/SVST4_4_7I39.BIT num_encoders=3 num_pwmgens=3 num_stepgens=2" Note that this line requests single-phase pwm generators. So according to thi

Re: [Emc-users] 3-phase pwmgens for 7i39

2011-09-28 Thread Peter C. Wallace
On Wed, 28 Sep 2011, Viesturs L?cis wrote: > Date: Wed, 28 Sep 2011 22:01:41 +0300 > From: "[UTF-8] Viesturs L?cis" > Reply-To: "Enhanced Machine Controller (EMC)" > > To: "Enhanced Machine Controller (EMC)" > Subject: [Emc-users] 3-phase pwmgens for 7i39 > > Hello, gentlemen! > > I am try

Re: [Emc-users] 3-phase pwmgens for 7i39

2011-09-28 Thread Sebastian Kuzminsky
On Sep 28, 2011, at 13:19 , Peter C. Wallace wrote: > On Wed, 28 Sep 2011, Viesturs L?cis wrote: > >> But with this I receive error, in which I find this line to be most >> important: >> [ 4776.024432] hm2/hm2_7i43.0: invalid token in config string: >> "num_3pwmgens=3" >> >> So how exactly shou

[Emc-users] Determine if a spindle speed change is from override?

2011-09-28 Thread Karl Cunningham
I'm writing a user-space program to manage spindle speed on a machine with a VFD for the motor, and drive ratios set by belt and gear changes. From available HAL signals I would like to determine whether a spindle speed change is due to the speed override slider in axis, or due to a gcode Snnn

Re: [Emc-users] Determine if a spindle speed change is from override?

2011-09-28 Thread andy pugh
On 28 September 2011 21:14, Karl Cunningham wrote: > I'm writing a user-space program to manage spindle speed on a machine > with a VFD for the motor, and drive ratios set by belt and gear changes. This doesn't answer your question, but are you aware that there are realtime modules available to d

[Emc-users] CPR or PPR what are they

2011-09-28 Thread Bruce Klawiter
I was looking at this encoder, http://www.usdigital.com/products/e2#description It says: Tracks from 0 to 100,000 cycles/sec 32 to 1250 cycles per revolution (CPR) 128 to 5000 pulses per revolution (PPR) I don't understand the difference between CPR and PPR, I am thinking it has something to do

Re: [Emc-users] CPR or PPR what are they

2011-09-28 Thread andy pugh
On 28 September 2011 22:55, Bruce Klawiter wrote: > I don't understand the difference between CPR and PPR, I am thinking it has > something to do with the A and B channel being 90 degrees out of phase. If > that is the case why is the PPR 4 time higher and not only twice as high. Cycles is the

Re: [Emc-users] CPR or PPR what are they

2011-09-28 Thread Cliff Blackburn
On 9/28/2011 2:55 PM, Bruce Klawiter wrote: > I was looking at this encoder, > http://www.usdigital.com/products/e2#description > It says: > Tracks from 0 to 100,000 cycles/sec > 32 to 1250 cycles per revolution (CPR) > 128 to 5000 pulses per revolution (PPR) > > I don't understand the differenc

Re: [Emc-users] Determine if a spindle speed change is from override?

2011-09-28 Thread Karl Cunningham
On 09/28/2011 01:56 PM, andy pugh wrote: > On 28 September 2011 21:14, Karl Cunningham wrote: >> I'm writing a user-space program to manage spindle speed on a machine >> with a VFD for the motor, and drive ratios set by belt and gear changes. > > This doesn't answer your question, but are you awar

[Emc-users] calibrating stepper motor cnc

2011-09-28 Thread Martin Patton
Hi EMC users, I have EMC running on an old pc, latency number about 25000. I got an occasional real time error with latency number set at 22000. I drew a part in CamBam, generated some g-code and cut a part. The part looked right but the caliper says every dimension cut a little small. A circl

Re: [Emc-users] 3-phase pwmgens for 7i39

2011-09-28 Thread Viesturs Lācis
2011/9/28 Sebastian Kuzminsky : > On Sep 28, 2011, at 13:19 , Peter C. Wallace wrote: >> On Wed, 28 Sep 2011, Viesturs L?cis wrote: >> >>> But with this I receive error, in which I find this line to be most >>> important: >>> [ 4776.024432] hm2/hm2_7i43.0: invalid token in config string: >>> "num

Re: [Emc-users] calibrating stepper motor cnc

2011-09-28 Thread Viesturs Lācis
2011/9/29 Martin Patton : > > The part looked right but the caliper says every dimension cut a little small. What is the range of deviances? What I mean, how consistent is the deviance in dimensions? Is it very close in all directions, is the error along one of the joints or is it completely rando