Re: [Emc-users] Realistic spindle encoder count for parallel port?
On Mon, 17 Aug 2009 22:11:34 -0400, you wrote: Another approach to quadrature dividing: http://emergent.unpy.net/projects/01149271333 Needs a Pluto_P board, again too expensive over here. Steve Blackmore -- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Realistic spindle encoder count for parallel port?
Another approach to quadrature dividing: http://emergent.unpy.net/projects/01149271333 Needs a Pluto_P board, again too expensive over here. No it doesn't. It's supposed to run on an AtTiny. The Pluto-P update is just for a better version. You can also read about http://emergent.unpy.net/projects/01149348342 Regards, Alex -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Realistic spindle encoder count for parallel port?
Needs a Pluto_P board, again too expensive over here. The shipping for Europe for a Pluto_P is 9.90 EUR. I don't think that's _that_ excessive... Granted the total cost is 63.90 EUR delivered vs. $69.90, but that's the usual rate over the US prices anyways. Regards, Alex -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Realistic spindle encoder count for parallel port?
Hi Steve, Yep - only for threading, but in counter mode can EMC still make corrections for spindle speed variations? Yes. I am not sure if you can thread with the spindle in reverse using counter mode though. Hopefully this list allows attachments. This circuit uses a 4024 or 74CHT4024 counter. You can get them from any of the usual suspects such as RS, Rapid etc. You may well get away without R1 and C1 as they are just noise filtering. It depends on how much noise there is on your machine. The input is one line from either the A or B channel of the encoder. Actually I have just had a thought - you will probably also need to stretch the index pulse from the encoder. It is likely to be very short and at higher speeds EMC won't reliably detect it. Here is an example of a pulse stretcher circuit though you would have to change the values to suit your setup http://www.electronics-lab.com/articles/basics/components/555mono.htm Les inline: 4024.gif-- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] OT - Sheetcam
Les, et al, I am posting here in case this is of benefit to anyone else. I was just taking another look at Sheetcam and downloaded SheetCamTNG 1.01 for Linux running on Ubuntu 8.04. Both the SheetCam libraries and SheetCam itself installed without incident. On running SheetCam I am prompted for the language, after which the Software license is displayed. Upon selecting Ok, I get a dialog box with the heading Debug Report and stating A debug report has been generated in the directory /tmp/... The report contains the file below, where the referenced file is SheetCamTNG.xml. SheetCam itself does not load following this message. I have tried it on two different machines and get exactly the same results. Also, not that I expected there would be a difference, but I also tried booting from both the generic and rtai kernels and again got the same results. Any ideas? I can pastebin the xml file if that helps. Thanks, Eric -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Realistic spindle encoder count for parallel port?
Steve Blackmore wrote: On Mon, 17 Aug 2009 22:11:34 -0400, you wrote: Another approach to quadrature dividing: http://emergent.unpy.net/projects/01149271333 Needs a Pluto_P board, again too expensive over here. Huh? That posting is about dividing quadrature, not Pluto. Actually, I think I linked to the posting that came immediately before the one I really wanted. Look at http://emergent.unpy.net/projects/01149348342 There is a schematic, board layout, and source code for a very tiny quadrature divider. John Kasunich -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Realistic spindle encoder count for parallel port?
John Kasunich wrote: Steve Blackmore wrote: On Mon, 17 Aug 2009 22:11:34 -0400, you wrote: Another approach to quadrature dividing: http://emergent.unpy.net/projects/01149271333 Needs a Pluto_P board, again too expensive over here. Huh? That posting is about dividing quadrature, not Pluto. Actually, I think I linked to the posting that came immediately before the one I really wanted. Look at http://emergent.unpy.net/projects/01149348342 There is a schematic, board layout, and source code for a very tiny quadrature divider. Unfortunately, it doesn't help with index. Many high-end encoders gate the index pulse so it's only on for one quadrature phase. The tiny software would need to be changed to extend the index pulse for a full output count cycle (it's not obvious to me how to do that with the table-driven approach, after 2 minutes of looking at it) -Steve -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Realistic spindle encoder count for parallel port?
On Tue, Aug 18, 2009 at 10:19:17AM -0400, Stephen Wille Padnos wrote: Unfortunately, it doesn't help with index. For threading/tapping, it doesn't matter if you sometimes miss the index. Chris -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] OT - Sheetcam
Hi Eric, The Linux version was developed and built on 8.04 so it should run. Do you have working OpenGl? If you don't have OpenGl you may get a crash as TNG loads. Les Eric H. Johnson wrote: Les, et al, I am posting here in case this is of benefit to anyone else. I was just taking another look at Sheetcam and downloaded SheetCamTNG 1.01 for Linux running on Ubuntu 8.04. Both the SheetCam libraries and SheetCam itself installed without incident. On running SheetCam I am prompted for the language, after which the Software license is displayed. Upon selecting Ok, I get a dialog box with the heading Debug Report and stating A debug report has been generated in the directory /tmp/... The report contains the file below, where the referenced file is SheetCamTNG.xml. SheetCam itself does not load following this message. I have tried it on two different machines and get exactly the same results. Also, not that I expected there would be a difference, but I also tried booting from both the generic and rtai kernels and again got the same results. Any ideas? I can pastebin the xml file if that helps. Thanks, Eric -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] OT - Sheetcam
Les, Yes, both machines support OpenGL. One is a workstation with an NVidia graphics accelerator on which I do most of my CAD / CAM work. It dual boots Windows and Ubuntu Linux 8.04. After it did not work there, I tried it on a notebook computer which does not have a high end graphics accelerator, but does support OpenGL. I did make one error in the previous post, the notebook computer is in fact running Ubuntu 9.04. I forgot that I had upgraded it and presumed it was 8.04. Regards, Eric The Linux version was developed and built on 8.04 so it should run. Do you have working OpenGl? If you don't have OpenGl you may get a crash as TNG loads. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] OT - Sheetcam
I don't know what is wrong then. I have it working on this computer (9.04), my lathe (8.04) and on a 8.04 virtual machine. Can you send me a copy of the debug report. Les Eric H. Johnson wrote: Les, Yes, both machines support OpenGL. One is a workstation with an NVidia graphics accelerator on which I do most of my CAD / CAM work. It dual boots Windows and Ubuntu Linux 8.04. After it did not work there, I tried it on a notebook computer which does not have a high end graphics accelerator, but does support OpenGL. I did make one error in the previous post, the notebook computer is in fact running Ubuntu 9.04. I forgot that I had upgraded it and presumed it was 8.04. Regards, Eric The Linux version was developed and built on 8.04 so it should run. Do you have working OpenGl? If you don't have OpenGl you may get a crash as TNG loads. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Realistic spindle encoder count for parallel port?
On Tue, 18 Aug 2009 10:19:17 -0400, you wrote: Unfortunately, it doesn't help with index. Many high-end encoders gate the index pulse so it's only on for one quadrature phase. The tiny software would need to be changed to extend the index pulse for a full output count cycle (it's not obvious to me how to do that with the table-driven approach, after 2 minutes of looking at it) Your right Steve, the index is only one quadrature phase. At anything above 200 rpm with the 1024 pulse encoder it's pot luck whether EMC sees it. Steve Blackmore -- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Realistic spindle encoder count for parallel port?
On Mon, 17 Aug 2009 16:54:54 -0700 (PDT), you wrote: If I get a free bit of time I'll cobble together a quadrature divider, basically: 1. Input digital filter 2. Quadrature decoder (quadrature to up/down) 3. Up down modulo N counter (for divide by N) 4. 2 bit up/down counter 5. 2 bit binary -- quadrature encoder 6. Optional index stretcher I even think we have some CPLD bds we never used that I can send over for shipping cost. That's very kind of you Peter, I'd appreciate that very much. From experiments looks like the index stretcher is a must ;) I'm not happy with the Chinese 1024 pulse encoder, but I've also got an unused Stegmann DG60L 500 pulse per rev encoder I'm going to test. Looking at the docs that too only outputs a single quadrature count index pulse, but it's much better quality and I'm hoping the signals out from it are cleaner. Steve Blackmore -- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Realistic spindle encoder count for parallel port?
On Tue, 18 Aug 2009, Steve Blackmore wrote: Date: Tue, 18 Aug 2009 22:16:48 +0100 From: Steve Blackmore st...@pilotltd.net To: Peter C. Wallace p...@mesanet.com, EMC2-Users-List emc-users@lists.sourceforge.net Subject: Re: [Emc-users] Realistic spindle encoder count for parallel port? On Mon, 17 Aug 2009 16:54:54 -0700 (PDT), you wrote: If I get a free bit of time I'll cobble together a quadrature divider, basically: 1. Input digital filter 2. Quadrature decoder (quadrature to up/down) 3. Up down modulo N counter (for divide by N) 4. 2 bit up/down counter 5. 2 bit binary -- quadrature encoder 6. Optional index stretcher I even think we have some CPLD bds we never used that I can send over for shipping cost. That's very kind of you Peter, I'd appreciate that very much. From experiments looks like the index stretcher is a must ;) I'm not happy with the Chinese 1024 pulse encoder, but I've also got an unused Stegmann DG60L 500 pulse per rev encoder I'm going to test. Looking at the docs that too only outputs a single quadrature count index pulse, but it's much better quality and I'm hoping the signals out from it are cleaner. Steve Blackmore -- I'll have some time at the end of the week and Ill put something together. I'll also try and make the long index synchronous with the divided Quadrature this will require the total encoder counts to be evenly divisable by the divide ratio. If I fail at that I'll just use a digital one-shot Peter Wallace Mesa Electronics (\__/) (='.'=) This is Bunny. Copy and paste bunny into your ()_() signature to help him gain world domination. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Realistic spindle encoder count for parallel port?
On Tuesday 18 August 2009, Peter C. Wallace wrote: On Tue, 18 Aug 2009, Steve Blackmore wrote: Date: Tue, 18 Aug 2009 22:16:48 +0100 From: Steve Blackmore st...@pilotltd.net To: Peter C. Wallace p...@mesanet.com, EMC2-Users-List emc-users@lists.sourceforge.net Subject: Re: [Emc-users] Realistic spindle encoder count for parallel port? On Mon, 17 Aug 2009 16:54:54 -0700 (PDT), you wrote: If I get a free bit of time I'll cobble together a quadrature divider, basically: 1. Input digital filter 2. Quadrature decoder (quadrature to up/down) 3. Up down modulo N counter (for divide by N) 4. 2 bit up/down counter 5. 2 bit binary -- quadrature encoder 6. Optional index stretcher I even think we have some CPLD bds we never used that I can send over for shipping cost. That's very kind of you Peter, I'd appreciate that very much. From experiments looks like the index stretcher is a must ;) I'm not happy with the Chinese 1024 pulse encoder, but I've also got an unused Stegmann DG60L 500 pulse per rev encoder I'm going to test. Looking at the docs that too only outputs a single quadrature count index pulse, but it's much better quality and I'm hoping the signals out from it are cleaner. Steve Blackmore -- I'll have some time at the end of the week and Ill put something together. I'll also try and make the long index synchronous with the divided Quadrature this will require the total encoder counts to be evenly divisable by the divide ratio. If I fail at that I'll just use a digital one-shot I can see potential problems with that too. Related to direction of rotation. Suggestion: latch it on its rising edge, which if the encoder is properly timed should give one whole output count time to read it, then let the trailing edge of the ports read strobe reset it so you only get it once even at creep speeds. Is that practical? Peter Wallace Mesa Electronics (\__/) (='.'=) This is Bunny. Copy and paste bunny into your ()_() signature to help him gain world domination. --- --- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- Cheers, Gene There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order. -Ed Howdershelt (Author) The NRA is offering FREE Associate memberships to anyone who wants them. https://www.nrahq.org/nrabonus/accept-membership.asp Just when you thought you were winning the rat race, along comes a faster rat!! -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users