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

2011-09-29 Thread Viesturs Lācis
2011/9/28 Sebastian Kuzminsky s...@highlab.com: 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:

Re: [Emc-users] calibrating stepper motor cnc

2011-09-29 Thread Viesturs Lācis
2011/9/29 Martin Patton mart...@gmail.com: 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

Re: [Emc-users] Omron V1000 VFD Modbus

2011-09-29 Thread Michael Haberler
not specific to the Omron VFD: - Some Modbus clients like the GS2 permit reading multiple registers (aka 'coils') in one read transactions. The Toshiba I worked with only supports single-register reads which required some restructuring and keeping an eye on roundtrip time if multiple registers

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

2011-09-29 Thread Viesturs Lācis
Ok, now EMC starts up and seems to be fine. I have one more question: Which of the pins should I connect pid.n.output to? There are 3 value pins, one for each phase: hm2_7i43.0.3pwmgen.00.A-value hm2_7i43.0.3pwmgen.00.B-value hm2_7i43.0.3pwmgen.00.C-value How is it supposed to be done? Pid

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

2011-09-29 Thread Chris Morley
look at the BLDC component. PID goes to BLDC goes to 3 phase pwm Not that I have done it :) When you get this config going i would like to see the sample HAL file for PNCconf reference I might add to pay attention to PWM base frequency value and BLDC dead time. Both can do bad things to your

Re: [Emc-users] calibrating stepper motor cnc

2011-09-29 Thread John Stewart
Martin; For what it's worth - I'm playing with a new machine of mine (Sieg KX1 with Gecko G540) and am looking at the backlash in the x-y table. To do this, I put a dial indicator on an axis; move +1mm, +1mm, +1mm, all show accurate moves; move +1mm +1mm -1mm shows the backlash. What if you

Re: [Emc-users] Need help with servo tuning

2011-09-29 Thread Bruce Klawiter
Bruce:  I don't know how the system appears to be behaving, but your error of 20 - 30 um on the trace looks about as good as you'll get with those scales. That's within 2-3 encoder counts of commanded position.   The problems I guess I was hoping would go away is the dithering or

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

2011-09-29 Thread Viesturs Lācis
2011/9/29 andy pugh bodge...@gmail.com: Insufficient coffee error, redo from start. No, not correct at all. I would start with qh,qh,qh (Using i inmplies that you know where the index is relative to the poles.) Ok, got it! Thank You! One more question: Is it ok to route Hall signal in the

Re: [Emc-users] Need help with servo tuning

2011-09-29 Thread andy pugh
On 29 September 2011 13:23, Bruce Klawiter bmkl...@yahoo.com wrote: are some halscope images of the dithering and jerking: https://sites.google.com/site/bmklawt/home/pid-tuning A single-count deadband in the PID might help. I am not sure if this is a good idea, but I wonder if a low-pass

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

2011-09-29 Thread andy pugh
On 29 September 2011 13:30, Viesturs Lācis viesturs.la...@gmail.com wrote: Is it ok to route Hall signal in the same cable with encoder signal? Or are they going to disturb each other? It should be OK, otherwise you would be concerned about the A-encoder interfering with the B-encoder. --

Re: [Emc-users] calibrating stepper motor cnc

2011-09-29 Thread BRIAN GLACKIN
One recommendation is to put a Vee cutter in your spindle and run a program where the Vee bit just touches the material in a uniform grid pattern. Take your part and measure all the positions from the 0,0. You may have your machine set up in such a manner that it is not just perfect. When I did

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

2011-09-29 Thread Viesturs Lācis
2011/9/29 andy pugh bodge...@gmail.com: On 29 September 2011 13:30, Viesturs Lācis viesturs.la...@gmail.com wrote: Is it ok to route Hall signal in the same cable with encoder signal? Or are they going to disturb each other? It should be OK, otherwise you would be concerned about the

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

2011-09-29 Thread Peter C. Wallace
On Thu, 29 Sep 2011, Chris Morley wrote: Date: Thu, 29 Sep 2011 07:19:51 + From: Chris Morley chrisinnana...@hotmail.com Reply-To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net To: EMC emc-users@lists.sourceforge.net Subject: Re: [Emc-users] 3-phase pwmgens for

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

2011-09-29 Thread Peter C. Wallace
On Thu, 29 Sep 2011, Viesturs L?cis wrote: Date: Thu, 29 Sep 2011 16:47:16 +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] 3-phase pwmgens for 7i39

2011-09-29 Thread Viesturs Lācis
2011/9/29 Peter C. Wallace p...@mesanet.com: On Thu, 29 Sep 2011, Viesturs L?cis wrote: 2) If so, what should I do about motor GND connectors on 7i39 motor connection terminal block? Do I need to wire the motor case to them? Normally I would wire the motor frame ground to this point. Be

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

2011-09-29 Thread Peter C. Wallace
On Thu, 29 Sep 2011, Viesturs L?cis wrote: Date: Thu, 29 Sep 2011 17:20:15 +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

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

2011-09-29 Thread dave
On Wed, 2011-09-28 at 15:28 -0700, Cliff Blackburn wrote: 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

Re: [Emc-users] calibrating stepper motor cnc

2011-09-29 Thread Martin Dobbins
Hi Marty, As other people pointed out, it might be better not to jump to conclusions the cause of the error may not be stepper calibration. How long have you been using CamBam and what do you think of it? Martin Date: Thu, 29 Sep 2011 01:10:10 -0400 From: marty To:

Re: [Emc-users] calibrating stepper motor cnc

2011-09-29 Thread Jon Elson
Martin Patton wrote: 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

Re: [Emc-users] calibrating stepper motor cnc

2011-09-29 Thread andy pugh
On 29 September 2011 06:10, Martin Patton mart...@gmail.com wrote:  A circle pocket drawn 1.50 diameter cut about 1.42 in diameter, 1.5 / 1.42 = 1.0563 2mm / 12tpi = 1.0583 Just a thought, do you have metric leadscrews calibrated in TPI? -- atp Torque wrenches are for the obedience of fools

Re: [Emc-users] Need help with servo tuning

2011-09-29 Thread Jon Elson
Bruce Klawiter wrote: The problems I guess I was hoping would go away is the dithering or oscillation when the machine is at rest. Yes, this is the universal problem with servos. There is no way for the dithering to be less than one encoder count. So, in your case, the resolution

Re: [Emc-users] Need help with servo tuning

2011-09-29 Thread Jon Elson
andy pugh wrote: A single-count deadband in the PID might help. I am not sure if this is a good idea, but I wonder if a low-pass filter on the encoder position would help? This was discussed some time ago, the real problem is a low-pass filter must cause delay, and that is bad in a servo

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

2011-09-29 Thread Viesturs Lācis
2011/9/29 andy pugh bodge...@gmail.com: On 29 September 2011 11:03, Viesturs Lācis viesturs.la...@gmail.com wrote: What is max number of the pattern? 47, I think. See man bldc To me it seems that Your suggested hi,hi,hi is telling - there is Hall sensor feedback and index signal, no

Re: [Emc-users] Need help with servo tuning

2011-09-29 Thread andy pugh
Are the velocity tachs still active, so that the drives are closing a velocity loop, and EMC2 is commanding that velocity loop on the basis of position error? If that is the case, I wonder if EMC2 would work with only I and FF1? (And if you think that you have a puzzle, I am currently

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

2011-09-29 Thread Peter C. Wallace
On Thu, 29 Sep 2011, Viesturs L?cis wrote: Date: Thu, 29 Sep 2011 19:56:45 +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] 3-phase pwmgens for 7i39

2011-09-29 Thread andy pugh
On 29 September 2011 17:56, Viesturs Lācis viesturs.la...@gmail.com wrote: I tried all 48 patterns twice. Obtained result - nothing… As Pete says, if it is really nothing, then it isn't the pattern. The wrong pattern will make the motor lock or oscillate. I tested by setting pattern value in

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

2011-09-29 Thread Viesturs Lācis
2011/9/29 Peter C. Wallace p...@mesanet.com: Did you ever get any motor movement? No, I haven't. If not, something more basic is wrong (like PWM enable or initial voltage % (you have 10/166.6*28V) = 1.7V -deadzone which may be too low to generate much current especially if the PWM

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

2011-09-29 Thread Viesturs Lācis
2011/9/29 andy pugh bodge...@gmail.com: On 29 September 2011 17:56, Viesturs Lācis viesturs.la...@gmail.com wrote: That's a very long-winded way to do it. You can type setp bldc.0.pattern N in the Machine-ShowHalConfig window without having to restart EMC2. Thanks for the suggestion, will

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

2011-09-29 Thread andy pugh
On 29 September 2011 19:11, Viesturs Lācis viesturs.la...@gmail.com wrote: Those pins are Enable pins in firmware, so they are not available as GPIO pins. According to .PIN file, I need to change gpio.032 pin. EMC is showing error, that hm2_7i43.0.gpio.032.is_output pin does not exist,

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

2011-09-29 Thread Viesturs Lācis
2011/9/29 andy pugh bodge...@gmail.com: On 29 September 2011 19:11, Viesturs Lācis viesturs.la...@gmail.com wrote: Those pins are Enable pins in firmware, so they are not available as GPIO pins. According to .PIN file, I need to change gpio.032 pin. EMC is showing error, that

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

2011-09-29 Thread Peter C. Wallace
On Thu, 29 Sep 2011, Viesturs L?cis wrote: Date: Thu, 29 Sep 2011 21:29:42 +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] 3-phase pwmgens for 7i39

2011-09-29 Thread Viesturs Lācis
2011/9/29 Peter C. Wallace p...@mesanet.com: HALmeter the 3PPWM fault signal, if its high, you may need to invert the external fault input signal(or tie that pin to the inactive state) Thanks! Fault is true. I'm sorry, but I do not really understand, how exactly can I fix that. Viesturs

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

2011-09-29 Thread andy pugh
On 29 September 2011 20:15, Viesturs Lācis viesturs.la...@gmail.com wrote: Fault is true. I'm sorry, but I do not really understand, how exactly can I fix that. There is a parameter .3pwmgen.N.fault-invert -- atp Torque wrenches are for the obedience of fools and the guidance of wise men

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

2011-09-29 Thread Viesturs Lācis
2011/9/29 andy pugh bodge...@gmail.com: On 29 September 2011 20:15, Viesturs Lācis viesturs.la...@gmail.com wrote: Fault is true. I'm sorry, but I do not really understand, how exactly can I fix that. There is a parameter .3pwmgen.N.fault-invert Thank You! Now the motor is oscillating. I

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

2011-09-29 Thread andy pugh
On 29 September 2011 21:22, Viesturs Lācis viesturs.la...@gmail.com wrote: I checked all 47 patterns twice, none of them is rotating motor smoothly. Are you in qh or pure h mode? It might be that it switched to sinusoidal half way through (and that that isn't set up right) -- atp Torque

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

2011-09-29 Thread Peter C. Wallace
On Thu, 29 Sep 2011, andy pugh wrote: Date: Thu, 29 Sep 2011 20:30:56 +0100 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: Re: [Emc-users] 3-phase

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

2011-09-29 Thread Viesturs Lācis
Config string says qh,qh,qh. Should I change something? Viesturs On 2011. gada 29. Sep. 22:38, andy pugh bodge...@gmail.com wrote: On 29 September 2011 21:22, Viesturs Lācis viesturs.la...@gmail.com wrote: I checked all 47 patterns twice, none of them is rotating motor smoothly. Are you

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

2011-09-29 Thread andy pugh
2011/9/29 Viesturs Lācis viesturs.la...@gmail.com: Config string says qh,qh,qh. Should I change something? Yes, for working out the hall pattern, use h,h,h -- atp Torque wrenches are for the obedience of fools and the guidance of wise men

Re: [Emc-users] Emc-users Digest, Vol 65, Issue 66

2011-09-29 Thread Martin Patton
Thanks John, I'll check the EMC manual. The machine is pretty new and there does not seem to be any backlash. -- Message: 7 Date: Thu, 29 Sep 2011 06:03:48 -0500 From: John Thornton bjt...@gmail.com Subject: Re: [Emc-users] calibrating stepper motor cnc To:

[Emc-users] VFD Speed Input

2011-09-29 Thread Kirk Wallace
I'm trying to get my Shizuoka going after being idle during the Summer. Some of the parts had fallen off. So, in putting it back together I attended to an issue that bothered me from before. The SPI DAC I use to feed the 0-10 V input to the spindle VFD wanders a bit and is enough to notice the

Re: [Emc-users] Need help with servo tuning

2011-09-29 Thread Jon Elson
andy pugh wrote: Are the velocity tachs still active, so that the drives are closing a velocity loop, and EMC2 is commanding that velocity loop on the basis of position error? Yes, his tachs are connected to the analog servo amps. If that is the case, I wonder if EMC2 would work with only

Re: [Emc-users] VFD Speed Input

2011-09-29 Thread Karl Cunningham
On 09/29/2011 06:24 PM, Kirk Wallace wrote: I'm trying to get my Shizuoka going after being idle during the Summer. Some of the parts had fallen off. So, in putting it back together I attended to an issue that bothered me from before. The SPI DAC I use to feed the 0-10 V input to the spindle

[Emc-users] upgrade issue with 10.04 live CD

2011-09-29 Thread marc foster
I have a recently upgraded to a new PC for my EMC installation and I am having difficulty getting EMC to run on the 10.04 Live CD. I know that it is not a hardware issue because I can run a 8.04 Live CD and everything works fine. The 10.04 CD boots and runs fine, however when I run the EMC it

Re: [Emc-users] Emc-users Digest, Vol 65, Issue 67

2011-09-29 Thread Martin Patton
Brian, I will do as you suggest and cut a grid. What did you adjust in the ini file? Thanks, Marty Date: Thu, 29 Sep 2011 08:52:52 -0400 From: BRIAN GLACKIN glackin.br...@gmail.com Subject: Re: [Emc-users] calibrating stepper motor cnc To: Enhanced Machine Controller (EMC)

Re: [Emc-users] Emc-users Digest, Vol 65, Issue 68

2011-09-29 Thread Martin Patton
Martin, I have been using CamBam for 7 of 40 trials. I am amazed at how easy it is to use so far. I drew a mount for a stepper motor that has a cutout profile with tabs, a pocket for the rim of the stepper and four spiral holes sized for tapping 10-32. With all this advice, I already cut a

Re: [Emc-users] calibrating stepper motor cnc

2011-09-29 Thread Martin Patton
?A circle pocket drawn 1.50 diameter cut about 1.42 in diameter, 1.5 / 1.42 = 1.0563 2mm / 12tpi = 1.0583 Just a thought, do you have metric leadscrews calibrated in TPI? -- atp Torque wrenches are for the obedience of fools and the guidance of wise men Nope. They are 20 tpi.

Re: [Emc-users] upgrade issue with 10.04 live CD

2011-09-29 Thread Sebastian Kuzminsky
On 09/29/2011 09:26 PM, marc foster wrote: I have a recently upgraded to a new PC for my EMC installation and I am having difficulty getting EMC to run on the 10.04 Live CD. I know that it is not a hardware issue because I can run a 8.04 Live CD and everything works fine. The 10.04 CD boots

Re: [Emc-users] Emc-users Digest, Vol 65, Issue 68

2011-09-29 Thread gene heskett
On Friday, September 30, 2011 12:30:55 AM Martin Patton did opine: Martin, I have been using CamBam for 7 of 40 trials. I am amazed at how easy it is to use so far. I drew a mount for a stepper motor that has a cutout profile with tabs, a pocket for the rim of the stepper and four spiral

Re: [Emc-users] VFD Speed Input

2011-09-29 Thread Kirk Wallace
On Thu, 2011-09-29 at 20:44 -0700, Karl Cunningham wrote: ... snip The PWM output (duty cycle) is 0 to 1.0. Is it possible you're telling it to go from 0 to 10, and by the time it reaches 10% of full scale it's already at 1.0? The 10 volts is only between the opto and the VFD input, nothing