Re: [Emc-users] #ifdef

2021-06-16 Thread John Dammeyer
Thanks Phil, I just broke it and lost pulses to the spindle. Went back and commented in the other direction and I have my spindle back. Who would have thought this was so hard... John > -Original Message- > From: Phill Carter [mailto:phillcarte...@gmail.com] > Sent: June-16-21 10:45

Re: [Emc-users] #ifdef

2021-06-16 Thread Phill Carter
> On 17 Jun 2021, at 2:47 pm, John Dammeyer wrote: > > Not sure I understand. Say for example the existing HAL file has this: > > net spindle-vel-fb-rps <= hm2_7i92.0.stepgen.05.velocity-fb > > But now I'm trying to get the HAL file correct so LinuxCNC starts without > errors. > >

[Emc-users] Running 440V 3PH 2 speed motor off 220V 3PH or 1PH?

2021-06-16 Thread Roland Jollivet
If you have some transformers lying around you could stack the secondaries to get 440V They don't need to be step-up, just sum the secondaries. You need to have them all in phase obviously. Then use a small, single phase 440V VFD Most VFD's under 1Hp accept single or 3ph, but I don't know about

Re: [Emc-users] #ifdef

2021-06-16 Thread John Dammeyer
Not sure I understand. Say for example the existing HAL file has this: net spindle-vel-fb-rps <= hm2_7i92.0.stepgen.05.velocity-fb But now I'm trying to get the HAL file correct so LinuxCNC starts without errors. net spindle-vel-fb-rps <= hm2_7i92.0.encoder.01.velocity

Re: [Emc-users] #ifdef

2021-06-16 Thread Chris Albertson
What you are asking for is a macro pre-processor for HAL files.There is nothing stopping you from doing this. I think most Linux distributions come with "m4" installed. But be warned that you just might get what you asked for. Software that uses a macro preprocessor is notoriously hard to

Re: [Emc-users] #ifdef

2021-06-16 Thread Phill Carter
> On 17 Jun 2021, at 2:03 pm, John Dammeyer wrote: > > Is there something like an > > #ifdef > #else > #endif > > in HAL files? > Thanks > John No, but it is possible to use HALTCL files.

[Emc-users] #ifdef

2021-06-16 Thread John Dammeyer
Is there something like an #ifdef #else #endif in HAL files? Thanks John "ELS! Nothing else works as well for your Lathe" Automation Artisans Inc. www dot autoartisans dot com ___ Emc-users mailing list

Re: [Emc-users] Master builds

2021-06-16 Thread jrmitchellj
I knew when Wheezy went off support I would need to renew the system hardware. The current mobo is an Intel Atom D510, so barely enough to do the job. The new mobo is an ASRock with i5 processor, and a new 6i25 Mesa card. A holiday weekend project, If I can just find that "round-tuit". --J. Ray

Re: [Emc-users] Running 440V 3PH 2 speed motor off 220V 3PH or 1PH?

2021-06-16 Thread andy pugh
On Mon, 14 Jun 2021 at 23:56, andy pugh wrote: > Re-configure the input stage as a Delon doubler rather than a simple > rectifier / smoothing cap setup. Actually, don't, the Chinese have started doing it for you: https://www.ebay.co.uk/itm/164887301963 -- atp "A motorcycle is a bicycle with a

Re: [Emc-users] Setting of maximum velocity and acceleration in ini file

2021-06-16 Thread Peter C. Wallace
On Wed, 16 Jun 2021, suraj kumar wrote: Date: Wed, 16 Jun 2021 18:04:28 +0530 From: suraj kumar Reply-To: "Enhanced Machine Controller (EMC)" To: emc-users@lists.sourceforge.net Subject: [Emc-users] Setting of maximum velocity and acceleration in ini file Dear Forum, I see, I have to

[Emc-users] Setting of maximum velocity and acceleration in ini file

2021-06-16 Thread suraj kumar
Dear Forum, I see, I have to set the maximum velocity and acceleration in ini file at more than one place, like in [DISPLAY], [TRAJ], [AXIS_X], [JOINT_0]. I can also see in [JOINT_0], I need to set two times, one for Max velocity and acceleration and another for STEPGEN MAXVEL and MAXACCEL (25%

Re: [Emc-users] Spindle Control

2021-06-16 Thread Gregg Eshelman via Emc-users
Use green sand, not dry sand. https://www.youtube.com/results?search_query=lost+pla+casting+green+sand On Tuesday, June 15, 2021, 10:27:15 AM MDT, John Dammeyer wrote: Hi Greg I've tried the lost foam method in dry sand.  Outside.  Can't stand the smell of the sand afterwards.

Re: [Emc-users] Spindle Control

2021-06-16 Thread andy pugh
On Wed, 16 Jun 2021 at 00:54, John Dammeyer wrote: > What about for power tapping then. Is there even a need for an encoder or > does it still require that index pulse and spindle feedback? In theory you can power-tap with a stepper spindle and no encoder. In practice it is likely to be a lot