[Emc-users] motor to spindle gear ratio

2015-08-25 Thread Mark Johnsen
> > Message: 3 > Date: Tue, 25 Aug 2015 19:57:24 -0400 > From: Tom Easterday > Subject: [Emc-users] motor to spindle gear ratio > To: "Enhanced Machine Controller (EMC)" > > Message-ID: > Content-Type: text/plain; charset=utf-8 > > I was working on some issues with the lathe today and di

Re: [Emc-users] LinuxCNC controlling inudction heater

2015-08-25 Thread Marius Liebenberg
>Hello to all! > >I don't recall showing to the list how the machine works with an actual >part on it so here it is: A short video showing how it heats, quenches >and >then goes to the next position. > >https://youtu.be/xyWUCGUbUaY Wow man now that is impressive. What is the power rating of the

Re: [Emc-users] LinuxCNC controlling inudction heater

2015-08-25 Thread Sebastian Kuzminsky
On 8/25/15 10:17 PM, Leonardo Marsaglia wrote: > https://youtu.be/xyWUCGUbUaY Very cool. What part does linuxcnc do? How is it hooked up in hal? -- Sebastian Kuzminsky -- _

[Emc-users] LinuxCNC controlling inudction heater

2015-08-25 Thread Leonardo Marsaglia
Hello to all! I don't recall showing to the list how the machine works with an actual part on it so here it is: A short video showing how it heats, quenches and then goes to the next position. https://youtu.be/xyWUCGUbUaY As always thanks for your support! -- *Leonardo Marsaglia*. ---

Re: [Emc-users] motor to spindle gear ratio

2015-08-25 Thread Gene Heskett
On Tuesday 25 August 2015 21:06:26 andy pugh wrote: > On 26 August 2015 at 02:01, Gene Heskett wrote: > > If there is a general "rule of thumb" for setting the PWMGEN SCALE, > > Yes, it is as simple as using the number that represents the spindle > speed at 100% PWM. > That should be all there is

Re: [Emc-users] motor to spindle gear ratio

2015-08-25 Thread andy pugh
On 26 August 2015 at 02:01, Gene Heskett wrote: > If there is a general "rule of thumb" for setting the PWMGEN SCALE, Yes, it is as simple as using the number that represents the spindle speed at 100% PWM. That should be all there is to it. -- atp If you can't fix it, you don't own it. http://w

Re: [Emc-users] motor to spindle gear ratio

2015-08-25 Thread Gene Heskett
On Tuesday 25 August 2015 19:57:24 Tom Easterday wrote: > I was working on some issues with the lathe today and discovered that > what I thought was a 1:1 relationship between the pulley on my spindle > motor and pulley on the spindle head - is not. The diameter of the > spindle pulley is 4.2125”

Re: [Emc-users] computing max acceleration for an actuator

2015-08-25 Thread TJoseph Powderly
Jerry I didnt answer your question. to measure acceleration there's an industry standard 'step' test. The 'step' is to apply the voltage required to achieve max velocity. This voltage **instantly** rises from 0 to the value needed for max velocity. Thats where the name 'step' comes from, Its a squ

[Emc-users] motor to spindle gear ratio

2015-08-25 Thread Tom Easterday
I was working on some issues with the lathe today and discovered that what I thought was a 1:1 relationship between the pulley on my spindle motor and pulley on the spindle head - is not. The diameter of the spindle pulley is 4.2125” while the spindle itself is 5.175” (they are probably actuall

Re: [Emc-users] computing max acceleration for an actuator

2015-08-25 Thread TJoseph Powderly
Jerry please keep us informed of your project. I have a SMAC ( not SMC) thats rated 5G's but only 15mm stroke and 1um renishaw scale ( also ebay find) It uses a voice coil to get the speed and accel, no screw involved. The acceleration we're playing with makes control difficult. the counts are just

[Emc-users] computing max acceleration for an actuator

2015-08-25 Thread Jerry Scharf
Hi, My quick scan of the docs didn't find an explanation for how to calculate this from manufacturer specs rather than experimentation. I want to make sure I am doing this right. The actuator is rated a 3.15 inches per second and it can reach full speed in under .02s for the load I will be puttin

Re: [Emc-users] Max spindle PWM frequency

2015-08-25 Thread Marius Liebenberg
On 25.08.15 14:27, Marius Liebenberg wrote: >>Erik >> I am getting to old to be a purist any more. I always use the >>platform >> or chip with the best or most intuitive dev environment. >> Short piece of code using a Teensy 3.0. I use the Visual Micro >>debugger >> in Microsoft Visual

Re: [Emc-users] Max spindle PWM frequency

2015-08-25 Thread Erik Christiansen
On 25.08.15 14:27, Marius Liebenberg wrote: > Erik > I am getting to old to be a purist any more. I always use the platform > or chip with the best or most intuitive dev environment. > Short piece of code using a Teensy 3.0. I use the Visual Micro debugger > in Microsoft Visual Studio 2015 all

Re: [Emc-users] Max spindle PWM frequency

2015-08-25 Thread Marius Liebenberg
>On Tuesday 25 August 2015 09:19:15 Marius Liebenberg wrote: > >> Thanks all for the help. I used a Teensy 3.0 bord from the drawer and >> it works great. I am reading a 2khz signal from the parport and >> converting it to a 40khz signal. Duty cycle is from 0% to 99%. > >And this is what I lov

Re: [Emc-users] Max spindle PWM frequency

2015-08-25 Thread Marius Liebenberg
Erik I am getting to old to be a purist any more. I always use the platform or chip with the best or most intuitive dev environment. Short piece of code using a Teensy 3.0. I use the Visual Micro debugger in Microsoft Visual Studio 2015 all running on the latest Arduino environment. const int

Re: [Emc-users] Max spindle PWM frequency

2015-08-25 Thread Erik Christiansen
On 25.08.15 13:19, Marius Liebenberg wrote: > Thanks all for the help. I used a Teensy 3.0 bord from the drawer and > it works great. I am reading a 2khz signal from the parport and > converting it to a 40khz signal. Duty cycle is from 0% to 99%. That was quick! Using the arduino environment, or j

Re: [Emc-users] Max spindle PWM frequency

2015-08-25 Thread Gene Heskett
On Tuesday 25 August 2015 09:19:15 Marius Liebenberg wrote: > Thanks all for the help. I used a Teensy 3.0 bord from the drawer and > it works great. I am reading a 2khz signal from the parport and > converting it to a 40khz signal. Duty cycle is from 0% to 99%. And this is what I love about this

Re: [Emc-users] Max spindle PWM frequency

2015-08-25 Thread Marius Liebenberg
Thanks all for the help. I used a Teensy 3.0 bord from the drawer and it works great. I am reading a 2khz signal from the parport and converting it to a 40khz signal. Duty cycle is from 0% to 99%. I have not checked the AVR but most micro controllers have timers with hardware support or duty

Re: [Emc-users] Max spindle PWM frequency

2015-08-25 Thread Karlsson & Wang
I have not checked the AVR but most micro controllers have timers with hardware support or duty cycle measurement. XMC4xxx or STM334 devopment boards have high resolution timers equal to a frequency about a few gigahertz. On Tue, 25 Aug 2015 21:09:08 +1000 Erik Christiansen wrote: > On 25.08.

Re: [Emc-users] Max spindle PWM frequency

2015-08-25 Thread Erik Christiansen
On 25.08.15 10:30, Marius Liebenberg wrote: > I have a couple of Teensy 3.0 boards in the drawer here and they are > pretty fast enough I think. > I am a bit allergic to the USB interface when one uses high current > switching devices on the machine. The USB interface is not that > reliable. It

Re: [Emc-users] Debian Wheezy login

2015-08-25 Thread Mark Wendt
On Tue, Aug 25, 2015 at 6:58 AM, Marius Liebenberg wrote: > Does anyone know how to make the logon for Wheezy automatic? Can't seem > to find a system setting :( > > > > - > Regards / Groete > > Marius D. Liebenberg Marius,

Re: [Emc-users] Debian Wheezy login

2015-08-25 Thread Rick Lair
Here are my notes Marius, ENABLE AUTO-LOGIN To install lightdm in Wheezy, run as root aptitude install lightdm Configuration LightDM configuration file is found at /etc/lightdm/lightdm.conf. Making a backup of the original configuration file is recommended. To change the current default

[Emc-users] Debian Wheezy login

2015-08-25 Thread Marius Liebenberg
Does anyone know how to make the logon for Wheezy automatic? Can't seem to find a system setting :( - Regards / Groete Marius D. Liebenberg +27 82 698 3251 +27 12 743 6064 -- ___

Re: [Emc-users] Max spindle PWM frequency

2015-08-25 Thread Marius Liebenberg
On 25 August 2015 at 10:43, Marius Liebenberg wrote: >> Yes I though as much. I am running at 15us at the moment. I am >>thinking >> to use a MCU or a small FPGA to read the low frequency PWM and then >> translate that to a 40khz PWM signal. > >The most expedient solution might be an Ardui

Re: [Emc-users] Will make new shaft for jackshaft

2015-08-25 Thread Gene Heskett
On Tuesday 25 August 2015 05:32:29 andy pugh wrote: > On 25 August 2015 at 10:26, Gene Heskett wrote: > > That will regain some of the spindle speed lost with the existing > > kits metal pulley, but will require a longer XL belt. I am thinking > > that because I added 6 teeth to the small pulley

Re: [Emc-users] Max spindle PWM frequency

2015-08-25 Thread andy pugh
On 25 August 2015 at 10:43, Marius Liebenberg wrote: > Yes I though as much. I am running at 15us at the moment. I am thinking > to use a MCU or a small FPGA to read the low frequency PWM and then > translate that to a 40khz PWM signal. The most expedient solution might be an Arduino (you can buy

Re: [Emc-users] How do I move program, but not machine co-ords?

2015-08-25 Thread Gene Heskett
On Tuesday 25 August 2015 05:25:45 andy pugh wrote: > On 25 August 2015 at 03:25, Gene Heskett wrote: > >> There is a sample G-code file that does that already. > >> see probe-hole.ngc in the "Examples" in nc-files. > >> I use that, which finishes the moves with the machine at the centre > >> of

Re: [Emc-users] Max spindle PWM frequency

2015-08-25 Thread Karlsson & Wang
The micro controllers STM334 or XMC4xxx have high resolution timers equal to a frequency of up to a few gigz hertz. On Tue, 25 Aug 2015 09:43:38 + "Marius Liebenberg" wrote: > Yes I though as much. I am running at 15us at the moment. I am thinking > to use a MCU or a small FPGA to read

Re: [Emc-users] Max spindle PWM frequency

2015-08-25 Thread Karlsson & Wang
It is implemented by a counter so then frequency is increased resolution go down. Som micro controllers have high resolution timers which get resolution equal to a counter at about a few giga hertz although I get the impression the extra high resolution is implemented a little bit different. On

Re: [Emc-users] Max spindle PWM frequency

2015-08-25 Thread Gene Heskett
On Tuesday 25 August 2015 05:16:02 Marius Liebenberg wrote: > I am trying to generate a pwm signal to drive a laser power source > using the spindle pwmgen. The minimum frequency must be 20khz. I read > in the manual that pwmgen is not good on higher frequency. The > question is will it reach 20kh

Re: [Emc-users] Max spindle PWM frequency

2015-08-25 Thread Marius Liebenberg
Yes I though as much. I am running at 15us at the moment. I am thinking to use a MCU or a small FPGA to read the low frequency PWM and then translate that to a 40khz PWM signal. >On 25 August 2015 at 10:16, Marius Liebenberg >wrote: >> I am trying to generate a pwm signal to drive a laser

Re: [Emc-users] Will make new shaft for jackshaft

2015-08-25 Thread andy pugh
On 25 August 2015 at 10:26, Gene Heskett wrote: > That will regain some of the spindle speed lost with the existing kits > metal pulley, but will require a longer XL belt. I am thinking that > because I added 6 teeth to the small pulley, I should add 6 cogs to the > belt length too, but a hair ov

Re: [Emc-users] Max spindle PWM frequency

2015-08-25 Thread andy pugh
On 25 August 2015 at 10:16, Marius Liebenberg wrote: > I am trying to generate a pwm signal to drive a laser power source using > the spindle pwmgen. The minimum frequency must be 20khz. I read in the > manual that pwmgen is not good on higher frequency. The question is will > it reach 20khz or mu

[Emc-users] Will make new shaft for jackshaft

2015-08-25 Thread Gene Heskett
I just bought a triplet of some 16 tooth, 10mm bore, 11mm wide XL pulleys on fleabay. And because I need to re-arrange the shaft locking into the bearings by remachining the output bulkhead to put the retaining screws on its end flange on the outside face so I can do a tru-arc ring for positive

Re: [Emc-users] How do I move program, but not machine co-ords?

2015-08-25 Thread andy pugh
On 25 August 2015 at 03:25, Gene Heskett wrote: >> There is a sample G-code file that does that already. >> see probe-hole.ngc in the "Examples" in nc-files. >> I use that, which finishes the moves with the machine at the centre of >> the circle, then I touch-off X and Y to zero there. > > And it

[Emc-users] Max spindle PWM frequency

2015-08-25 Thread Marius Liebenberg
I am trying to generate a pwm signal to drive a laser power source using the spindle pwmgen. The minimum frequency must be 20khz. I read in the manual that pwmgen is not good on higher frequency. The question is will it reach 20khz or must I rather try using a stepgen? ---

[Emc-users] Max spindle PWM frequency

2015-08-25 Thread Marius Liebenberg
I am trying to generate a pwm signal to drive a laser power source using the spindle pwmgen. The minimum frequency must be 20khz. I read in the manual that pwmgen is not good on higher frequency. The question is will it reach 20khz or must I rather try using a stepgen? ---