CAD CAM EDM DRO - Yahoo Group Archive

Re: Black box

on 2000-12-10 09:16:02 UTC
Hi,

Being a "dumb" guy, I'll step up to the plate and take a swing at it.

Here's how it would work. Assume you have to move 1000 units, the
maximum speed is 20 units and rate of accel is 2 units.

1) Add Accel to Speed
2) Sub Speed from Distance to go.
3) Add Speed to Distance gone
4) Output Speed
5) Repeat (1) thru (5) until speed = max
6) Store Distance gone
7) Sub Speed from Distance to go
8) Output Speed
9) Repeat (7) and (8) until Distance to go =< stored Distance gone
9) Sub Accel from Speed
10) Sub Speed from Distance to go
11) Output Speed
12) Repeat (10) and (11) until Distance to go is zero
13) Done

The "Output Speed" would be 2 bytes per and would be assembled in a
buffer that would be output to the dumb box. The table below is the
result of the example.

# Output To Go Gone

1) 0 1000 0
2) 2 998 2
3) 4 994 6
4) 6 988 12
5) 8 980 20
6) 10 970 30
7) 12 958 42
8) 14 944 56
9) 16 928 72
10) 18 910 90
11) 20 890 110 (decel when "To Go" is =< this value)
12) 20 870
13) 20 850
.
.
.
49) 20 130
50) 20 110 (begin decel)
51) 18 90
52) 16 72
53) 14 56
54) 12 42
55) 10 30
56) 8 20
57) 6 12
58) 4 6
59) 2 2
60) 0 0


Mariss

--- In CAD_CAM_EDM_DRO@egroups.com, ron ginger <ronginger@r...> wrote:
> First, maybe we ought to use slightly less offensive terms
than 'smart'
> and 'dumb', although I do agree they are a good description. Hope
no one
> gets upset by being know as a smart or dumb advocate :-)
>
> I am on the smart box side. If we can get one good implementation
of the
> 'messy motion stuff' in the box, then it wont have to be re-wriiten
a
> thousand times by everyone else. If Kerr can do it AND the servo
drive
> and sell the whole thing for under $200, then the signal piece alone
> should eaisly be about $100.
>
> Will one of you dumb guys please explain how I would program the
timer
> generator boards? As far as I have been able to understand the
hardware
> can be set to generate a pulse train of some frequency, over a very
> wide range. Ok, but to drive a step motor the number of pulses is
more
> important that the frequency. How do I control these timers to get
pulse
> count?
>
> If I have to send commands to change the rate to handle the rampup,
then
> the PC is still in a time critical loop, and I dont see how this
> hardware has helped much.
>
> Someone plese explain the programming from the start point that I
know I
> want to make a move and I have a count of X and Y values to move.
On the
> smart box all Id do is output a string like "move xxx yyy" and it
would
> happen
>
> ron ginger

Discussion Thread

Alvaro Fogassa 2000-10-13 00:08:30 UTC Black box Tom Caudle 2000-10-13 08:35:43 UTC Re: Black box Art Fenerty 2000-10-13 12:18:38 UTC Re: [CAD_CAM_EDM_DRO] Re: Black box Jon Elson 2000-10-13 16:33:14 UTC Re: [CAD_CAM_EDM_DRO] Re: Black box ballendo@y... 2000-10-13 18:29:16 UTC Re: Re: Black box Matt Shaver 2000-10-13 22:12:38 UTC Re: [CAD_CAM_EDM_DRO] Re: Re: Black box ballendo@y... 2000-10-13 22:44:39 UTC Re: Re: Re: Black box Anne Ogborn 2000-10-14 00:56:57 UTC Re: [CAD_CAM_EDM_DRO] Re: Re: Re: Black box ballendo@y... 2000-10-14 02:47:37 UTC Re: Re: Re: Re: Black box Art Fenerty 2000-10-14 05:03:53 UTC Re: [CAD_CAM_EDM_DRO] Re: Black box Art Fenerty 2000-10-14 05:09:03 UTC Re: [CAD_CAM_EDM_DRO] Re: Re: Black box Art Fenerty 2000-10-14 05:25:51 UTC Re: [CAD_CAM_EDM_DRO] Re: Re: Re: Black box Anne Ogborn 2000-10-14 13:18:30 UTC Re: [CAD_CAM_EDM_DRO] Re: Re: Re: Re: Black box Anne Ogborn 2000-10-14 13:26:40 UTC Re: [CAD_CAM_EDM_DRO] Re: Black box Jon Elson 2000-10-14 23:13:44 UTC Re: [CAD_CAM_EDM_DRO] Re: Black box ron ginger 2000-12-10 08:07:49 UTC Re: Black box Mariss Freimanis 2000-12-10 09:16:02 UTC Re: Black box ron ginger 2000-12-10 14:47:32 UTC Re: Black box ballendo@y... 2000-12-10 15:09:10 UTC re:Re: Black box Mariss Freimanis 2000-12-10 16:01:32 UTC re:Re: Black box Carlos Guillermo 2000-12-10 16:29:07 UTC RE: [CAD_CAM_EDM_DRO] re:Re: Black box Alan Marconett KM6VV 2000-12-10 18:31:07 UTC Re: Black box ballendo@y... 2000-12-10 18:43:14 UTC re:Re: Black box Carlos Guillermo 2000-12-10 18:58:30 UTC RE: [CAD_CAM_EDM_DRO] re:Re: Black box Mariss Freimanis 2000-12-10 21:18:59 UTC re:Re: Black box Jon Elson 2000-12-10 23:24:56 UTC Re: [CAD_CAM_EDM_DRO] Re: Black box Carlos Guillermo 2000-12-11 06:14:21 UTC RE: [CAD_CAM_EDM_DRO] re:Re: Black box