CAD CAM EDM DRO - Yahoo Group Archive

Re: [CAD_CAM_EDM_DRO] USC of Jon Elson

Posted by alex
on 2004-03-14 13:23:17 UTC
Jon:

Jon Elson wrote:

>alex wrote:
>
>
>
>>Understood.
>>Bur should I in this case count pulses to know when to stop?
>>
>>
>>
>>
>Well, the CPU can't see the individual pulses, and has no idea when they
>are coming out. What it DOES have is a continuous reading of the
>current position. But, you can't just turn it loose until the position
>count is what you want, and then abruptly stop. The stepper motor
>will skip steps, and end up moving a little further than you want.
>You have to ramp the speed up to some reasonable rate, cruise
>at that rate until you get within some range of the stopping point, and
>then ramp the speed down, until you arrive at the stopping point and
>with a velocity of zero. You can't do this with a simple loop in
>software, it takes several loops, and probably a state machine type
>of architecture. Having a real time clock to schedule the loops
>gives more predictable control.
>
Can't I get away with one loop in a case of low speed and low
intrtial load? This would be nice at least for
hardware testing. Then I could build on it...

>
>This all assumes you are talking about using my board. If not, you
>really have to do all the same stuff, but you have to generate the train
>of step pulses, too.
>
This is good - no pilse train!

> You really need a real time system, or to be totally
>sure that there are no OS routines that will steal time from your loops
>to make your step pulses have timing jitter.
>
Dos is cheap enough for me!
Alex

>
>Jon
>
>
>
>Addresses:
>FAQ: http://www.ktmarketing.com/faq.html
>FILES: http://groups.yahoo.com/group/CAD_CAM_EDM_DRO/files/
>Post Messages: CAD_CAM_EDM_DRO@yahoogroups.com
>
>Subscribe: CAD_CAM_EDM_DRO-subscribe@yahoogroups.com
>Unsubscribe: CAD_CAM_EDM_DRO-unsubscribe@yahoogroups.com
>List owner: CAD_CAM_EDM_DRO-owner@yahoogroups.com, wanliker@..., timg@...
>Moderator: pentam@... indigo_red@... davemucha@... [Moderators]
>URL to this group: http://groups.yahoo.com/group/CAD_CAM_EDM_DRO
>
>OFF Topic POSTS: General Machining
>If you wish to post on unlimited OT subjects goto: aol://5863:126/rec.crafts.metalworking or go thru Google.com to reach it if you have trouble.
>http://www.metalworking.com/news_servers.html
>
>http://groups.yahoo.com/group/jobshophomeshop I consider this to be a sister site to the CCED group, as many of the same members are there, for OT subjects, that are not allowed on the CCED list.
>
>NOTICE: ALL POSTINGS TO THIS GROUP BECOME PUBLIC DOMAIN BY POSTING THEM. DON'T POST IF YOU CAN NOT ACCEPT THIS.....NO EXCEPTIONS........
>bill
>List Mom
>List Owner
>
>
>Yahoo! Groups Links
>
>
>
>
>
>
>
>


[Non-text portions of this message have been removed]

Discussion Thread

Jon Elson 2004-03-13 13:58:07 UTC Re: [CAD_CAM_EDM_DRO] USC of Jon Elson alex 2004-03-14 13:23:17 UTC Re: [CAD_CAM_EDM_DRO] USC of Jon Elson alex 2004-03-14 13:32:11 UTC Re: [CAD_CAM_EDM_DRO] USC of Jon Elson Jon Elson 2004-03-14 16:00:43 UTC Re: [CAD_CAM_EDM_DRO] USC of Jon Elson alex 2004-03-15 08:10:14 UTC Re: [CAD_CAM_EDM_DRO] USC of Jon Elson