¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io
Date

Re: Linux vs. DOS

 

On Sat, 29 May 1999 12:16:11 +0100, you wrote:


From: Andrew Werby <drewid@...>

[I just got my new (old) mill delivered yesterday, and it's really a beast!
This is a Ramco "Ramill", built to be a CNC mill in the mid-eighties. It
has servo motors and ballscrews, which should save me some time and money
over retrofitting an old Bridgeport, which was my first idea. Currently, it
will accept instructions in g-code, either from the attached keyboard or
from a tape drive. But I'd like to convert it to a more modern control
system which wouldn't be limited to 999 instructions- some of the progams
I've been generating run over 2 megs, (and I'm just getting started.) I
think I can save the servo amplifiers and most of the relay switches, while
gutting out the old computer and attaching a standard monitor. I'd be happy
with something that ran in real time under DOS, if it could handle g-code.

The only thing it sounds like you'd need to buy would be the
Servo-to-Go card, and maybe a rack of solid-state relays to
drive the auxilliary stuff.
Andrew,
Contary to popular opinion the Ahha controllers can now control servo's.
As you already have a working controller you should be able to hook up to your
existing servo amps and save the cost of a servo card.
I went this way with my conversion as with all the help I received from the UK
agent for Ahha it made it quick and painless, especially for someone like myself
who is not capable of working these thing out for himself.
Added to the fact that I needed this machine up and working to earn a living I
didn't have the time to experiment.
In fact from start to actually getting the machine under power took less than 5
hours.
I don't believe that Ahha web site has been updated for quite a while but the
servo work is actually being carried out by the Uk agents, Eagland Machine
Tools.
They have a web site at www.eagland.co.uk

Regards,
John Stevenson
Nottingham, England


ENDMILL SHARPENING

Robert Allan <[email protected]
 

U.K. LISTEES
HI BARRY,
Try SCORPION TOOLING 01453 751 511
OR E-MAIL chris.wands@...
BEST REGARDS
--
Robert Allan


Home made CNCs homepage..

 

Hello everybody. For those of you who are interested in small CNCs and the
MiniMill (and other projects to come..), Please check the folowing URL. New drawings and pictures added reacently.


If any of you have any projects of your own (whatever type as long as it
fits in the category "Home-made CNC") that you want to share with others,
please send me info, pictures, plans, drawings, URLs or what ever you might
have and I will try to put it on the minicnc page (this page will move to a
better location sometime soon, but until then the ugly URL ~u605.... will
have to do).

Mail me at peter.flodin@...

Have a nice weekend everybody.

Peter Flodin /// Sweden


Re: DRO boards

Tom Kulaga
 

I have placed the order for a batch of Printed circuit boards for the -2/4
axis DRO boards. I should have them in 21 days. The quoted price per board
plus the $200 tooling charge makes each board cost ~$15-$16 each. Not bad.
It should make the assembly really easy.
In any case I have a list of those that have ordered boards. They will have
first shot at them. Right now I have 35 boards on order which gives a few
spares.
Wow, 15-16 bucks for the board? That's pretty good. The encoder
chips from US Digital are only $23 each, the 74LS138's are less than
50 cents, as are the capacitors, and sockets aren't too expensive
from Jameco or Digikey... How much to get the connector
parts you're using? I know you said you changed from the ones that I
chose. Add in linear encoders and reader heads for around 50-60 bucks
per axis, and this is looking pretty economical. I had expected
around $50 for the PCB.

Tom Kulaga gets a free board for coming up with the concept, the
software and the schematic.
Hey, thanks! I guess this is a bribe to keep me updating it, huh? ;)
Speaking of which, did I send you the version with rotary table and
metric support? I don't have a four axis board here, so I was hoping
you could test it for me before I post it on the webpage.

-Tom Kulaga


Re: DRO boards

Tom Kulaga
 

Tom:

I am just new to the list so I missed out on some earlier discussion of
your DRO project. I scanned your WEB page, I think it was yours, But I
seemed to have missed what type of encoders you are using and or
support. How about building your own using a type setter to make a film
grid.
If you're interested, you can dig through the list archives (I don't
have a good enough memory to summarize it all ;). I can answer the
encoder question though. The board will work with rotary or linear
optical encoders, and will support backlash compensation for rotary
encoders in the near future.

As far as building my own encoder, well, I've got exactly zero
experience with this. If you can come up with the strip, the
electronics aren't too bad. You'd also need to make a mask for the
reader head, but if you can handle the strip, the mask is about the
same. Boy, build the card, build the encoders... just build yourself
a mill and you'd be the king of the DIY crowd! :)

-Tom Kulaga


Re: DRO boards

Tom Kulaga
 

From what I can see of this project using the US Digital Linear strips is the
best option.
I would like to use one for a lathe application but bearing in mind that you
need 1/2 switching even an application that can get 0.001" on a miller will be
reduced to 0.002" on a lathe.
Am I right on this one??
Yes, you're right about that. One option is to try out the system
with the USD encoders, then upgrade to a high-resolution version from
somewhere like Heidenhain or similar. I have seen just the encoders
being sold in MSC's catalog, but I don't know if they have quadrature
output. If you need a list of places to get high quality encoders,
email me, I have a few links I can dig up and send you. Oh, and I've
used linear encoders in resolutions as fine as 1 micron (around 40
millionths!) and I'm pretty sure it gets smaller than that, so if you
want to spend the cash, the performance can be yours :)

I read the US Digital web site page and they advertise as making custom
resolutions up. Has anybody asked them for something that will run with this
package to give something like 0.005" resolution ??
The limiting factor here is the reader heads. Making the strips is
pretty easy from what I understand. USD gets the heads from Hewlett
Packard, and I think it would be a big deal to get them to make up
a custom head. If we can find a vendor with a head (of any brand) in
the resolution we want, I think we could get a package deal going
with USD to tool up the linear strips. I've been researching this
option, but I haven't made much progress. It's really weird, but you
just can't find linear encoder parts in the resolutions that we all
want (.0002, .0005, etc). The only real option is to buy the entire
encoder assembled to the length you need. And of course, this is not
a very low-cost option. Bummer.

Will there be a keyboard input option on your final project.
So that you will be able to key in a size and count down to zero.
I saw an option the other day on the web that uses rotary encoders, might give
some people food for thought. Site is at
You bet there will be. In fact, on the SVGA version, there's even an
option for multiple, selectable origins. Not useful all the time,
but it was easy to code, so I put it in there. The text-based version
was originally meant to be a test bed, but it looked so good I decided
to get it polished before continuing with the graphics stuff.
---------------------------------------------------------------------

Regards,
John Stevenson
Nottingham, England


Re: DRO boards

Dan Mauch
 

Yes .I will need to get a cost but the assembly cost should not be over $15.
Dan

-----Original Message-----
From: Brian Fairey <bfairey@...>
To: CAD_CAM_EDM_DRO@... <CAD_CAM_EDM_DRO@...>
Date: Friday, May 28, 1999 6:08 PM
Subject: Re: [CAD_CAM_EDM_DRO] DRO boards


From: Brian Fairey <bfairey@...>

Dan, next question, have you found someone to populate the boards?
Brian.

Dan Mauch wrote:

From: "Dan Mauch" <dmauch@...>

I have placed the order for a batch of Printed circuit boards for
the -2/4
axis DRO boards. I should have them in 21 days. The quoted price per
board
plus the $200 tooling charge makes each board cost ~$15-$16 each. Not
bad.
It should make the assembly really easy.
In any case I have a list of those that have ordered boards. They will
have
first shot at them. Right now I have 35 boards on order which gives a few
spares.
Tom Kulaga gets a free board for coming up with the concept, the
software and the schematic.
Dan
-----Original Message-----
From: Buchanan, James (Jim) <jambuch@...>
To: CAD_CAM_EDM_DRO@... <CAD_CAM_EDM_DRO@...>
Date: Wednesday, May 26, 1999 6:08 PM
Subject: Re: [CAD_CAM_EDM_DRO] DRO boards

From: "Buchanan, James (Jim)" <jambuch@...>

Tom:

I am just new to the list so I missed out on some earlier discussion of
your DRO project. I scanned your WEB page, I think it was yours, But I
seemed to have missed what type of encoders you are using and or
support. How about building your own using a type setter to make a film
grid.

Thanks
--
James Buchanan
Lexington, Kentucky (The Blue Grass State) USA
Two Truck Climax Locomotive Operator & Builder

------------------------------------------------------------------------
ONElist: where real people with real interests get connected.

Join a new list today!
------------------------------------------------------------------------
welcome to CAD_CAM_EDM_DRO@..., an unmodulated list for the
discussion of shop built systems in the above catagories.
------------------------------------------------------------------------
Congratulations to "M-K-ROSES," our latest ONElist of the Week.

Visit our homepage and share with us how ONElist is changing YOUR life!
------------------------------------------------------------------------
welcome to CAD_CAM_EDM_DRO@..., an unmodulated list for the
discussion of shop built systems in the above catagories.


------------------------------------------------------------------------
Campaign 2000 is here!

Discuss your thoughts; get informed at ONElist. See our homepage.
------------------------------------------------------------------------
welcome to CAD_CAM_EDM_DRO@..., an unmodulated list for the
discussion of shop built systems in the above catagories.


Re: Lap Top Computer as CNC Controller

Dan Mauch
 

Lap tops have funny grounding. If you use the parallel port you may run into
problems. usually a 486-66 is plenty computer for most home cnc programs.
Dan

-----Original Message-----
From: Donald Rothfuss <redfoot@...>
To: CAD_CAM_EDM_DRO@... <CAD_CAM_EDM_DRO@...>
Date: Friday, May 28, 1999 3:38 PM
Subject: [CAD_CAM_EDM_DRO] Lap Top Computer as CNC Controller


From: Donald Rothfuss <redfoot@...>

I'm lurking trying to learn about homemade DROs and CNC to see if I want to
modify my Millrite. Would a Lap Top Pentium be a suitable machine for this
application? I have a very small shop and a lap top would sure solve the
space problem.

Regards,

Donald A. Rothfuss
Mercer Island, WA 98040
(206) 232-4397
redfoot@...

------------------------------------------------------------------------
It's finally here! What's your opinion?

Create a Star Wars discussion group at ONElist.
------------------------------------------------------------------------
welcome to CAD_CAM_EDM_DRO@..., an unmodulated list for the
discussion of shop built systems in the above catagories.


Linux vs. DOS

Andrew Werby
 

Jon Elson <jmelson@...> wrote:

Andrew Werby wrote:

From: Andrew Werby <drewid@...>

[I just got my new (old) mill delivered yesterday, and it's really a beast!
This is a Ramco "Ramill", built to be a CNC mill in the mid-eighties. It
has servo motors and ballscrews, which should save me some time and money
over retrofitting an old Bridgeport, which was my first idea. Currently, it
will accept instructions in g-code, either from the attached keyboard or
from a tape drive. But I'd like to convert it to a more modern control
system which wouldn't be limited to 999 instructions- some of the progams
I've been generating run over 2 megs, (and I'm just getting started.) I
think I can save the servo amplifiers and most of the relay switches, while
gutting out the old computer and attaching a standard monitor. I'd be happy
with something that ran in real time under DOS, if it could handle g-code.
I would suggest EMC. It runs under Linux, but Linux offers total MSDOS
file system compatibility. You can run text-based DOS programs in an
emulator window, as well as read and write DOS floppies directly in
Linux. In fact, if you mount a DOS floppy before starting EMC (or
later, using another window) you could execute a G-code program
directly off the floppy, if you wanted to.

The reason DOS is unacceptable, is that it is NOT a real-time environment.
Yes, it seems pretty real time to us slow humans, but for a motion
control system with a 1 KHz servo update rate (or better) DOS is
most emphatically NOT real-time. You would have to place hooks
on every interrupt entry point and write your own real-time
scheduler to get guaranteed priority for the realtime task. But,
the worst part is that the DOS environment is not secure!
Any haywire program could overwrite the motion control
code or data areas, and cause a hazardous crash! I sure wouldn't
use such a system!

[Oh. I really don't know anything about Linux, but it seems intimidating.
All the problems with "kernels", whatever they are, seem like they would
take over my life. I read some previous discussion here on the fine points
of running Linux , and I didn't understand thing one. Is there no
alternative? Does NT run in real time? Has anybody built a graphical user
interface for Linux that makes it more user-friendly? Is there a Linux for
Dummies?]

See my page at :
and

For EMC itself, see :


The software is available for download from the web.

The only thing it sounds like you'd need to buy would be the
Servo-to-Go card, and maybe a rack of solid-state relays to
drive the auxilliary stuff.

[Would that be better than leaving the old relays in place? Also, can you
tell me why there's a strong smell of methyl mercaptans in the mill's
control box? If I didn't know better, I'd swear it was leaking natural
gas...]

Servo-to-Go is at :

If you have any questions, feel free to email me.

Jon

[If you'd rather, we could take this off-list, but it seemed we were still
discussing things of general interest, so I'm replying in "public". The 8
axis Servo-to go card sounds interesting at $888 - it certainly beats
paying $1500 per axis. They mention running NT in conjunction with their
card, and something about how it (and DOS) can be induced not to interrupt-
do you know anything about this? They also talk about writing your own
algorithms, though- so I'm not sure how hard this would be. ]

Andrew Werby

Andrew Werby - United Artworks
Sculpture, Jewelry, and Other Art Stuff


Re: Linear bearing types?

Don Hughes
 

For my applications, a vector-drawing machine was no good. I did
build a light-beam writing pen for my large Calcomp pen plotter, but
it really was a horror, and somewhat of a waste of time. I did use
it while some conceptual and laser light source problems were being
worked out, but the performance was pretty poor.

My original plan, which is now fully operational and performing very
well, was a raster drawing plotter. I wrap the film around a drum,
which is conveniently machined to such a diameter that a multiple
of the shaft encoder's pulses comes to a nice unit measured on the
circumference of the drum. I used a drum such that the film's
sensitive layer is at a diameter of 6.519". 6.519" x Pi = 20.480"
If you had a shaft encoder with 20480 pulses per revolution, that
would give 1000 pulses per inch. So, I got a 1024 pulse encoder,
and attached a digital phase locked loop chip to multiply the encoder
pulses by 20. It works very well, although several 'experts' told
me it would be a cold day in hell before I ever got a PLL multiplier
to work on a mechanical system.

I have an optical carriage that slides on 2 1/2" hardened and ground
shafts, on 3 Thompson linear bearings. The carriage is moved by
a 5 TPI Kerk leadscrew with plastic anti-backlash nut. It works
quite well, too. I had a cheap ballscrew without antibacklash on
it before, and the positioning was erratic, due to the backlash.
I use a 200 steps/rev stepper motor to move the carriage in
.001" increments.


Jon
Jon:

The reason I need the flatbed is to stationary mount the CO2 laser
outside the flatbed and run the optics/mirrors to the cutting head. By
doing this I can run it off HPGL files from inside AutoCAD's plot
function by using the pen colors for the strength(depth of cut) of the
laser and the pen up/down to turn on/off the laser. Your system does
sound like it solved you're problems, but now that I have explained
this, you can see why it would not be good for me cutting wood parts.
So, the search continues for an old flatbed plotter of 'D' size or
larger. If anyone knows of one about that they would like to part ways
with, please give them my email addie. I am also open to any other ideas
that our members may have if I can't find such a plotter. (maybe
construct a flat surface and use a printer driver on rails or
something...??)

Regards,

Don Hughes
Vancouver, BC Canada.

------------------------------------------------------------------------
ONElist members are using Shared Files in great ways!

Are you? If not, see our homepage for details.
------------------------------------------------------------------------
welcome to CAD_CAM_EDM_DRO@..., an unmodulated list for the discussion of shop built systems in the above catagories.


Re: DRO boards

Brian Fairey
 

Dan, next question, have you found someone to populate the boards?
Brian.

Dan Mauch wrote:

From: "Dan Mauch" <dmauch@...>

I have placed the order for a batch of Printed circuit boards for the -2/4
axis DRO boards. I should have them in 21 days. The quoted price per board
plus the $200 tooling charge makes each board cost ~$15-$16 each. Not bad.
It should make the assembly really easy.
In any case I have a list of those that have ordered boards. They will have
first shot at them. Right now I have 35 boards on order which gives a few
spares.
Tom Kulaga gets a free board for coming up with the concept, the
software and the schematic.
Dan
-----Original Message-----
From: Buchanan, James (Jim) <jambuch@...>
To: CAD_CAM_EDM_DRO@... <CAD_CAM_EDM_DRO@...>
Date: Wednesday, May 26, 1999 6:08 PM
Subject: Re: [CAD_CAM_EDM_DRO] DRO boards

From: "Buchanan, James (Jim)" <jambuch@...>

Tom:

I am just new to the list so I missed out on some earlier discussion of
your DRO project. I scanned your WEB page, I think it was yours, But I
seemed to have missed what type of encoders you are using and or
support. How about building your own using a type setter to make a film
grid.

Thanks
--
James Buchanan
Lexington, Kentucky (The Blue Grass State) USA
Two Truck Climax Locomotive Operator & Builder

------------------------------------------------------------------------
ONElist: where real people with real interests get connected.

Join a new list today!
------------------------------------------------------------------------
welcome to CAD_CAM_EDM_DRO@..., an unmodulated list for the
discussion of shop built systems in the above catagories.
------------------------------------------------------------------------
Congratulations to "M-K-ROSES," our latest ONElist of the Week.

Visit our homepage and share with us how ONElist is changing YOUR life!
------------------------------------------------------------------------
welcome to CAD_CAM_EDM_DRO@..., an unmodulated list for the discussion of shop built systems in the above catagories.


Re: DRO boards

 

On Tue, 25 May 1999 19:44:48 -0700, you wrote:

From: Tom Kulaga <tkulaga@...>

Subject: Re: DRO boards.

I have gotten enough email to decide to go ahead and order the boards for
the 4 axis DRO. I will have 30 made even tho I only have orders for 20.
There will be other newsgroups that will be interested.
Dan
Have you considered getting together a group purchase at US Digital?
They do offer pretty decent discounts for volume purchases, and
considering you're looking at 20-30 LS7266 chips, you could save
yourselves a couple of bucks. In fact, if you decide to go that
route, put me down for 1 of those chips. :)

Of course, it's a major hassle handling the money side of this, so if
you'd rather not, I for one understand completely.
Tom ,

From what I can see of this project using the US Digital Linear strips is the
best option.
I would like to use one for a lathe application but bearing in mind that you
need 1/2 switching even an application that can get 0.001" on a miller will be
reduced to 0.002" on a lathe.
Am I right on this one??
I read the US Digital web site page and they advertise as making custom
resolutions up. Has anybody asked them for something that will run with this
package to give something like 0.005" resolution ??

Will there be a keyboard input option on your final project.
So that you will be able to key in a size and count down to zero.
I saw an option the other day on the web that uses rotary encoders, might give
some people food for thought. Site is at

Regards,
John Stevenson
Nottingham, England


Lap Top Computer as CNC Controller

Donald Rothfuss
 

I'm lurking trying to learn about homemade DROs and CNC to see if I want to
modify my Millrite. Would a Lap Top Pentium be a suitable machine for this
application? I have a very small shop and a lap top would sure solve the
space problem.

Regards,

Donald A. Rothfuss
Mercer Island, WA 98040
(206) 232-4397
redfoot@...


Re: My new mill

Jon Elson
 

Andrew Werby wrote:

From: Andrew Werby <drewid@...>

[I just got my new (old) mill delivered yesterday, and it's really a beast!
This is a Ramco "Ramill", built to be a CNC mill in the mid-eighties. It
has servo motors and ballscrews, which should save me some time and money
over retrofitting an old Bridgeport, which was my first idea. Currently, it
will accept instructions in g-code, either from the attached keyboard or
from a tape drive. But I'd like to convert it to a more modern control
system which wouldn't be limited to 999 instructions- some of the progams
I've been generating run over 2 megs, (and I'm just getting started.) I
think I can save the servo amplifiers and most of the relay switches, while
gutting out the old computer and attaching a standard monitor. I'd be happy
with something that ran in real time under DOS, if it could handle g-code.
I would suggest EMC. It runs under Linux, but Linux offers total MSDOS
file system compatibility. You can run text-based DOS programs in an
emulator window, as well as read and write DOS floppies directly in
Linux. In fact, if you mount a DOS floppy before starting EMC (or
later, using another window) you could execute a G-code program
directly off the floppy, if you wanted to.

The reason DOS is unacceptable, is that it is NOT a real-time environment.
Yes, it seems pretty real time to us slow humans, but for a motion
control system with a 1 KHz servo update rate (or better) DOS is
most emphatically NOT real-time. You would have to place hooks
on every interrupt entry point and write your own real-time
scheduler to get guaranteed priority for the realtime task. But,
the worst part is that the DOS environment is not secure!
Any haywire program could overwrite the motion control
code or data areas, and cause a hazardous crash! I sure wouldn't
use such a system!

See my page at :
and

For EMC itself, see :


The software is available for download from the web.

The only thing it sounds like you'd need to buy would be the
Servo-to-Go card, and maybe a rack of solid-state relays to
drive the auxilliary stuff.

Servo-to-Go is at :

If you have any questions, feel free to email me.

Jon


Re: Stepster

 

In a message dated 5/27/99 11:34:42 PM Pacific Daylight Time,
DRigotti@... writes:


Download .981. Its DOS...BUT you can run it in a window!
Read the Readme....
Thank you for the pointer. I have downloaded it, and printed the readme, so
can start studying.
What program is suggested for the lathe? Could Stepster be used by only
using the X and Z axis? Making allowances for radius/diameter.
Also does anyone on the list have a copy of the schematic that is referred to
in the Stepster comments? If so would it be possible to get a copy?
bill


Low tech bearing types

James Eckman
 

From: groehm@... (Geoff Roehm)
Subject: Re: Linear bearing types

Thanks for the input on babbit bearings. It looks as if the question
is academic for me, since I've just ordered some hefty linears.

However, I do think babbit might be a good choice for those on a very
limited budget, or with no access to precision machining equipment.
---------------------------------------------
POURING BABBET for a Little Giant Trip Hammer
By Ralph J. Sproul
Bear Hill Blacksmith


Metal Babbit Bearing Book (PDF format)

---------------------------------------------
Don't forget those oil impregnated bronze bushings, steel in aluminum
bearings, steel on brass and apple or maple wood bearings! Use what
works in your application. NC doesn't mean Hi Tech nowadays ;)

Jim Eckman


Re: DRO boards

Dan Mauch
 

I have placed the order for a batch of Printed circuit boards for the -2/4
axis DRO boards. I should have them in 21 days. The quoted price per board
plus the $200 tooling charge makes each board cost ~$15-$16 each. Not bad.
It should make the assembly really easy.
In any case I have a list of those that have ordered boards. They will have
first shot at them. Right now I have 35 boards on order which gives a few
spares.
Tom Kulaga gets a free board for coming up with the concept, the
software and the schematic.
Dan

-----Original Message-----
From: Buchanan, James (Jim) <jambuch@...>
To: CAD_CAM_EDM_DRO@... <CAD_CAM_EDM_DRO@...>
Date: Wednesday, May 26, 1999 6:08 PM
Subject: Re: [CAD_CAM_EDM_DRO] DRO boards


From: "Buchanan, James (Jim)" <jambuch@...>

Tom:

I am just new to the list so I missed out on some earlier discussion of
your DRO project. I scanned your WEB page, I think it was yours, But I
seemed to have missed what type of encoders you are using and or
support. How about building your own using a type setter to make a film
grid.

Thanks
--
James Buchanan
Lexington, Kentucky (The Blue Grass State) USA
Two Truck Climax Locomotive Operator & Builder

------------------------------------------------------------------------
ONElist: where real people with real interests get connected.

Join a new list today!
------------------------------------------------------------------------
welcome to CAD_CAM_EDM_DRO@..., an unmodulated list for the
discussion of shop built systems in the above catagories.


Re: Setting up Linux for EMC

Matt Shaver
 

From: "Tim Goldstein" <timg@...>

The talk on the list about the NIST EMC software has been enough to get
me
motivated to setup RedHat 5.2 Linux on my shop computer. I have played a
little with Linux previously, so the basic setup went OK and the system
is
running X-windows just fine and is communicating to my Windows NT
computers
over the network just fine. I have loaded the RTLinux file from the NIST
site into my /usr/src directory and have run the tar command to unpack it
and all is fine.

The patch utility seems to run OK except that it seems there are a lot of
files it can't find to patch, but when it completes I now see a number of
RTL references in my Linux directory.

My problem starts when I try to run "make mrproper" from the linux
directory. I get a message that says "make:*** No rule to make target
'mrproper'. Stop." I get this same error if I try any of the "make
config"
variations also. Any idea what I am doing wrong and how to get the make
function to run?
I think the problem is that you can't use the kernel source that comes on
the RedHat CD. You must get an updated version for the RTLinux patch to
work. Here are some brief instructions I got from Fred Proctor and which I
have expanded and edited:

EMC Software Installation Instructions

These instructions assume you have Redhat Linux 5.2 already installed and
X Windows correctly configured.

1. Update the Linux kernel headers and sources. These updates are needed
for the RT-Linux patch to work properly. The updates are at:



as Red Hat Package Manager (RPM) files. Download the kernel-headers and
kernel-source packages as well as the update for the X server you are using
and anything else that strikes your fancy into a directory of your choice.
I have always downloaded and updated everything.

As user 'root', cd to the directory containing the update RPM files and do:

rpm -Uvh kernel-headers-2.0.36-3.i386.rpm
rpm -Uvh kernel-source-2.0.36-3.i386.rpm
rpm -Uvh etc... for all the remaining updates you downloaded

When updating the kernel headers you will probably get an error message
saying something like "script failed to complete". I have always ignored
this error and there was no problem. You may get a message about
"dependencies". This means that the RPM you are trying to update depends
upon another update being installed first. The dependencies will be listed
and you must update those RPMs first. Usually, I just do:

rpm -Uvh *.rpm

repeatedly until I get messages indicating that all the RPMs are updated
and nothing more can be done.

2. Install the RT-Linux patch, available at:

ftp://ftp.isd.cme.nist.gov/pub/emc/emcsoft/release9J.tgz

Download this file and place it into /usr/src.

As user 'root', do:

cd /usr/src
tar xzvf rtlinux-0.9J
cd linux
patch -p1 < ../kernel-patch
cd ../rtl
make all

3. Recompile the kernel.

As user 'root' from a terminal window in X, do:

cd /usr/src/linux
make xconfig

You need to be running X Windows for the 'make xconfig' line to work. If
you don't want to run X, you can do 'make config', and configure in text
mode. You would do well to take some time with this process and eliminate
any modules or kernel support for hardware you don't have or features you
won't use or don't need. This will SPEED THE BOOT PROCESS and DRASTICALLY
REDUCE THE TIME NEEDED TO COMPILE THE KERNEL! Failure to heed this advice
probably won't cause any problems, but the command 'make modules' can take
more than an hour to execute if many modules are to be built. Configure
your kernel to your liking, or leave it as-is by clicking 'Save and Exit'.
Now continue with the kernel compile:

make dep
make clean
make zlmage
make modules
make modules-install
cp arch/i386/boot/zImage /boot/vmlinuz

If there were errors that prevent the kernel from being compiled, the file
'arch/i386/boot/zImage' won't exist and thus can't be copied. If you have
trouble go back to the beginning of this step, reconfigure, and try again.

4. Edit /etc/lilo.conf so that it looks somewhat like this:

boot=/dev/XXX <-- leave xxx as is, e.g., hda1
map=/boot/map
install=/boot/boot.b
prompt timeout=50
image=/boot/vmlinuz <-- change this to /boot/vmlinuz
label=rtlinux
root=/dev/XXX <-- leave XXX as is, e.g., hda1
read-only
append='mem=XXm"<-- XX = the number of MB of RAM you have - 1

31 for a 32MB system, 63 for a 64MB system, etc.

5. Run LILO to set up your machine to boot the new kernel.

As user 'root' do:

/sbin/lilo

and then reboot.

6. Now you need to get the EMC software from:

ftp://ftp.isd.cme.nist.gov/pub/emc/emcsoft/linux_2_0_36/

and put it into /usr/local/nist. This is available as one big file named
emc-DD-MMM-YYYY.tgz, where DD = the day, MMM = the month, and YYYY = the
year that the file was created, or 4 smaller files that will each fit on a
floppy. To use the small files you can copy them onto the disk from
floppies and then use 'cat' to combine them back into one file.

7. Unpack the files and install the software.

As user 'root', do:

cd /usr/local/nist
tar xzvf emc-DD-MMM-YYYY
./install

This will build all the programs and put all the files where they belong.

8. Configure the script that runs the EMC and the .ini file that controls
its operation.

This is a big subject in itself, however you can try out the software by
getting these two files:




and putting them in /usr/local/nist/emc. These files assume you have
followed the above instructions about where to put the software. They are
also specific for machines with 64MB of RAM. If you have a different amount
of RAM you must edit these files to replace all instances of the string
0x3F00000 with a value such as:

0x1F00000 for 16MB systems
0x2F00000 for 32MB systems
0x7F00000 for 128MB systems
etc..

These files also depend upon there being a parallel port at address 378h.
This corresponds to LPT1 in DOS and if you only have one port it will most
likely be this. If not you must edit these files to replace all instances
of the string 0x378 with 0x278 or 0x3BC, whichever is appropriate. Be sure
to disconnect anything plugged into the port you use since this version of
the EMC toggles bits to run stepper motors and could cause "interesting"
things to happen to printers. The advantage of trying out the EMC using
these files is that there is no other hardware required. To start the EMC:

As user 'root' from a terminal window in X, do:

cd /usr/local/nist/emc
./run.64step378

Of course if you edited the files you may also have changed their names so
use the appropriate command. Note that the 'run.' script refers to the
'.ini' file explicitly by name, so if you change the name of the '.ini'
file you will need to edit the 'run.' script to match.

As always, if any of your impossible mission team is caught or killed...
oh, wait a minute, that's from some different instructions. Anyway, if you
have questions (you will), just call or write and I'll do my best to help
you get going.

Good Luck (you'll need it),

Matt Shaver
(410) 521-3715
mshaver@...


My new mill

Andrew Werby
 

[I just got my new (old) mill delivered yesterday, and it's really a beast!
This is a Ramco "Ramill", built to be a CNC mill in the mid-eighties. It
has servo motors and ballscrews, which should save me some time and money
over retrofitting an old Bridgeport, which was my first idea. Currently, it
will accept instructions in g-code, either from the attached keyboard or
from a tape drive. But I'd like to convert it to a more modern control
system which wouldn't be limited to 999 instructions- some of the progams
I've been generating run over 2 megs, (and I'm just getting started.) I
think I can save the servo amplifiers and most of the relay switches, while
gutting out the old computer and attaching a standard monitor. I'd be happy
with something that ran in real time under DOS, if it could handle g-code.
So what's my best bet, in the expert opinion of this group, for cheapness,
reliability, support, and ease of installation and use? Is it Aha, or
Flashcut, or something else? How do I get the feedback loops calibrated
correctly? What do I need to be very very careful with? I haven't ever
done this before, so I'm somewhat hesitant to get in there and start
ripping stuff out, but I'd really like to get this converted in the most
expeditious manner possible, without breaking the bank. Any input would be
most appreciated...]

Andrew Werby

Andrew Werby - United Artworks
Sculpture, Jewelry, and Other Art Stuff


Setting up Linux for EMC

 

The talk on the list about the NIST EMC software has been enough to get me
motivated to setup RedHat 5.2 Linux on my shop computer. I have played a
little with Linux previously, so the basic setup went OK and the system is
running X-windows just fine and is communicating to my Windows NT computers
over the network just fine. I have loaded the RTLinux file from the NIST
site into my /usr/src directory and have run the tar command to unpack it
and all is fine.

The patch utility seems to run OK except that it seems there are a lot of
files it can't find to patch, but when it completes I now see a number of
RTL references in my Linux directory.

My problem starts when I try to run "make mrproper" from the linux
directory. I get a message that says "make:*** No rule to make target
'mrproper'. Stop." I get this same error if I try any of the "make config"
variations also. Any idea what I am doing wrong and how to get the make
function to run?


Tim
[Denver, CO]