Re: [Emc-users] PWMGEN in PDM mode and not PWM

2015-11-09 Thread Karlsson & Wang
PDM I am pretty sure should be fixed. Then number of pulses increase with increasing speed it may be the encoder signal? On Mon, 09 Nov 2015 12:29:12 + "Marius Liebenberg" wrote: > Hi All > I have a pwmgen setup to take the spindle command to generate a pwm >

Re: [Emc-users] PWMGEN in PDM mode and not PWM

2015-11-09 Thread Marius Liebenberg
Not for a motor but for driving a laser power source. -- Original Message -- From: "Karlsson & Wang" To: "Marius Liebenberg" ; "Enhanced Machine Controller (EMC)" Sent: 2015-11-09 15:57:59

Re: [Emc-users] PWMGEN in PDM mode and not PWM

2015-11-09 Thread Marius Liebenberg
I am not using Halscope but my Digital storage scope on the parport pin. It >> is predictable at all times as far as the number of pulses produced >>for the >> asked percentage of pwm. It increases to pulses for the full duration >>but >> they stay at a small width pulse. Definitely PDM

Re: [Emc-users] PWMGEN in PDM mode and not PWM

2015-11-09 Thread Marius Liebenberg
-- Original Message -- From: "andy pugh" To: "Marius Liebenberg" Cc: "Enhanced Machine Controller (EMC)" Sent: 2015-11-09 15:32:19 Subject: Re: Re[2]: [Emc-users] PWMGEN in PDM mode and not PWM >On 9

Re: [Emc-users] PWMGEN in PDM mode and not PWM

2015-11-09 Thread Marius Liebenberg
I dont know what we will do without Andy. Once again you are right. It was the reset of the parport pin that was used as s tepper driver before. >On 9 November 2015 at 13:40, Marius Liebenberg >wrote: >> I am not using Halscope but my Digital storage scope on the

Re: [Emc-users] PWMGEN in PDM mode and not PWM

2015-11-09 Thread Marius Liebenberg
Hi Andy I have the frequency set at 500Hz without dither. So it is reported as 506.5065Hz from the halshow pins information. -- Original Message -- From: "andy pugh" To: "Marius Liebenberg" ; "Enhanced Machine Controller (EMC)"

Re: [Emc-users] PWMGEN in PDM mode and not PWM

2015-11-09 Thread Marius Liebenberg
Not correct PDM is Pulse Density Modulation. Meaning that the period stays constant at the 1/frequency. The pulse width remains the same but the number of pulses per period changes. The pulse positions also remain static, meaning that if there are only three pulses (30% duty cycle) they will

Re: [Emc-users] PWMGEN in PDM mode and not PWM

2015-11-09 Thread andy pugh
On 9 November 2015 at 13:40, Marius Liebenberg wrote: > I am not using Halscope but my Digital storage scope on the parport pin. It > is predictable at all times as far as the number of pulses produced for the > asked percentage of pwm. It increases to pulses for the full

Re: [Emc-users] PWMGEN in PDM mode and not PWM

2015-11-09 Thread andy pugh
On 9 November 2015 at 13:27, Marius Liebenberg wrote: > I have the frequency set at 500Hz without dither. So it is reported as > 506.5065Hz from the halshow pins information. Is it possible that you are seeing aliasing? Which thread is halscope sampling in? -- atp If

[Emc-users] PWMGEN in PDM mode and not PWM

2015-11-09 Thread Marius Liebenberg
Hi All I have a pwmgen setup to take the spindle command to generate a pwm signal. What I see on my scope is a PDM signal. I.E. the number of pulses increase as I increase the speed. I nee it to be PWM. I tried type=0 and type=1 when I load. Is there naother setting that does not get mentioned

Re: [Emc-users] PWMGEN in PDM mode and not PWM

2015-11-09 Thread andy pugh
On 9 November 2015 at 12:29, Marius Liebenberg wrote: >Is there naother setting that > does not get mentioned in "man"? It is mentioned in the manpage, but you get PDM rather than PWM if you set the PWM base frequency to zero. -- atp If you can't fix it, you don't own

Re: [Emc-users] PWMGEN in PDM mode and not PWM

2015-11-09 Thread Karlsson & Wang
Stepper motor? On Mon, 09 Nov 2015 12:29:12 + "Marius Liebenberg" wrote: > Hi All > I have a pwmgen setup to take the spindle command to generate a pwm > signal. What I see on my scope is a PDM signal. I.E. the number of > pulses increase as I increase the speed.

Re: [Emc-users] could Linux cnc control of unconventional ... hydraulic

2015-11-09 Thread Andrew
2015-11-09 20:16 GMT+02:00 Jon Elson : > On 11/09/2015 02:34 AM, Andrew wrote: > >> there were hydraulic milling machines sold based on Moog hydraulics > >> and Bridgeport iron. I assume those two companies could screw things > >> up, but the world has moved on. To move

Re: [Emc-users] could Linux cnc control of unconventional ... hydraulic

2015-11-09 Thread Dave Cole
Yes, I would be surprised of those cylinders were not special. I remember seeing those machines at GM when I used to work there years ago. They could really beat a car's suspension up and they would run them for days and days to see if stuff would break, tear out, wear out, etc. They were

Re: [Emc-users] 3D Printing Retract Script

2015-11-09 Thread Jeshua Lacock
> On Nov 9, 2015, at 11:53 AM, Viesturs Lācis wrote: > > 2015-11-09 19:47 GMT+02:00 Jeshua Lacock : >> So here is example 3D printer g-code (generated from Slic3r) > > Have you tried "firmware retraction" option in slic3r - IIRC it should > place

Re: [Emc-users] could Linux cnc control of unconventional ... hydraulic

2015-11-09 Thread andy pugh
On 9 November 2015 at 17:37, Dave Cole wrote: > They were really quite violent.I bet that hydraulic power system has > a bunch of accumulators for super fast flow response. That and (in our case) 2000hp of electric motors driving 20 pumps. -- atp If you can't fix

Re: [Emc-users] could Linux cnc control of unconventional ... hydraulic

2015-11-09 Thread Jon Elson
On 11/09/2015 02:34 AM, Andrew wrote: > 2015-11-09 8:49 GMT+02:00 Eric Keller : > >> there were hydraulic milling machines sold based on Moog hydraulics >> and Bridgeport iron. I assume those two companies could screw things >> up, but the world has moved on. To move a long

Re: [Emc-users] 3D Printing Retract Script

2015-11-09 Thread andy pugh
On 9 November 2015 at 17:47, Jeshua Lacock wrote: > It is a shell script that changes instance of "space E digit" with " space A > digit" (as Axis is configured to use A as the 4th axis). This gets me half > way there - the nozzle would close, but I need to add a similar

Re: [Emc-users] could Linux cnc control of unconventional ... hydraulic

2015-11-09 Thread Jon Elson
On 11/08/2015 09:54 PM, TJoseph Powderly wrote: > moog or pegasus. brands, those are the big names. > they were used to move really heavy cast iron slides, often dovetail. > > messy ( plan on leaks and kitty litter ) > the hydraulic supply tops up the volume from a reservoir that you keep full >

Re: [Emc-users] 3D Printing Retract Script

2015-11-09 Thread Viesturs Lācis
2015-11-09 19:47 GMT+02:00 Jeshua Lacock : > So here is example 3D printer g-code (generated from Slic3r) Have you tried "firmware retraction" option in slic3r - IIRC it should place particular command for prime and retract moves, which you can easily "find & replace" by any

[Emc-users] 3D Printing Retract Script

2015-11-09 Thread Jeshua Lacock
Greetings, I am about to print Hello World on what is likely the world’s second optical glass 3D printer command by LinuxCNC. My blog on the subject is here: http://glassprinted.com Unlike the world’s first, I have a mechanical nozzle actuator that I need to close (on retract g-code) and

Re: [Emc-users] could Linux cnc control of unconventional ... hydraulic

2015-11-09 Thread andy pugh
On 9 November 2015 at 15:32, Dave Cole wrote: > I've done quite a bit of hydraulic servo work for custom machines. > You can use regular industrial cylinders for positioning. I imagine that the reason that fatigue testing machines use hydrostatic cylinders is that they

Re: [Emc-users] could Linux cnc control of unconventional ... hydraulic

2015-11-09 Thread andy pugh
Just for interest's sake, here is a 6DOF vehicle simulator in action. It might recalibrate your ideas of how fast hydraulics can move: https://www.youtube.com/watch?v=83PsmzwkVSs -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto

Re: [Emc-users] could Linux cnc control of unconventional ... hydraulic

2015-11-09 Thread Dave Cole
On 11/9/2015 5:37 AM, andy pugh wrote: > On 9 November 2015 at 03:54, TJoseph Powderly wrote: >> messy ( plan on leaks and kitty litter ) >> the hydraulic supply tops up the volume from a reservoir that you keep full >> these are really really beefy systems. > Indeed, the power

Re: [Emc-users] 3D Printing Retract Script

2015-11-09 Thread Jeshua Lacock
> On Nov 9, 2015, at 10:47 AM, Jeshua Lacock wrote: > > I am about to print Hello World on what is likely the world’s second optical > glass 3D printer command by LinuxCNC. P.S. I don’t know what the first one is controlled from.

Re: [Emc-users] 3D Printing Retract Script

2015-11-09 Thread Jeshua Lacock
> On Nov 9, 2015, at 12:51 PM, Ralph Stirling > wrote: > > Jeshua, > > Here is a very un-clever perl script that will do what you > want. It is lacking in generality, but should suffice for now. > You probably want to make it executable if you are going > to

Re: [Emc-users] 3D Printing Retract Script

2015-11-09 Thread Jeshua Lacock
> On Nov 9, 2015, at 11:59 AM, andy pugh wrote: > > On 9 November 2015 at 17:47, Jeshua Lacock wrote: > >> It is a shell script that changes instance of "space E digit" with " space A >> digit" (as Axis is configured to use A as the 4th axis). This gets

Re: [Emc-users] 3D Printing Retract Script

2015-11-09 Thread Ralph Stirling
Jeshua, Here is a very un-clever perl script that will do what you want. It is lacking in generality, but should suffice for now. You probably want to make it executable if you are going to have it run automatically from the linuxcnc ini file. If the mailing list strips perl attachments, I can

Re: [Emc-users] 3D Printing Retract Script

2015-11-09 Thread andy pugh
On 9 November 2015 at 19:12, Jeshua Lacock wrote: >> So, what is the criterion for spotting the difference between a rapid >> and a feed? You lines marked "rapid" have bigger F-numbers than the >> non-rapids. > > Correct that would be the criteria for rapid - which could be set

Re: [Emc-users] 3D Printing Retract Script

2015-11-09 Thread Jeshua Lacock
> On Nov 9, 2015, at 12:23 PM, andy pugh wrote: > > On 9 November 2015 at 19:12, Jeshua Lacock wrote: >>> So, what is the criterion for spotting the difference between a rapid >>> and a feed? You lines marked "rapid" have bigger F-numbers than the >>>

[Emc-users] could Linux cnc control of unconventional ... hydraulic

2015-11-09 Thread Roland Jollivet
I don't see why it has be this way. Running a pump at full power past a valve sounds daft. That's why the new pressbrakes, presses and injection moulding machines use servo hydraulics. Simply put, you have a gear pump, and both ends go to a cylinder. Turn one way, rod extends. Turn other way, rod

Re: [Emc-users] could Linux cnc control of unconventional mill design like this and general thoughts and comments.

2015-11-09 Thread linden
Yes I have been playing with the FEM work bench in freecad. There is also a full blown FEA program from the french power company EDF it is open source and used to build all the french nuclear reactors and hydro electric projects so it is very robust and well audited. It is written in fortran

Re: [Emc-users] could Linux cnc control of unconventional ... hydraulic

2015-11-09 Thread Andrew
2015-11-09 8:49 GMT+02:00 Eric Keller : > there were hydraulic milling machines sold based on Moog hydraulics > and Bridgeport iron. I assume those two companies could screw things > up, but the world has moved on. To move a long distance takes a lot > of power. Small

Re: [Emc-users] could Linux cnc control of unconventional ... hydraulic

2015-11-09 Thread Karlsson & Wang
> 2015-11-09 8:49 GMT+02:00 Eric Keller : > > > there were hydraulic milling machines sold based on Moog hydraulics > > and Bridgeport iron. I assume those two companies could screw things > > up, but the world has moved on. To move a long distance takes a lot > > of power.

Re: [Emc-users] could Linux cnc control of unconventional ... hydraulic

2015-11-09 Thread andy pugh
On 9 November 2015 at 03:54, TJoseph Powderly wrote: > messy ( plan on leaks and kitty litter ) > the hydraulic supply tops up the volume from a reservoir that you keep full > these are really really beefy systems. Indeed, the power pack for my testing machine was contained in

Re: [Emc-users] 3D Printing Retract Script

2015-11-09 Thread linden
sorry I cant help you with your g code and scripting but your machine looks cool wish i could see it in person On 15-11-10 01:47 AM, Jeshua Lacock wrote: > Greetings, > > I am about to print Hello World on what is likely the world’s second optical > glass 3D printer command by LinuxCNC. My blog

Re: [Emc-users] could Linux cnc control of unconventional ... hydraulic

2015-11-09 Thread Dave Cole
On 11/9/2015 4:55 PM, Andrew wrote: > 2015-11-09 20:16 GMT+02:00 Jon Elson : > >> On 11/09/2015 02:34 AM, Andrew wrote: there were hydraulic milling machines sold based on Moog hydraulics and Bridgeport iron. I assume those two companies could screw things