Re: [Emc-users] Mesa 5i23 7i39 - possible damage?

2012-01-27 Thread Viesturs Lācis
Hello again! I checked 7i39 manual 2 more times, did not find any warning that would tell not to pull up to 5V, so I turned PC off and set all the 5i23 connectors to pull up to 5V. What I am seeing now makes me think that there is something wrong: In HAL file I have: setp

Re: [Emc-users] question about tapered threading (etc)

2012-01-27 Thread Steve Blackmore
On Thu, 26 Jan 2012 22:06:30 +, you wrote: On 26 January 2012 21:55, Steve Blackmore st...@pilotltd.net wrote: http://pdf.directindustry.com/pdf/delectron/g-code-programming-manual/14577-33189-_23.html Andy - that is for Milling Machines. Typical function for lathes, can also be used in

[Emc-users] Servo tuning - wtf?

2012-01-27 Thread Viesturs Lācis
Hello, folks! I would appreciate some advice on servo tuning. I have Keling Nema23 BLDC servo motors attached to Mesa 7i39. And also zero experience with this :) The way I am doing the tuning is: 1) start Emc, hit F1 and F2; 2) open Machine - Calibration; 3) change P value, for example, from 1

Re: [Emc-users] Mesa 5i23 7i39 - possible damage?

2012-01-27 Thread Peter C. Wallace
On Fri, 27 Jan 2012, Viesturs L?cis wrote: Date: Fri, 27 Jan 2012 10:10:02 +0200 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] Servo tuning - wtf?

2012-01-27 Thread Peter C. Wallace
On Fri, 27 Jan 2012, Viesturs L?cis wrote: Date: Fri, 27 Jan 2012 11:45:30 +0200 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] question about tapered threading (etc)

2012-01-27 Thread andy pugh
On 27 January 2012 08:32, Steve Blackmore st...@pilotltd.net wrote: I'm not asking that the existing G33 be abandoned, just an addition, correct version added, preferably using G32. As I said earlier, that's fairly easy to do with the G-code remapping functions in version 2.6. -- atp The

Re: [Emc-users] Mesa 5i23 7i39 - possible damage?

2012-01-27 Thread andy pugh
On 27 January 2012 08:10, Viesturs Lācis viesturs.la...@gmail.com wrote: When output is false: There are 3,46V between 5i23 pin and GND. There are 1,68V between 5i23 pin and +5V. When output is true: There are 0.6V between 5i23 pin and GND. There are 4.65V between 5i23 pin and +5V. I

Re: [Emc-users] Servo tuning - wtf?

2012-01-27 Thread Viesturs Lācis
2012/1/27 Peter C. Wallace p...@mesanet.com: On Fri, 27 Jan 2012, Viesturs L?cis wrote: Date: Fri, 27 Jan 2012 11:45:30 +0200 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

Re: [Emc-users] Mesa 5i23 7i39 - possible damage?

2012-01-27 Thread Viesturs Lācis
2012/1/27 andy pugh bodge...@gmail.com: On 27 January 2012 08:10, Viesturs Lācis viesturs.la...@gmail.com wrote: When output is false: There are 3,46V between 5i23 pin and GND. There are 1,68V between 5i23 pin and +5V. When output is true: There are 0.6V between 5i23 pin and GND. There

Re: [Emc-users] Servo tuning - wtf?

2012-01-27 Thread Viesturs Lācis
2012/1/27 Peter C. Wallace p...@mesanet.com: I have been playing only with P parameter so far, following this guideline: 1) increase P up to the moment, when motor becomes unstable; 2) add I to make it stable; 3) add D to make the loop stiffer; This is wrong, you add D to  make it more

Re: [Emc-users] DIY output driver

2012-01-27 Thread Viesturs Lācis
2012/1/26 Kirk Wallace kwall...@wallacecompany.com: On Thu, 2012-01-26 at 08:40 +0200, Viesturs Lācis wrote: An off-the-shelf solid state relay might do the job too. The relay was my first idea, but it turned out pretty quickly that there are no such relays that could be driven directly by

Re: [Emc-users] DIY output driver

2012-01-27 Thread Peter Blodow
Viesturs, it seems to me that your laser diode is just acting as a normal LED, not as a laser. This state is only achieved at a very distinct point up on top of the voltage/current curve. The laser diode supply electronics must take care of this which is a rather delicate controlling task. In

Re: [Emc-users] DIY output driver

2012-01-27 Thread gene heskett
On Friday, January 27, 2012 10:07:52 AM Viesturs Lācis did opine: 2012/1/26 Kirk Wallace kwall...@wallacecompany.com: On Thu, 2012-01-26 at 08:40 +0200, Viesturs Lؤپcis wrote: An off-the-shelf solid state relay might do the job too. The relay was my first idea, but it turned out pretty

Re: [Emc-users] DIY output driver

2012-01-27 Thread Viesturs Lācis
2012/1/27 Peter Blodow p.blo...@dreki.de: Viesturs, it seems to me that your laser diode is just acting as a normal LED, not as a laser. This state is only achieved at a very distinct point up on top of the voltage/current curve. The laser diode supply electronics must take care of this which

Re: [Emc-users] DIY output driver

2012-01-27 Thread gene heskett
On Friday, January 27, 2012 12:08:34 PM Viesturs Lācis did opine: 2012/1/27 Peter Blodow p.blo...@dreki.de: Viesturs, it seems to me that your laser diode is just acting as a normal LED, not as a laser. This state is only achieved at a very distinct point up on top of the voltage/current

Re: [Emc-users] DIY output driver

2012-01-27 Thread Kirk Wallace
On Fri, 2012-01-27 at 16:55 +0200, Viesturs Lācis wrote: 2012/1/26 Kirk Wallace kwall...@wallacecompany.com: On Thu, 2012-01-26 at 08:40 +0200, Viesturs Lācis wrote: An off-the-shelf solid state relay might do the job too. The relay was my first idea, but it turned out pretty quickly

Re: [Emc-users] DIY output driver

2012-01-27 Thread Viesturs Lācis
2012/1/27 gene heskett ghesk...@wdtv.com: Is there perchance an adjustment potentiometer?  The LM317T is a linear regulator device and could be made adjustable so as to compensate for the wiring and switching loss in your controller. Nope, I see 2 resistors in series for the middle leg.

Re: [Emc-users] DIY output driver

2012-01-27 Thread Kirk Wallace
For those following this thread, just a reminder of what I think Viesturs has. eBay laser with controller: http://www.ebay.com/itm/Industrial-808nm-800mw-Infrared-Focusable-Laser-Diode-Module-Cutter-w-TTL-/180781956841?pt=LH_DefaultDomain_0hash=item2a1771bee9#ht_2189wt_1080 Short URL:

Re: [Emc-users] DIY output driver

2012-01-27 Thread andy pugh
On 27 January 2012 18:12, Kirk Wallace kwall...@wallacecompany.com wrote: For those following this thread, just a reminder of what I think Viesturs has. eBay laser with controller: http://www.ebay.com/itm/Industrial-808nm-800mw-Infrared-Focusable-Laser-Diode-Module-Cutter-w-TTL-/180781956841

Re: [Emc-users] DIY output driver

2012-01-27 Thread Viesturs Lācis
2012/1/27 andy pugh bodge...@gmail.com: On 27 January 2012 18:12, Kirk Wallace kwall...@wallacecompany.com wrote: For those following this thread, just a reminder of what I think Viesturs has. eBay laser with controller:

Re: [Emc-users] DIY output driver

2012-01-27 Thread gene heskett
On Friday, January 27, 2012 01:36:21 PM Viesturs Lācis did opine: 2012/1/27 gene heskett ghesk...@wdtv.com: Is there perchance an adjustment potentiometer? The LM317T is a linear regulator device and could be made adjustable so as to compensate for the wiring and switching loss in your

Re: [Emc-users] DIY output driver

2012-01-27 Thread gene heskett
On Friday, January 27, 2012 01:50:53 PM Kirk Wallace did opine: For those following this thread, just a reminder of what I think Viesturs has. eBay laser with controller: http://www.ebay.com/itm/Industrial-808nm-800mw-Infrared-Focusable-Laser-

Re: [Emc-users] DIY output driver

2012-01-27 Thread gene heskett
On Friday, January 27, 2012 01:52:19 PM andy pugh did opine: On 27 January 2012 18:12, Kirk Wallace kwall...@wallacecompany.com wrote: For those following this thread, just a reminder of what I think Viesturs has. eBay laser with controller:

Re: [Emc-users] DIY output driver

2012-01-27 Thread gene heskett
On Friday, January 27, 2012 01:53:39 PM Viesturs Lācis did opine: 2012/1/27 andy pugh bodge...@gmail.com: On 27 January 2012 18:12, Kirk Wallace kwall...@wallacecompany.com wrote: For those following this thread, just a reminder of what I think Viesturs has. eBay laser with

Re: [Emc-users] DIY output driver

2012-01-27 Thread Viesturs Lācis
2012/1/27 gene heskett ghesk...@wdtv.com: That depends.  Can, if you just short your device, burn wood?  If not, or only very much slower than you expected, then the wire is too small. I could. Now it seems that my diy stopped working again - laser receives ~3V DC regardless of the state of

Re: [Emc-users] DIY output driver

2012-01-27 Thread Viesturs Lācis
2012/1/27 gene heskett ghesk...@wdtv.com: On Friday, January 27, 2012 01:53:39 PM Viesturs Lācis did opine: 2012/1/27 andy pugh bodge...@gmail.com: On 27 January 2012 18:12, Kirk Wallace kwall...@wallacecompany.com wrote: For those following this thread, just a reminder of what I think

Re: [Emc-users] DIY output driver

2012-01-27 Thread gene heskett
On Friday, January 27, 2012 02:29:30 PM Viesturs Lācis did opine: 2012/1/27 gene heskett ghesk...@wdtv.com: That depends. Can, if you just short your device, burn wood? If not, or only very much slower than you expected, then the wire is too small. I could. Now it seems that my diy

Re: [Emc-users] DIY output driver

2012-01-27 Thread gene heskett
On Friday, January 27, 2012 02:31:36 PM Viesturs Lācis did opine: 2012/1/27 gene heskett ghesk...@wdtv.com: On Friday, January 27, 2012 01:53:39 PM Viesturs Lؤپcis did opine: 2012/1/27 andy pugh bodge...@gmail.com: On 27 January 2012 18:12, Kirk Wallace kwall...@wallacecompany.com

Re: [Emc-users] Servo tuning - wtf?

2012-01-27 Thread Viesturs Lācis
Hello again! I tried searching my mailbox with more than 2 years of this mailing list in it for some servo tuning for noobs (actual keywords used were servo tuning), but found only 1 viable thread, which contained this link; http://www.newport.com/servicesupport/Tutorials/default.aspx?id=152 My

Re: [Emc-users] Servo tuning - wtf?

2012-01-27 Thread Viesturs Lācis
2012/1/27 Peter C. Wallace p...@mesanet.com: On Fri, 27 Jan 2012, Viesturs L?cis wrote: Date: Fri, 27 Jan 2012 21:49:18 +0200 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

Re: [Emc-users] Servo tuning - wtf?

2012-01-27 Thread Peter C. Wallace
On Fri, 27 Jan 2012, Viesturs L?cis wrote: Date: Fri, 27 Jan 2012 21:58:27 +0200 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] Servo tuning - wtf?

2012-01-27 Thread andy pugh
On 27 January 2012 19:54, Peter C. Wallace p...@mesanet.com wrote: What BLDC mode are you using? ... If not you may somehow have lost encoder counts, this should be checked Try mode h and comment-out the rawcounts lines, that ought to make it stick in Hal-sensor mode, and then it can't lose

Re: [Emc-users] Servo tuning - wtf?

2012-01-27 Thread Viesturs Lācis
2012/1/27 Peter C. Wallace p...@mesanet.com: On Fri, 27 Jan 2012, Viesturs L?cis wrote: Date: Fri, 27 Jan 2012 21:58:27 +0200 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

Re: [Emc-users] Servo tuning - wtf?

2012-01-27 Thread Viesturs Lācis
2012/1/27 andy pugh bodge...@gmail.com: On 27 January 2012 19:54, Peter C. Wallace p...@mesanet.com wrote: What BLDC mode are you using? ... If not you may somehow have lost encoder counts, this should be checked Try mode h and comment-out the rawcounts lines, that ought to make it stick

Re: [Emc-users] Servo tuning - wtf?

2012-01-27 Thread andy pugh
On 27 January 2012 20:18, Viesturs Lācis viesturs.la...@gmail.com wrote: Yes, I hit F2 to stop it (sometimes it stops for itself within a second or two) after I release jogging button and then after enabling motion with F2 motor stands still and I can jog again That's a good sign then. At

Re: [Emc-users] Servo tuning - wtf?

2012-01-27 Thread andy pugh
On 27 January 2012 20:22, Viesturs Lācis viesturs.la...@gmail.com wrote: Hmm, I used h mode, when I tried to set up bldc component to move motors properly. How is that going to help me? Don't worry about it. If you can still jog when it settles down then it's not losing synch. Is FF0 set to

[Emc-users] [OT] Re: Servo tuning - wtf?

2012-01-27 Thread Kent A. Reed
On 1/27/2012 2:54 PM, Peter C. Wallace wrote: On Fri, 27 Jan 2012, Viesturs L?cis wrote: Date: Fri, 27 Jan 2012 21:58:27 +0200 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

Re: [Emc-users] Servo tuning - wtf?

2012-01-27 Thread Peter C. Wallace
On Fri, 27 Jan 2012, Viesturs L?cis wrote: Date: Fri, 27 Jan 2012 22:22:33 +0200 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] Servo tuning - wtf?

2012-01-27 Thread Viesturs Lācis
2012/1/27 andy pugh bodge...@gmail.com: On 27 January 2012 20:18, Viesturs Lācis viesturs.la...@gmail.com wrote: Yes, I hit F2 to stop it (sometimes it stops for itself within a second or two) after I release jogging button and then after enabling motion with F2 motor stands still and I can

Re: [Emc-users] Servo tuning - wtf?

2012-01-27 Thread andy pugh
On 27 January 2012 20:37, Viesturs Lācis viesturs.la...@gmail.com wrote: What's the PID output maxing out at? OUTPUT_SCALE =          166.667 OUTPUT_OFFSET =         0.0 MAX_OUTPUT =            166.667 I don't know what these numbers mean. But if the PWM is hitting 95% and the motor isn't

Re: [Emc-users] Servo tuning - wtf?

2012-01-27 Thread Viesturs Lācis
2012/1/27 Peter C. Wallace p...@mesanet.com: This is not likely a tuning problem... Sounds encouraging :) More likely that you have either run out of headroom (what is the motor voltage vs supply voltage?) or you have a commutation problem. Commutation problems will happen if you have

Re: [Emc-users] Servo tuning - wtf?

2012-01-27 Thread Viesturs Lācis
2012/1/27 andy pugh bodge...@gmail.com: On 27 January 2012 20:37, Viesturs Lācis viesturs.la...@gmail.com wrote: What's the PID output maxing out at? OUTPUT_SCALE =          166.667 OUTPUT_OFFSET =         0.0 MAX_OUTPUT =            166.667 I don't know what these numbers mean. But if

Re: [Emc-users] Servo tuning - wtf?

2012-01-27 Thread andy pugh
On 27 January 2012 20:45, Viesturs Lācis viesturs.la...@gmail.com wrote: Ok, is there a place I can read more about the max_output? I do not fully understand, what should I do with output_ scale and max_output parameters in INI file. What happens if you disconnect the PID (and the motors from

Re: [Emc-users] Servo tuning - wtf?

2012-01-27 Thread Viesturs Lācis
2012/1/27 andy pugh bodge...@gmail.com: On 27 January 2012 20:45, Viesturs Lācis viesturs.la...@gmail.com wrote: Ok, is there a place I can read more about the max_output? I do not fully understand, what should I do with output_ scale and max_output parameters in INI file. What happens if

Re: [Emc-users] Servo tuning - wtf?

2012-01-27 Thread Peter C. Wallace
On Fri, 27 Jan 2012, Viesturs L?cis wrote: Date: Fri, 27 Jan 2012 22:49:38 +0200 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] Servo tuning - wtf?

2012-01-27 Thread Viesturs Lācis
2012/1/27 Peter C. Wallace p...@mesanet.com: On Fri, 27 Jan 2012, Viesturs L?cis wrote: Date: Fri, 27 Jan 2012 22:49:38 +0200 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

Re: [Emc-users] MESA questions

2012-01-27 Thread Andrew
2012/1/25 Peter C. Wallace p...@mesanet.com Both would need a new firmware files (SVST12_12_7I52S, SVST12_12_7I47) We intend to use 7i23+7i47x2. Where can we find SVST12_12_7I47 firmware and pinout? Thanks! Andrew --

Re: [Emc-users] Servo tuning - wtf?

2012-01-27 Thread Jon Elson
Viesturs Lācis wrote: In my previous attempts I had: DEADBAND = 0.0005 P = 90 I = 40 D = 1,65 FF0 = 0 FF1 = 1,5 FF2 = 0 BIAS = 0,0005 FF0 should always be zero on a motion axis. It creates an offset that varies with position. FF1 should always be much less than P. FF2

Re: [Emc-users] DIY output driver

2012-01-27 Thread Ed Nisley
On Fri, 2012-01-27 at 12:26 -0500, gene heskett wrote: The LM317T is a linear regulator device and could be made adjustable so as to compensate for the wiring and switching loss in your controller. Judging from Viesturs' description in a later message: Nope, I see 2 resistors in series for

Re: [Emc-users] Servo tuning - wtf?

2012-01-27 Thread Jon Elson
Peter C. Wallace wrote: This is wrong, you add D to make it more stable not I This thing about add I to increase stability is in several places in the docs and Wiki, and I was wondering about this. I agree with you that it is D that increases stability (up to a point). If this is truly

Re: [Emc-users] Servo tuning - wtf?

2012-01-27 Thread Kent A. Reed
On 1/27/2012 9:18 PM, Jon Elson wrote: Peter C. Wallace wrote: This is wrong, you add D to make it more stable not I This thing about add I to increase stability is in several places in the docs and Wiki, Jon: I don't remember reading this when I was reviewing the V2.5 docs. As a

Re: [Emc-users] DIY output driver

2012-01-27 Thread Rafael Skodlar
On 01/27/2012 11:07 AM, Viesturs Lācis wrote: 2012/1/27 gene heskettghesk...@wdtv.com: That depends. Can, if you just short your device, burn wood? If not, or only very much slower than you expected, then the wire is too small. I could. Now it seems that my diy stopped working again -

Re: [Emc-users] DIY output driver

2012-01-27 Thread Viesturs Lācis
2012/1/28 Rafael Skodlar ra...@linwin.com: Of course that won't work with most if not all the suggestions I've seen so far. If I understand it correctly, your laser already has a circuit to drive it at reasonable current to do it's magic. Circuit I suggested earlier was under assumption you