Re: [CAD_CAM_EDM_DRO] Windows Real-time
Posted by
Art Fenerty
on 2000-11-25 05:17:13 UTC
Alan:
The interface is an automation object (COM) written in C++. It's only
purpose is to send data to the VXD which is mostly assember. The VXD accepts
4-byte commands
where the first byte is motor step and direction for each of 4-axis, and the
next two bytes are a number from 0-8191
which is the frequency in hertz to wait till the next pulse.
The VXD has a 64000 integer buffer so even at 8khz you have several
seconds (8) to do work before you need to add to the buffer. The buffer is a
ring buffer that just keeps looping around. There will be a series of
command that can be used such as Spindle( on | off )..Aux1( on | off) and
AddToBuffer( int* ); As well as a callback function for emergency stop. This
should make it rather easy to do real time in windows. It seems to work as
well as any dos version of stepping does.
Art
The interface is an automation object (COM) written in C++. It's only
purpose is to send data to the VXD which is mostly assember. The VXD accepts
4-byte commands
where the first byte is motor step and direction for each of 4-axis, and the
next two bytes are a number from 0-8191
which is the frequency in hertz to wait till the next pulse.
The VXD has a 64000 integer buffer so even at 8khz you have several
seconds (8) to do work before you need to add to the buffer. The buffer is a
ring buffer that just keeps looping around. There will be a series of
command that can be used such as Spindle( on | off )..Aux1( on | off) and
AddToBuffer( int* ); As well as a callback function for emergency stop. This
should make it rather easy to do real time in windows. It seems to work as
well as any dos version of stepping does.
Art
----- Original Message -----
From: "Alan Marconett KM6VV" <KM6VV@...>
To: <CAD_CAM_EDM_DRO@egroups.com>
Sent: Friday, November 24, 2000 6:42 PM
Subject: Re: [CAD_CAM_EDM_DRO] Windows Real-time
> Art,
>
> That's great! Can I assume that the interface could also be used with
> visual C++? Is it a DLL, or a COM module? More info would be welcome
> when you're ready!
>
> Alan KM6VV
>
> Art Fenerty wrote:
> >
> > Alan:
> >
> > After Master Control is released, I will probably release the
interface
> > so visual basic programmers, etc.. can develop more apps that are
windows
> > real-time.
> >
> > Art
> > ----- Original Message -----
> > From: "Alan Marconett KM6VV" <KM6VV@...>
> > To: <CAD_CAM_EDM_DRO@egroups.com>
> > Sent: Friday, November 24, 2000 1:22 PM
> > Subject: Re: [CAD_CAM_EDM_DRO] Windows Real-time
> >
> > > Art,
> > >
> > > Sounds interesting! a systray device? Do you plan to publish it's
> > > interface and/or it's workings? It could open the door for windows
> > > controller programs. I tend to keep down in the driver/BIOS level
code,
> > > and it's been probably 6 years since I wrote any thing for windows.
> > > Guess I'd have to investigate these "systray devices".
> > >
> > > Nice Work!
> > >
> > > Alan
> > >
> > > Art Fenerty wrote:
> > > >
> > > > Sorry, I should have mentioned, The real time engine is a systray
> > device. To
> > > > exit it you must right click on the word
> > > > CNC in your system tray (beside the time). The Engine is meant to be
> > used
> > > > from any program that needs cnc output. It is an automation object
> > callable
> > > > by other programs.
> > > >
> > > > Art
> > > >
> > > > ----- Original Message -----
> > > > From: "Art Fenerty" <fenerty@...>
> > > > To: <CAD_CAM_EDM_DRO@egroups.com>
> > > > Sent: Thursday, November 23, 2000 2:36 PM
> > > > Subject: Re: [CAD_CAM_EDM_DRO] Windows Real-time
> > > >
> > > > > Hi All:
> > > > >
> > > > > I have completed (almost) the real-time pulseing engine for
> > > > MasterControl
> > > > > and would be interested in any comments. I have uploaded it into
the
> > files
> > > > > area. Its only 150k zipped.
> > > > > The engine will pulse steppers at any frequency from
> > > > > 1hz to 8192hz in increments of one hz. It is all in ring 0
> > > > > code and is very fast and smooth. My CNC router actually doubled
in
> > speed
> > > > > from the increased stability
> > > > > at high frequency. It is only a beta run of the engine in the
file,
> > but
> > > > > allows you to pulse up to 4-axis at a time at the
> > > > > above frequencies. You will notice that nothing on the desktop
will
> > > > > interfere with the pulseing (mouse etc..)
> > > > > but netword and/or heavy disk usage will cause some instability.
The
> > idea
> > > > is
> > > > > to have this engine taking care of pulsing while the program has
time
> > to
> > > > do
> > > > > more complex
> > > > > graphics and simulations. Please drop me a note as to
> > > > > what you think. It has only been run on my system so far,
> > > > > so my appologies in advance if it doesn't work at all.
> > > > >
> > > > > Thanks,
> > > > > Art
>
> 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@egroups.com
> Subscribe: CAD_CAM_EDM_DRO-subscribe@egroups.com
> Unsubscribe: CAD_CAM_EDM_DRO-unsubscribe@egroups.com
> List owner: CAD_CAM_EDM_DRO-owner@egroups.com, wanliker@...
> Moderator: jmelson@... [Moderator]
> URL to this page: http://www.egroups.com/group/CAD_CAM_EDM_DRO
> FAQ: http://www.ktmarketing.com/faq.html
> bill,
> List Manager
>
Discussion Thread
Art Fenerty
2000-11-23 10:40:51 UTC
Re: [CAD_CAM_EDM_DRO] Windows Real-time
Art Fenerty
2000-11-23 10:50:07 UTC
Re: [CAD_CAM_EDM_DRO] Windows Real-time
Alan Marconett KM6VV
2000-11-24 13:24:00 UTC
Re: [CAD_CAM_EDM_DRO] Windows Real-time
Art Fenerty
2000-11-24 13:37:41 UTC
Re: [CAD_CAM_EDM_DRO] Windows Real-time
Alan Marconett KM6VV
2000-11-24 18:43:15 UTC
Re: [CAD_CAM_EDM_DRO] Windows Real-time
Art Fenerty
2000-11-25 05:17:13 UTC
Re: [CAD_CAM_EDM_DRO] Windows Real-time
Alan Marconett KM6VV
2000-11-25 10:55:35 UTC
Re: [CAD_CAM_EDM_DRO] Windows Real-time
Art Fenerty
2000-11-25 12:35:13 UTC
Re: [CAD_CAM_EDM_DRO] Windows Real-time
phil@p...
2000-11-25 16:48:35 UTC
Re: Windows Real-time
PhilC
2000-11-26 13:19:39 UTC
Re: [CAD_CAM_EDM_DRO] Windows Real-time
Art Fenerty
2000-11-26 15:14:13 UTC
Re: [CAD_CAM_EDM_DRO] Windows Real-time
Art Fenerty
2000-11-26 15:35:31 UTC
Re: [CAD_CAM_EDM_DRO] Windows Real-time
phil@p...
2000-11-27 04:44:12 UTC
Re: Windows Real-time
Smoke
2000-11-27 09:31:47 UTC
Re: [CAD_CAM_EDM_DRO] Re: Windows Real-time
PhilC
2000-11-27 09:48:47 UTC
Re: [CAD_CAM_EDM_DRO] Re: Windows Real-time
Art Fenerty
2000-11-27 11:40:38 UTC
Re: [CAD_CAM_EDM_DRO] Re: Windows Real-time
Art Fenerty
2000-11-27 11:42:18 UTC
Re: [CAD_CAM_EDM_DRO] Re: Windows Real-time
Art Fenerty
2000-11-27 11:44:59 UTC
Re: [CAD_CAM_EDM_DRO] Re: Windows Real-time
Art Fenerty
2000-11-27 11:46:12 UTC
Re: [CAD_CAM_EDM_DRO] Re: Windows Real-time
Smoke
2000-11-27 12:34:54 UTC
Re: [CAD_CAM_EDM_DRO] Re: Windows Real-time
phil@p...
2000-11-27 13:10:30 UTC
Re: Windows Real-time
Art Fenerty
2000-11-27 13:17:58 UTC
Re: [CAD_CAM_EDM_DRO] Re: Windows Real-time
Ian Wright
2000-11-27 14:34:19 UTC
Re: [CAD_CAM_EDM_DRO] Re: Windows Real-time
Art Fenerty
2000-11-27 14:58:44 UTC
Re: [CAD_CAM_EDM_DRO] Re: Windows Real-time
PhilC
2000-11-27 16:04:44 UTC
Re: [CAD_CAM_EDM_DRO] Re: Windows Real-time
William Scalione
2000-11-27 18:41:43 UTC
Re: [CAD_CAM_EDM_DRO] Re: Windows Real-time
Alvaro Fogassa
2000-11-28 00:07:12 UTC
Re: Windows Real-time
Art Fenerty
2000-11-28 12:08:47 UTC
Re: [CAD_CAM_EDM_DRO] Re: Windows Real-time
Art Fenerty
2000-11-28 12:12:17 UTC
Re: [CAD_CAM_EDM_DRO] Re: Windows Real-time
Art Fenerty
2000-11-28 12:13:25 UTC
Re: [CAD_CAM_EDM_DRO] Re: Windows Real-time
Alan Marconett KM6VV
2000-11-28 13:16:25 UTC
Re: Windows Real-time
Art Fenerty
2000-11-28 13:33:54 UTC
Re: [CAD_CAM_EDM_DRO] Re: Windows Real-time
ballendo@y...
2000-11-28 14:56:55 UTC
Re: Re: Windows Real-time
Art Fenerty
2000-11-28 16:48:47 UTC
Re: [CAD_CAM_EDM_DRO] Re: Re: Windows Real-time
Alan Marconett KM6VV
2000-11-28 18:01:42 UTC
Re: Windows Real-time
Art Fenerty
2000-11-28 18:06:13 UTC
Re: [CAD_CAM_EDM_DRO] Re: Re: Windows Real-time
Art Fenerty
2000-11-28 18:18:16 UTC
Re: [CAD_CAM_EDM_DRO] Re: Windows Real-time
Hugh Prescott
2000-11-29 10:00:56 UTC
Re: [CAD_CAM_EDM_DRO] Re: Windows Real-time
Art Fenerty
2000-11-29 10:22:47 UTC
Re: [CAD_CAM_EDM_DRO] Re: Windows Real-time
Wally K
2000-11-29 10:36:28 UTC
Re: Windows Real-time
Art Fenerty
2000-11-29 11:09:11 UTC
Re: [CAD_CAM_EDM_DRO] Re: Windows Real-time
Alan Marconett KM6VV
2000-11-29 12:16:51 UTC
Re: Windows Real-time
Art Fenerty
2000-11-29 13:41:19 UTC
Re: [CAD_CAM_EDM_DRO] Re: Windows Real-time
William Scalione
2000-11-29 20:02:12 UTC
Re: [CAD_CAM_EDM_DRO] Re: Windows Real-time
Art Fenerty
2000-11-30 06:43:41 UTC
Re: [CAD_CAM_EDM_DRO] Re: Windows Real-time
Jeff Demand
2000-12-03 07:41:33 UTC
RE: Windows Real-time
Art Fenerty
2000-12-03 17:47:44 UTC
Re: [CAD_CAM_EDM_DRO] RE: Windows Real-time