Re: Linux vs. DOS
Posted by
Matt Shaver
on 1999-06-01 00:38:11 UTC
> From: "Tim Goldstein" <timg@...>switches
> > From: "Matt Shaver" <mshaver@...>
> All I can say is I am glad the kill button wired in with the limit
> is working fine!!This is much less of an issue with steppers than with servos. Usually, when
something goes wrong with steppers they don't move. When something goes
wrong in a servo motor system the faulty axis takes off at max velocity
(for your average knee mill this is maybe 200-300 ipm) in one direction.
This isn't too bad on the X or Y axis unless something is in the way, but
on the Z axis where there are only 5 inches of travel stop to stop it's
pretty hairy. I've experienced enough runaways now that my heart doesn't
stop completely anymore, but I usually keep my hand on the estop switch
until I have built up confidence in a system.
> >I guess there are a lot of unansweredjust
> > questions that will come up like:
> >
> > 1. With no feedback (encoders) what do P, I, D, and a bunch of other
> > parameters in the .ini file mean?
>
> Guess with these when you know I will then understand what they are. It
> so happens that I do have encoders on my motors. They are 200 step perto
> revolution units and right now are not used at all. If there is any way
> run the steppers with feedback provided from the encoders it would makefor
> a pretty sweet setup. It would give the low cost setup of steppers andthe
> closed loop positional guarantee of servos.P, I, and D are various gain factors that interact in mysterious ways
inside the control software to affect the way the servos respond to
commands and external forces. Unless I'm wrong they are only relevant if
there is position feedback. I don't see why your encoders couldn't be used
by the EMC software for exactly the purpose you have described. First, you
will need an inexpensive quadrature interface board for your PC. The Tom
Kulaga/Dan Mauch DRO board snaps immediately to mind. I'm getting a couple
of these when Dan gets them done and I'll forward one to Fred for his
perusal.
> > 2. We'll need to change the incremental jog menu items to match yourstep
> > size.Actually, I mean that you can set the jog increment in xemc to .0001 and
>
> Not quite sure what you mean here, but I definitely need to change the
> setting to take my step size in account as it is way off.
that is probably smaller than one of your steps. the minimum here should be
one step, and the larger values should be multiples of the step size, which
I think they already are (.001, .01, .1, continuous).
> > 3. Since in the servo systems we use a parallel port for spindle andbe
> > coolant control along with estop, lube oil level sensing, etc. will we
> > able to add another port to your machine for these functions? What kindof
> > mill is it? What controller, if any, were you using before?choppers
>
> Everything is home shop stuff. the controller is one of Dan's 5 amp
> and the mill is a Shoptask 3 in 1. Out of the list of extra functions theonly
> only thing I may ever have a use for is the coolant control and that is
> if I ever get around to putting a solenoid valve in the air line to mymist
> coolant unit. I would not have a problem putting a 2nd parallel port inif
> it is needed, but with my basic setup I don't see the need.I agree, plus the DanCAM pinout seems to have two digital I/O bits on the
same port with the step and direction signals. Also, I notice the popular
pinouts don't have home switches either, so this whole area needs to be
rethought. See:
http://www.super-tech.com/root/scxyzsup.htm
for a chart of popular pinouts.
> The correct axis's now move and I can make all 3 of them go. Whoopee!!I
> The only problem is one of the axis's moves in the wrong direction. Guess
> need to know how to configure the direction. Another problem is that thecontroller.
> physical movement is much larger than the amount entered in the
> My X and Y settings are 4000 steps per inch and my Z setting is 5600 perSee:
> inch. Another parameter I need to learn to set.
http://www.isd.cme.nist.gov/projects/emc/emcsoft.html
way down the page for a description of how to set up the .ini file
parameters. I think you need to look at the INPUT_SCALE parameter to get
the scaling right, and the OUTPUT_SCALE to get the direction right. For
INPUT_SCALE I think you need it set to 4000 for X and Y, and 5600 for the
Z. To reverse the directions change OUTPUT_SCALE = 1.000 0.001 to
OUTPUT_SCALE = -1.000 0.001 for the backwards axis. I'm not sure of the
implications for you of that 0,001 in the OUTPUT_SCALE parameter, I'll have
to ask Fred.
> The default fast move (G00) speed is WAY too fast for my poor steppers.They
> just make a terrible groan trying to rotate at that speed. Again, anotherReduce the DEFAULT_VELOCITY, DEFAULT_ACCELERATION, MAX_VELOCITY and
> thing I need to learn how to configure.
MAX_ACCELERATION parameters. Velocity is in inches per second and I think
acceleration is in/sec/sec. I would think a velocity of 1 and an
acceleration of .1 would be a starting point for you (this is a guess).
> When the program hit a line with a G42 cutter comp entry I got the errorI think I need to see the code, the error, and what's in your tool table
> message "convert_cutter_compensation_on error 43 blah, blah, blah"(OK, I
> didn't write it down). This is even with a line in the program to specify
> the tool (T1).
for this one.
> I am mighty confused about how to step through a program as the stephow
> function only seems to work once you press run and then pause. Any idea
> I step into a program instead of having to panic and click pause before 4Sorry, that's how it works for now and there are other single stepping bugs
> lines have processed?
you haven't experienced yet. This is an area of continuing development.
Very soon there will be a big change to the motion control code that speeds
up the block processing rate, and this also affects the single stepping
problem.
> Major problem. If I only move the X or Y axis all is fine. If I move theZ
> axis I start to get random very ragged movement in the X axis and anyTry getting the .ini parameters right and see if this goes away. If not,
> movements issued for the X axis are interpreted incorrectly while this
> random movement is occurring. If I make some more movements on the Z axis
> the X axis movement problem will randomly go away and then return.
we'll examine this more carefully.
> I look forward to getting this all worked out and actually making somechips
> with this setup."All in good time..", The Wicked Witch of the West in _The Wizard of Oz_
Matt
Discussion Thread
Andrew Werby
1999-05-29 04:16:11 UTC
Linux vs. DOS
john@x...
1999-05-29 15:07:09 UTC
Re: Linux vs. DOS
Jon Elson
1999-05-29 21:21:47 UTC
Re: Linux vs. DOS
Matt Shaver
1999-05-29 21:29:06 UTC
Re: Linux vs. DOS
Tim Goldstein
1999-05-29 22:27:47 UTC
Re: Linux vs. DOS
Matt Shaver
1999-05-30 00:12:13 UTC
Re: Linux vs. DOS
Tim Goldstein
1999-05-30 15:39:08 UTC
Re: Linux vs. DOS
Tim Goldstein
1999-05-30 20:37:55 UTC
Re: Linux vs. DOS
Matt Shaver
1999-05-30 20:35:33 UTC
Re: Linux vs. DOS
Matt Shaver
1999-05-30 20:48:44 UTC
Re: Linux vs. DOS
Jon Elson
1999-05-30 23:19:07 UTC
Re: Linux vs. DOS
Tim Goldstein
1999-05-31 11:54:03 UTC
Re: Linux vs. DOS
Tim Goldstein
1999-05-31 11:54:07 UTC
Re: Linux vs. DOS
Matt Shaver
1999-05-31 12:12:57 UTC
Re: Linux vs. DOS
Matt Shaver
1999-05-31 12:17:39 UTC
Re: Linux vs. DOS
Tim Goldstein
1999-05-31 13:30:23 UTC
Re: Linux vs. DOS
Matt Shaver
1999-05-31 14:13:26 UTC
Re: Linux vs. DOS
Tim Goldstein
1999-05-31 16:00:38 UTC
Re: Linux vs. DOS
Matt Shaver
1999-05-31 16:00:51 UTC
Re: Linux vs. DOS
Tim Goldstein
1999-05-31 17:32:03 UTC
Re: Linux vs. DOS
Matt Shaver
1999-05-31 17:33:17 UTC
Re: Linux vs. DOS
Matt Shaver
1999-05-31 17:43:39 UTC
Re: Linux vs. DOS
Dan Falck
1999-05-31 19:55:12 UTC
Re: Linux vs. DOS
Matt Shaver
1999-05-31 22:48:46 UTC
Re: Linux vs. DOS
Jon Elson
1999-05-31 22:58:57 UTC
Re: Linux vs. DOS
Tim Goldstein
1999-05-31 23:32:27 UTC
Re: Linux vs. DOS
Tim Goldstein
1999-05-31 23:32:29 UTC
Re: Linux vs. DOS
Matt Shaver
1999-05-31 23:32:50 UTC
Re: Linux vs. DOS
Matt Shaver
1999-06-01 00:38:11 UTC
Re: Linux vs. DOS
Dan Mauch
1999-06-01 06:32:41 UTC
Re: Linux vs. DOS
Tim Goldstein
1999-06-01 09:45:52 UTC
Re: Linux vs. DOS
Jon Elson
1999-06-01 12:16:50 UTC
Re: Linux vs. DOS
Ian W. Wright
1999-06-01 12:37:43 UTC
Re: Linux vs. DOS
Tim Goldstein
1999-06-01 17:03:26 UTC
Re: Linux vs. DOS
Tim Goldstein
1999-06-01 22:05:54 UTC
Re: Linux vs. DOS
Dan Mauch
1999-06-02 06:30:25 UTC
Re: Linux vs. DOS
Dan Mauch
1999-06-02 06:42:14 UTC
Re: Linux vs. DOS
Buchanan, James (Jim)
1999-06-02 13:01:09 UTC
Re: Linux vs. DOS
Jon Elson
1999-06-02 13:33:07 UTC
Re: Linux vs. DOS
Tim Goldstein
1999-06-02 14:26:20 UTC
Re: Linux vs. DOS
Tim Goldstein
1999-06-02 14:45:01 UTC
Re: Linux vs. DOS
Matt Shaver
1999-06-02 15:01:17 UTC
Re: Linux vs. DOS
Tim Goldstein
1999-06-02 23:19:44 UTC
Re: Linux vs. DOS
Matt Shaver
1999-06-03 00:26:35 UTC
Re: Linux vs. DOS
Ian W. Wright
1999-06-04 13:47:19 UTC
Re: Linux vs. DOS
Tim Goldstein
1999-06-05 16:54:15 UTC
Re: Linux vs. DOS
Tim Goldstein
1999-06-05 17:34:22 UTC
Re: Linux vs. DOS
Jon Elson
1999-06-05 23:39:08 UTC
Re: Linux vs. DOS
Jon Elson
1999-06-05 23:41:51 UTC
Re: Linux vs. DOS
Matt Shaver
1999-06-05 23:42:39 UTC
Re: Linux vs. DOS
Tim Goldstein
1999-06-06 00:03:27 UTC
Re: Linux vs. DOS
Tim Goldstein
1999-06-06 00:30:52 UTC
Re: Linux vs. DOS
Matt Shaver
1999-06-06 01:00:46 UTC
Re: Linux vs. DOS
Matt Shaver
1999-06-06 01:37:57 UTC
Re: Linux vs. DOS
Dan Falck
1999-06-06 05:51:38 UTC
Re: Linux vs. DOS
Jon Elson
1999-06-06 17:16:33 UTC
Re: Linux vs. DOS
Tim Goldstein
1999-06-06 21:05:20 UTC
Re: Linux vs. DOS
Matt Shaver
1999-06-06 22:06:24 UTC
Re: Linux vs. DOS
Matt Shaver
1999-06-06 22:30:17 UTC
Re: Linux vs. DOS
Tim Goldstein
1999-06-06 22:57:18 UTC
Re: Linux vs. DOS
Matt Shaver
1999-06-06 23:16:03 UTC
Re: Linux vs. DOS
Jon Elson
1999-06-06 23:29:41 UTC
Re: Linux vs. DOS
Jon Elson
1999-06-06 23:46:32 UTC
Re: Linux vs. DOS
Tim Goldstein
1999-06-07 21:59:53 UTC
Re: Linux vs. DOS
Tim Goldstein
1999-06-08 22:07:54 UTC
Re: Linux vs. DOS
Dan Mauch
1999-06-09 06:18:23 UTC
Re: Linux vs. DOS