CAD CAM EDM DRO - Yahoo Group Archive

Re: RE: setting up EMC

Posted by Ray Henry
on 2002-07-23 06:19:29 UTC
Terry

Just a couple of additions to John's excellent advice. I noticed that
you typed freqmod.0 rather than freqmod.o it is a vowel rather than a
number after the dot.

In order to run the EMC as a user rather than root, you will need to
change the permissions on a few files. These are detailed in an FAQ on
the www.linuxcnc.org site. That faq needs to be updated for the TNG or
for any EMC running under the rtai extensions. You might also try
opening a terminal and move into the emc directory. That is where you
must start the emc from.

cd /usr/local/emc

if this is a BDI. Then issue the super user command su and when it asks
for root's password type it in. Don't freak when you get no response to
the password keystrokes. It's a feature! <g>

HTH

Ray

>    Date: Mon, 22 Jul 2002 22:20:21 -0400
>    From: "John Guenther" <j.guenther@...>
> Subject: RE: setting up EMC
>
> Hi Terry,
>
> First off, you will need to uncomment the PERIOD parameter if you are
> using freqmod.o and I suggest something less than the 0.0005 it is
> currently set for.  Try something like 0.00025 for a starter.  It is
> wrong the screen will not update with reasonable response, that is the
> mouse pointer is very slow / jerky.
>
> With freqmod.o you will also need the INPUT_SCALE and OUTPUT_SCALE
> values to be the same.  Set them to the number of steps per inch for
> your machine. You will also need to reduce the values in MAX_VELOCITY,
> MAX_ACCELERATION and DEFAULT_ACCELERATION.  Try 0.20, 0.50 and 0.50
> respectively for these values.  These will not be optimal, but they
> should get  you some motion.
>
> John Guenther
> Sterling, Virginia
>
> > -----Original Message-----
> > From: terrytwombly [mailto:ttwombly@...]
> > Sent: Monday, July 22, 2002 22:03
> > To: CAD_CAM_EDM_DRO@yahoogroups.com
> > Subject: [CAD_CAM_EDM_DRO] setting up EMC
> >
> >
> > First off a big thank you for any and all help.
> > Terry Twombly
> > ttwombly@...
> >
> > Ok forget about setting up my mill with EMC now, I just want to have
> > EMC make some steppers move. What I did this weekend is copied the
> > simulation .ini into the EMC .ini changed a few things like,
> > (realtime which is what I want) ( freqmode.0, I believe I need this
> > so I can hook up my linear Encoders) and I believe to only other
> > thing, I had to change the, ENABLE_POLARITY = 0,
> > MIN_LIMIT_SWITCH_POLARITY =0.
> > MAX_LIMIT_SWITCH_POLARITY = 0,  HOME_SWITCH_POLARITY = 0.  I have the
> > computer hooked up to a step, direction controller that I made with
> > three stepper motors, I have nothing else hooked up. I am trying to
> > get EMC to talk to the steppers and make them move, then I will come
> > back and reset the EMC.ini for the mill.
> >
> > My system is a cheapo tower and board with a 266 AMD and 30M ram
> > memory,with BDI working.
> >
> >  I entered into the console (konsole).  I can not go anywhere
> > clicking on the icon on the desk top and I do hope that we can fix
> > that to. So I used the konsole and hear is what is happening.
> >
> > FROM ROOT   and it only works from root It will not work from a
> > konsole from the desk top.

Discussion Thread

terrytwombly 2002-07-22 19:02:49 UTC setting up EMC John Guenther 2002-07-22 19:20:06 UTC RE: [CAD_CAM_EDM_DRO] setting up EMC Jon Elson 2002-07-22 21:32:57 UTC Re: [CAD_CAM_EDM_DRO] setting up EMC Ray Henry 2002-07-23 06:19:29 UTC Re: RE: setting up EMC dakota8833 2002-07-23 12:40:31 UTC Re: setting up EMC terrytwombly 2002-07-23 17:51:16 UTC setting up EMC Jon Elson 2002-07-23 23:23:13 UTC Re: [CAD_CAM_EDM_DRO] setting up EMC