¿ªÔÆÌåÓý

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

PID tuning

Ray Henry
 

Posted to both CAD_CAM... and EMC Lists

I'm working up a page for the emc handbook <www.linuxcnc.org> on PID axis
tune and would like stuff from as many as have worked with tuning. (emc or
other)

Links you like and/or use?

Books and papers?

Auto Tune software you've used?

Descriptions of how you go about tuning a machine up?

Specific EMC settings for machines.
Download version
machine(s)
- size, axis weights, ratios, motor size and such.
Describe the emc setup - file selections.
Axis settings that you are reasonably happy with.
Tuning process description.

You could attach your complete running version of the ??.ini and I'll
include a set of ftp's.

Don't worry about writing skill 'cause I'll standardize the descriptions
some and spit-shine it after a while.

To reduce clutter, it may be best to send stuff to me off list.

Ray - rehenry@...
Michigan's U.P.


Re: It finally came!

m.d.c
 

Tim Goldstein wrote:

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

I have no experience with the unit, but I had sent them 3 or 4 e-mails

asking about the specifics of the kit and never received a reply. Do
you
know is the controller a chopper style unit? My guess at the price is
no,
but the unit does seem to be decent item for the cost.

Tim
[Denver, CO]

----- Original Message -----
From: Joe Vicars <jvicars@...>
To: <CAD_CAM_EDM_DRO@...>
Sent: Wednesday, March 01, 2000 11:19 AM
Subject: [CAD_CAM_EDM_DRO] It finally came!

From: Joe Vicars <jvicars@...>

After five weeks of anticipation, I received my 4 axis bipolar
driver kit from Oatley Electronics in Australia. This is my first
board
kit and I need some help. Has anyone built one of these?
The kit is at

I should have asked around before I bought it but I wasn't on
the
list at that time, and it was only $48 Australian dollars which is
about
30 bucks.
Input is greatly appreciated.
-----------------------------------
------------------------------------
@Backup-The Easiest Way to Protect and Access your files.
Automatic backups and off-site storage of your critical data. Install

your FREE trial today and have a chance to WIN a digital camera!
Click here.


-----------------------------------------------------------------------

Welcome to CAD_CAM_EDM_DRO@...,an unmoderated list for the
discussion of shop built systems in the above catagories.
To Unsubscribe, read archives, change to or from digest.
Go to:
Log on, and you will go to Member Center, and you can make changes
there.
For the FAQ, go to
bill,
List Manager
yes; I have made about 4 or five of them, I and they are very good
,and I have the original article of the kit, that appeared on
electronics australia magazine their web address is
www.electronicsaustralia.com.au
regards.
mariano.


Re: Conversational Programming

A&K ERWOOD
 

G'Day from Down under,

This is my first time to put my 2 cents worth in, I have been lurking in the shadows for a while now.

I own and operate a very small one man business, here in Oz. I have two cnc lathes one only 18mths old with a Fanuc control
the other is a VERY OLD Mori-Seiki lathe that I hope to get up and running soon under stepper motor control , and hopefully
EMC. And my other cnc machine is a 41/2 axis machining centre, I say 41/2 because it is a full 4 axis machine and I have made a 5th
axis which just indexes a set amount on receiving a M-code.

I have followed the last couple of days in regard to converstional programming, and thought I might put my two cents worth in.
Why not just write a program to act as an interface between a pc and a normal old G-code type control. I have!!!
It works quite ok. It has been my experience that when programming conversationally there are still times when good old
G-codes are needed to do a 'tricky bit' which the converstional control can't quite do properly. And this happens quite
often in complex milling.

Anyway if anyone is interested, I would be willing to send you a copy of my 'still very buggy' prototype lathe program.
I am not a very good programmer (as a matter of fact this is my first program written in VB6), so if some of you guys want to help
develop this type of programming, I may be interested. At the present I have just about got the lathe program going, except for the
backplotting side of things which definetly needs a bit of work yet. A mill version will follow next (hopefully, if I haven't
pulled all my hair out by then).

Regard
Andrew Erwood
A&K Engineering
a+k@...


------------------------------------------------------------------------

Welcome to CAD_CAM_EDM_DRO@...,an unmoderated list for the discussion of shop built systems, for CAD, CAM, EDM, and DRO.

Addresses:
Post message: CAD_CAM_EDM_DRO@...
Subscribe: CAD_CAM_EDM_DRO-subscribe@...
Unsubscribe: CAD_CAM_EDM_DRO-unsubscribe@...
List owner: CAD_CAM_EDM_DRO-owner@..., wanliker@...
Moderator: jmelson@... [Moderator]
URL to this page:
FAQ:
bill,
List Manager


Re: Parallel port pins

Matt Shaver
 

From: "Darrell" <dgehlsen@...>

I know I had some information on which pins do what for driving a stepper
from the parallel port for one parallel port. I can't find what I had and
now I have two ports for the Bridgeport IO and I have been unable to find
any pin out information. HELP.
From:



Output Parallel Port
------ -------------
X direction D0, pin 2
X clock D1, pin 3
Y direction D2, pin 4
Y clock D3, pin 5
Z direction D4, pin 6
Z clock D5, pin 7

Input Parallel Port
----- -------------
X/Y/Z lim + S3, pin 15
X/Y/Z lim - S4, pin 13
X/Y/Z home S5, pin 12

For bridgeportio the digital in bits are on the Status port. The index #s 0
thru 5 corresponds to bit #s S3 thru S7). The digital out bits are on the
Data port and the Control port. The index #s 0 thru 7 correspond to D0 thru
D7 and index #s 8 thru 11 correspond to C0 thru C3.

Hope this helps!
Matt


Parallel port pins

Darrell
 

I know I had some information on which pins do what for driving a stepper
from the parallel port for one parallel port. I can't find what I had and
now I have two ports for the Bridgeport IO and I have been unable to find
any pin out information. HELP.
Darrell


Re: DRO UPDATE

A. G. Eckstein
 

Ward,

Check out Steve Lindsay's site at :

to pick up DRO40; you might also check the 1999 retired files in the
dropbox as I believe they are there also.

Art


At 02:01 PM 03/04/2000 -0800, you wrote:
From: "Ward M." <ward@...>

Where would I find the dro40 and dro40a programs? I'd like to give them a
try as well.

Ward M.


----- Original Message -----
OLDER THAN DIRT

Country Bubba

(Actually the inventor of Country and Bubba)


Re: DRO UPDATE

 

That is why I gave up on steve's software and wenbt with Tom Kulaga's
design.
Dan

-----Original Message-----
From: Terry May <tmay@...>
To: CAD_CAM_EDM_DRO@... <CAD_CAM_EDM_DRO@...>
Date: Saturday, March 04, 2000 9:06 AM
Subject: [CAD_CAM_EDM_DRO] Re: RE: DRO UPDATE


From: "Terry May" <tmay@...>

Art,
I need some help here, I put together a circuit using a 74hct14
like you did but I can't seem to get it to work with a computer. When
I run Steve Linsay's dro40 program it doesn't react to the movement
of the encoders. I've tried it on three different computers, setting
the parallel ports to both ECP and EPP, there's just no movement of
the readout for any axis. I've tried it in a DOS window under 98 and
booting directly to DOS.
The part that's driving me crazy is that when I hook up the
encoders to a Pwr Sup and a scope I get good square waves out of the
chip on all 6 lines to the parallel port connector. I've checked the
wiring about a gazillion times but can't find any mistakes.
Using the parallel.exe program Steve included with his SW, the
ports look good, but when I use his Portstuf.exe hooking an external
voltage to the port pin 2 and grd pin 22 doesn't have any effect. I
can change the port setting using the keyboard in the program but
that's it.
I don't have any other ways to check the ports that I know of, but
when I hook a Snappy video capture device to the ports they work fine.

Any ideas?
Thanks
Terry

--- In CAD_CAM_EDM_DRO@..., "A. G. Eckstein" <axtein@s...>
wrote:
Terry,
Thanks for the words of encouragement. I need that and hope my
little bit
will help. I appreciate all the words that I have gotten on the
site and as
things progress, will try to update it. My long term goal is to get
to the
magical resolution of 0.0001"
Actually, when I started the goal was to get accuracy to 0.001"
with no
backlash. I have far exceeded that but now it is a challange.

Please let me know if I can help further.

Art

At 11:56 PM 02/28/2000 -0000, you wrote:
From: "Terry May" <tmay@...>

Art,
Just wanted to tell I have been looking at your website, great
pictures!! It really helps to visualize your setup as you have been
discribing it on the list. I hope my DRO turns out to be half as
good
as yours.
Just a quick update from my shop, I didn't have any 7414's or the
decrete transistors that Steve Linsay used on my bench so I just
played around a bit. Hooked up the encoders to my scope and checked
out the waveform and then used a freq counter to do the same. All
the
encoders look like they are working fine so after work tomorrow I
will pickup some chips at Radio Shack and put together a board.
Concerning the discussions about wires/cables for the setup, I
have
lots of good parts left over from a dearly departed HP plotter.
Amoung the goodies are all the wires used to move the pen holder, I
think they will be long enough for the Y and Z axis' of my
mill/drill
if not the x axis.
As I was playing with the encoder still hooked to the motor and
reading it with the freq counter, I realized that just one channel
out of a 1000 line encoder is a very nice division factor for a
tach????. I think I will experiment with that a little also.
Thanks again for sharing your experiences and your website!
Terry May
OLDER THAN DIRT

Country Bubba

(Actually the inventor of Country and Bubba)

------------------------------------------------------------------------
GET A NEXTCARD VISA, in 30 seconds! Get rates as low as 0.0%
Intro or 9.9% Fixed APR and no hidden fees. Apply NOW!

------------------------------------------------------------------------

Welcome to CAD_CAM_EDM_DRO@...,an unmoderated list for the
discussion of shop built systems in the above catagories.
To Unsubscribe, read archives, change to or from digest.
Go to:
Log on, and you will go to Member Center, and you can make changes there.
For the FAQ, go to
bill,
List Manager


Re: Stepper resonance - not a problem

 

If thats the case, it probly wouldn't work in full step mode either.
You might be right .. theory and the real world are rarely in sync.

I had thought about doing this, my controller has the capability to adjust
the current sense reference voltage from 50 - 100%, with a resistor change
it could do 60/100. But are the motors ratings limited by the temprature
rise - or core saturation?
Good question, although neither may be important. Torque is roughly
proportional to core characteristics, so increasing the current to maintain
a constant torque implies that if the core hasn't saturated with both
windings engaged ( at some particular torque level ), it shouldn't
saturate at the same torque level with only one winding engaged.

Just to be on the safe side, since my motors are quire big enough for my
machine, I mentally derated them just a bit. Instead of running them
at 5 amps per winding in full step mode, I run them in half-step at 4 amps
with both windings on, 5.6 amps with one winding on.

Again, though, this should not be necessary for either temperature reasons
( assuming a reduced current "stop" feature ) or for core saturation reasons.

My controller does a power saver function where the current is reduced
automaticaly if it has nor recieved a step pulse in 1 second - it resumes
full power imediatly when a step pulse arrives.
As does mine, for the reason stated just above.

This is the second time If seen 1/4 stepping mentioned - could you explain
how this works? Do you have to be able to set different current levels
simultaniously when two coils are energized?
Exactly, in the proportion mentioned - sin(a) cos(b). The relationship
is actually the same for all modes, full, half, quarter, eighth, etc.
Increasing the number of intermediate steps does mean increasing the number
of discrete current levels. This usually ( but not necessarily ) means
a microprocessor to assist things. It IS possible with discrete logic,
but ... <G>

Alan

--

Alan Rothenbush | The Spartans do not ask the number of the
Academic Computing Services | enemy, only where they are.
Simon Fraser University |
Burnaby, B.C., Canada | Agix of Sparta


Re: Feb 25

Matt Shaver
 

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

EMC now is handling steppers as if they were servos from what I understand
(this may only be with the freqmot setup & the DRO setup?) and using
freqmot
I can confirm that P,I, and D definitely have an effect on steppers.
P, I, and D have an effect when you use freqmod or smdromod, but not when
using steppermod (which will eventually be phased out [no pun intended ;) ]
unless someone really needs it).

Matt


Re: EMC minimill option/Parallel port issues

Ian Wright
 

Hi Paul,

Have a look at:-


and


These are the circuits I based my test board on.

Ian

--
Ian W. Wright
Sheffield UK

----- Original Message -----
From: Paul Devey <paul_devey@...>
To: <CAD_CAM_EDM_DRO@...>
Sent: 03 March 2000 20:01
Subject: Re: [CAD_CAM_EDM_DRO] EMC minimill option/Parallel port issues


From: "Paul Devey" <paul_devey@...>

Ian,

Do you have a schematic that you can share with us?

Paul

I haven't heard of one of these, but I use a home-built board which is
simply a handful of LEDs hooked up to a ULN2003 driver chip which plugs
into


Re: DRO UPDATE

Ward M.
 

Where would I find the dro40 and dro40a programs? I'd like to give them a
try as well.

Ward M.

----- Original Message -----
From: "Terry May" <tmay@...>
To: <CAD_CAM_EDM_DRO@...>
Sent: Saturday, March 04, 2000 1:49 PM
Subject: Re: [CAD_CAM_EDM_DRO] Re: RE: DRO UPDATE


From: "Terry May" <tmay@...>

Art,
You hit it right on the head! When I ran dro40a instead of dro40 it
works like a champ :>) I guess it's another case of when in doubt
read the instructions.
Thanks again for your help, now I'm going off line to cut some metal
and mount these puppies on my mill!
Terry

--- In CAD_CAM_EDM_DRO@..., "A. G. Eckstein" <axtein@s...>
wrote:
Terry,
You may have the same problem that I have and that is the "switch"
that
needs to be set on the parallel port. Have you tried using the
DRO40A.exe
program instead of the DRO40.exe??

This is documented in his text files and you may have to do that.
That is
the only way I can get mine to run also.

Hope this helps, but let me know if it doesn't.

Art


At 05:07 PM 03/04/2000 -0000, you wrote:
From: "Terry May" <tmay@...>

Art,
I need some help here, I put together a circuit using a 74hct14
like you did but I can't seem to get it to work with a computer.
When
I run Steve Linsay's dro40 program it doesn't react to the movement
of the encoders. I've tried it on three different computers,
setting
the parallel ports to both ECP and EPP, there's just no movement of
the readout for any axis. I've tried it in a DOS window under 98
and
booting directly to DOS.
The part that's driving me crazy is that when I hook up the
encoders to a Pwr Sup and a scope I get good square waves out of
the
chip on all 6 lines to the parallel port connector. I've checked
the
wiring about a gazillion times but can't find any mistakes.
Using the parallel.exe program Steve included with his SW, the
ports look good, but when I use his Portstuf.exe hooking an
external
voltage to the port pin 2 and grd pin 22 doesn't have any effect. I
can change the port setting using the keyboard in the program but
that's it.
I don't have any other ways to check the ports that I know of,
but
when I hook a Snappy video capture device to the ports they work
fine.

Any ideas?
Thanks
Terry

OLDER THAN DIRT

Country Bubba

(Actually the inventor of Country and Bubba)

------------------------------------------------------------------------
PERFORM CPR ON YOUR APR!
Get a NextCard Visa, in 30 seconds! Get rates as low as
0.0% Intro or 9.9% Fixed APR and no hidden fees.
Apply NOW!

------------------------------------------------------------------------

Welcome to CAD_CAM_EDM_DRO@...,an unmoderated list for the
discussion of shop built systems in the above catagories.
To Unsubscribe, read archives, change to or from digest.
Go to:
Log on, and you will go to Member Center, and you can make changes there.
For the FAQ, go to
bill,
List Manager


Re: DRO UPDATE

Terry May
 

Art,
You hit it right on the head! When I ran dro40a instead of dro40 it
works like a champ :>) I guess it's another case of when in doubt
read the instructions.
Thanks again for your help, now I'm going off line to cut some metal
and mount these puppies on my mill!
Terry

--- In CAD_CAM_EDM_DRO@..., "A. G. Eckstein" <axtein@s...>
wrote:
Terry,
You may have the same problem that I have and that is the "switch"
that
needs to be set on the parallel port. Have you tried using the
DRO40A.exe
program instead of the DRO40.exe??

This is documented in his text files and you may have to do that.
That is
the only way I can get mine to run also.

Hope this helps, but let me know if it doesn't.

Art


At 05:07 PM 03/04/2000 -0000, you wrote:
From: "Terry May" <tmay@...>

Art,
I need some help here, I put together a circuit using a 74hct14
like you did but I can't seem to get it to work with a computer.
When
I run Steve Linsay's dro40 program it doesn't react to the movement
of the encoders. I've tried it on three different computers,
setting
the parallel ports to both ECP and EPP, there's just no movement of
the readout for any axis. I've tried it in a DOS window under 98
and
booting directly to DOS.
The part that's driving me crazy is that when I hook up the
encoders to a Pwr Sup and a scope I get good square waves out of
the
chip on all 6 lines to the parallel port connector. I've checked
the
wiring about a gazillion times but can't find any mistakes.
Using the parallel.exe program Steve included with his SW, the
ports look good, but when I use his Portstuf.exe hooking an
external
voltage to the port pin 2 and grd pin 22 doesn't have any effect. I
can change the port setting using the keyboard in the program but
that's it.
I don't have any other ways to check the ports that I know of,
but
when I hook a Snappy video capture device to the ports they work
fine.

Any ideas?
Thanks
Terry

OLDER THAN DIRT

Country Bubba

(Actually the inventor of Country and Bubba)


Re: Feb 25

 

EMC now is handling steppers as if they were servos from what I understand
(this may only be with the freqmot setup & the DRO setup?) and using freqmot
I can confirm that P,I, and D definitely have an effect on steppers. If I
set P too low I get constant follow errors at any speed, If I set D to
anything but 0 I start having a problem with the motors stalling on
acceleration (probably because this setting is trying to make the motor get
up to speed faster than the stepper can accelerate). I have played with
various I settings between 1 and 1000 and it does seem to help me get even
higher feed rates, but I have not really figured a way to see what works
best on this one.

You can easily play with these settings by going to the settings menu and
selecting calibration. The values will be for the axis that is currently
selected and will take effect as soon as the calibration window is closed.
Make sure you remember or write down the setting you settle on as the values
you put in the calibration window are not saved back to your .ini file, you
have to edit them in manually.


Tim
[Denver, CO]

timg@... <mailto:timg@...>

-----Original Message-----
From: "Darrell" <dgehlsen@...>

Does the P gain affect stepper motion?
Darrell


Re: Feb 25

Darrell
 

Does the P gain affect stepper motion?
Darrell

----- Original Message -----
From: Matt Shaver <mshaver@...>
To: <CAD_CAM_EDM_DRO@...>
Sent: Friday, March 03, 2000 10:37 PM
Subject: Re: [CAD_CAM_EDM_DRO] Feb 25


From: "Matt Shaver" <mshaver@...>

From: "Darrell" <dgehlsen@...>
I thought I read that you can set the acceleration separately for each
axis
but I only find one setting.
It's not exactly the same thing, but you can vary the P gain with similar
effect.

Matt


------------------------------------------------------------------------
MAXIMIZE YOUR CARD, MINIMIZE YOUR RATE!
Get a NextCard Visa, in 30 seconds! Get rates as low as
0.0% Intro or 9.9% Fixed APR and no hidden fees.
Apply NOW!

------------------------------------------------------------------------

Welcome to CAD_CAM_EDM_DRO@...,an unmoderated list for the
discussion of shop built systems in the above catagories.
To Unsubscribe, read archives, change to or from digest.
Go to:
Log on, and you will go to Member Center, and you can make changes there.
For the FAQ, go to
bill,
List Manager


Re: DRO UPDATE

A. G. Eckstein
 

Terry,
You may have the same problem that I have and that is the "switch" that
needs to be set on the parallel port. Have you tried using the DRO40A.exe
program instead of the DRO40.exe??

This is documented in his text files and you may have to do that. That is
the only way I can get mine to run also.

Hope this helps, but let me know if it doesn't.

Art


At 05:07 PM 03/04/2000 -0000, you wrote:
From: "Terry May" <tmay@...>

Art,
I need some help here, I put together a circuit using a 74hct14
like you did but I can't seem to get it to work with a computer. When
I run Steve Linsay's dro40 program it doesn't react to the movement
of the encoders. I've tried it on three different computers, setting
the parallel ports to both ECP and EPP, there's just no movement of
the readout for any axis. I've tried it in a DOS window under 98 and
booting directly to DOS.
The part that's driving me crazy is that when I hook up the
encoders to a Pwr Sup and a scope I get good square waves out of the
chip on all 6 lines to the parallel port connector. I've checked the
wiring about a gazillion times but can't find any mistakes.
Using the parallel.exe program Steve included with his SW, the
ports look good, but when I use his Portstuf.exe hooking an external
voltage to the port pin 2 and grd pin 22 doesn't have any effect. I
can change the port setting using the keyboard in the program but
that's it.
I don't have any other ways to check the ports that I know of, but
when I hook a Snappy video capture device to the ports they work fine.

Any ideas?
Thanks
Terry

OLDER THAN DIRT

Country Bubba

(Actually the inventor of Country and Bubba)


Re: DRO UPDATE

Terry May
 

Art,
I need some help here, I put together a circuit using a 74hct14
like you did but I can't seem to get it to work with a computer. When
I run Steve Linsay's dro40 program it doesn't react to the movement
of the encoders. I've tried it on three different computers, setting
the parallel ports to both ECP and EPP, there's just no movement of
the readout for any axis. I've tried it in a DOS window under 98 and
booting directly to DOS.
The part that's driving me crazy is that when I hook up the
encoders to a Pwr Sup and a scope I get good square waves out of the
chip on all 6 lines to the parallel port connector. I've checked the
wiring about a gazillion times but can't find any mistakes.
Using the parallel.exe program Steve included with his SW, the
ports look good, but when I use his Portstuf.exe hooking an external
voltage to the port pin 2 and grd pin 22 doesn't have any effect. I
can change the port setting using the keyboard in the program but
that's it.
I don't have any other ways to check the ports that I know of, but
when I hook a Snappy video capture device to the ports they work fine.

Any ideas?
Thanks
Terry

--- In CAD_CAM_EDM_DRO@..., "A. G. Eckstein" <axtein@s...>
wrote:
Terry,
Thanks for the words of encouragement. I need that and hope my
little bit
will help. I appreciate all the words that I have gotten on the
site and as
things progress, will try to update it. My long term goal is to get
to the
magical resolution of 0.0001"
Actually, when I started the goal was to get accuracy to 0.001"
with no
backlash. I have far exceeded that but now it is a challange.

Please let me know if I can help further.

Art

At 11:56 PM 02/28/2000 -0000, you wrote:
From: "Terry May" <tmay@...>

Art,
Just wanted to tell I have been looking at your website, great
pictures!! It really helps to visualize your setup as you have been
discribing it on the list. I hope my DRO turns out to be half as
good
as yours.
Just a quick update from my shop, I didn't have any 7414's or the
decrete transistors that Steve Linsay used on my bench so I just
played around a bit. Hooked up the encoders to my scope and checked
out the waveform and then used a freq counter to do the same. All
the
encoders look like they are working fine so after work tomorrow I
will pickup some chips at Radio Shack and put together a board.
Concerning the discussions about wires/cables for the setup, I
have
lots of good parts left over from a dearly departed HP plotter.
Amoung the goodies are all the wires used to move the pen holder, I
think they will be long enough for the Y and Z axis' of my
mill/drill
if not the x axis.
As I was playing with the encoder still hooked to the motor and
reading it with the freq counter, I realized that just one channel
out of a 1000 line encoder is a very nice division factor for a
tach????. I think I will experiment with that a little also.
Thanks again for sharing your experiences and your website!
Terry May
OLDER THAN DIRT

Country Bubba

(Actually the inventor of Country and Bubba)


Re: EMC minimill option/Parallel port issues

Ray Henry
 

Dave, Ian, and other EMC folk

I just posted a TclTk script to the dropbox and to emc@... based on
Fred's code. It watches the parport and reports status of the pins. You
may have to fix it so it finds iosh. (line 3 plat/????/bin/iosh)

We should be able to build a pin exerciser (run at your own risk) as well.

Ray

Message: 2 [CAD_CAM_EDM_DRO] Digest Number 388
Date: Fri, 3 Mar 2000 12:35:14 -0000
From: "Ian Wright" <Ian@...>
Subject: Re: EMC minimill option/Parallel port issues


----- Original Message -----
From: <daveland@...>

Is there a utility people use in linux to scan the port bit input bit
values
and display them or manually set the outputs for debug ( not while emc is
running)?
I need one!!!
I haven't heard of one of these, but I use a home-built board which is
simply a handful of LEDs hooked up to a ULN2003 driver chip which plugs into
the parallel port and gives a clear indication of what is happening there.
For switch inputs, you can simply wire a 4k7 resistor from the pin to a 5v
supply line and then pull it low with a switch to ground. I would think that
this is a better way than relying on a program running in the same computer
as any faults in the computer are likely to get mimiced or ignored as when
EMC is running.


Re: Version 2.2.* EMC

Ian Wright
 

Hi Drew,

----- Original Message -----
From: Drew Rogge <drew@...>

I was able to download and compile the Feb. 29 2.2 release with
no problems.

Is the disk partition you're installing EMC on full? The EMC tarball
has other tarballs in it. Part of the install process is to untar
these before compiling. If the partion is full then some of the
files may be getting truncated. Try this:
Thanks for the idea Drew, but it wasn't this. Doing a df told me that I have
over 1.7Gb unused on the partition.

Ian

--
Ian W. Wright
Sheffield UK


Re: Version 2.2.* EMC

Ian Wright
 

Hi, George,

I did all this and got no error messages at all, however, I still don't seem
to have a steppermod.o file or a freqmod.o file anywhere on the system ( in
fact, the /plat/linux_2_0 and rtlinux_09J/ lib/ directories only have one
file in each which is the extppt.0 file - the 2.2.13 and 2.0.36 directories
have more but there seem to be a lot missing). I think it must be because I
have the 2.2.14 prepatched kernel or something but I can't seem to find
anywhere to change things to reflect this - apart, that is, from the
'install_rtl_base' file in EMC directory. I canged this to point the insmod
commands at the relevant place for the rtl modules (2.2.14-rtl2.1.pre1/misc/
in this case) but it seemed to make no difference except telling me that
when I tried to run that file, it had an unexpected EOF at line 54 - the
last line of the file that just says 'exit 0' .

So, if the download was OK and it has unzipped with no errors, and I can't
see any Makefiles with pointers to the 2.2.13 kernel which need changing,
what am I to do? {;(

Anyway, I'm off on a trip for a few days so, by the time I get back there
will probably have been some others try this and perhaps they will have
better knowledge than me. Thanks anyway,

Ian

--
Ian W. Wright
Sheffield UK

----- Original Message -----
From: George Fouse <gfouse@...>

Hi Ian,
Back on 1 March I downloaded the 29Feb2000 EMC source (2.2.13), and
built it (under RH6.0 and 2.2.13 rtl2.0 patched kernel) without any
significant difficulty. The demo runs fine, although that's as much as
I've had time to do with it. Where do you get the "unexpected end of
file"? Do a "gzip -d" on the .tgz file you downloaded; if you get the
unexpected EOF there, then I think you have a bad download.
If that works ok, then you are pretty close to being guaranteed that you
have a "good" download, and you can go ahead and "tar xvf" the
decompressed tarball. You "SHOULDN'T" get an unexpected EOF in that
step. Any EOF problems from there on out is something else. If the EOF
is occurring during the "./install" script, it would be worthwhile, if
you aren't already doing this, to make a log of all install messages
from STDOUT and STDERR. The easiest way is "./install &>logfile", where
logfile is the name of the log file. At least that way you have the log
to help determine where it bombs. Good luck.


EMC and STG 2-8 board.

Mika Salmi
 

Hello!
First thak you Jon Elson for information about EMC and STG2 board.
Now I?m decided to use EMC to retrofit my mill.
Maybe I should give some background what i do and which kind of
machines i have.

I have Gildemeister N.E.F 480 cnc lathe (max diam 480mm or
220x1000mm)it is made 1978 and it have
Fanuc mate-L control. The lathe is wery rigid and it have lot of
power (11kW) but the control is quite expensive to service and
repair.
Also I have 3axis knee type NC-milling machine which have old
Ljumo PNC-63 (position numerical control.Machine castings are made
1991 in russia (german machine copy) electrical installation made in
germany (whit slovenian made control)(it maybe quite difficult to get
spare parts).
Old control do not even have linear interpolation and I am going to
replace it and install EMC on it.

I have also manual gear hobber (table diam. 40 inch) manual mill
(Swedish made KOPINGS made in 1944)manual tool grinder BLOMH (made
1943) and manual lathe WARD.
I?m making mainly tooling for local aircraft industry but i make
small batch real parts for aircrafts and even space satellites.

The mill have servos(analog.+-10v) in all axes and I just bought VDF
for spindle (3kW also +-10v controled).
Mill also have pretty accurate linear measuring scales (which have
RS422 quadrature pulses)
I think if (when) I get milling machine ready I replace that old
fanuc also.

As I make my living whit thease machines I don?t want keep them out
of production so I try get EMC running first before I disconnet old
control.
I order new computer but I?m not sure which Linux version I should use
and I also wonder if there are Cd?s which contain all needed software
?
Can someone tell me do EMC support electronic jog handwheel ?
How many axes (linear/rotary) EMC supports ?
And Jon Elson I would be interested to have E-stop and other boards
that you have made so if you make ready or kit boards?s let me know it

Thanks for your help !

Whit Best regards: Mika Salmi from Finland.