RE: [CAD_CAM_EDM_DRO] Windows timing subroutines, how do they work?
Posted by
Alan Marconett
on 2005-07-25 13:22:42 UTC
Hi Les,
I just looked, is that the mainfirmware.c file? I didn't see any code in
G101. Yes, looks like some nice information on the transmission blocks
there. I'll give it a long look.
USB is very interesting, I want to be able to use it as well. Currently I'm
inclined to use old RS-232; and just made a PIC board with buffers to drive
4 axis of step/dir. Some of the PICs have USB, but I think it takes up a
lot of the process time. The Rabbit (or Rabbit board) has USB. But since
I'm doing PICs at work...
So short "groups" or time segments are sent to the G2002. I suppose I could
start to think about it that way. I currently just walk up/down in a ramp
table, changing the time interval between steps. Sounds like I should be
calculating the velocity (1/interval) instead; and working with that.
I still have to get my head around generating VELOCITIES and time segments
instead of counting steps at various time intervals.
Thanks,
Alan KM6VV
I just looked, is that the mainfirmware.c file? I didn't see any code in
G101. Yes, looks like some nice information on the transmission blocks
there. I'll give it a long look.
USB is very interesting, I want to be able to use it as well. Currently I'm
inclined to use old RS-232; and just made a PIC board with buffers to drive
4 axis of step/dir. Some of the PICs have USB, but I think it takes up a
lot of the process time. The Rabbit (or Rabbit board) has USB. But since
I'm doing PICs at work...
So short "groups" or time segments are sent to the G2002. I suppose I could
start to think about it that way. I currently just walk up/down in a ramp
table, changing the time interval between steps. Sounds like I should be
calculating the velocity (1/interval) instead; and working with that.
I still have to get my head around generating VELOCITIES and time segments
instead of counting steps at various time intervals.
Thanks,
Alan KM6VV
> -----Original Message-----
> From: CAD_CAM_EDM_DRO@yahoogroups.com
> [mailto:CAD_CAM_EDM_DRO@yahoogroups.com] On Behalf Of Les Newell
> Sent: Monday, July 25, 2005 11:04 AM
> To: CAD_CAM_EDM_DRO@yahoogroups.com
> Subject: Re: [CAD_CAM_EDM_DRO] Windows timing subroutines, how do they
> work?
>
> Hi Alan,
>
> That is right. Each entry in the buffer holds the axis velocities for
> each time segement. I don't know what the time segments are, at a guess
> proably around 500us or so. I haven't actually seen any of the Windows
> code. My information is taken from things that Art has mentioned and
> hacking the G2002 code that he published. Presumably there is another
> communications channel for status and current position data etc.
>
> Art did try to do a direct port of this system to the G2002. In fact the
> code is still available in the files area of the Gecko Yahoo group. I
> think there was some concern about USB timing with this system. I
> believe Art is also working with someone else on a mix of EMC style low
> level routines running on a G101 (renamed G2002) with Mach2/3/whatever
> providing the high level parsing and path planning.
>
> Les
>
>
> Alan Marconett wrote:
>
> >Hi Les,
> >
> >Thanks for the additional information. Sounds like the Mach driver does
> a
> >good job, as long as the competing programs you describe are kept out.
> >
> >I can see how a circular buffer would be used for communication with the
> >driver. I gather that it passes blocks (structures) of velocity (or
> steps?)
> >and step counts for the driver to generate? Are there any return
> messages?
> >
> >Any thought to running this circular queue out a USB, and into a hardware
> >pulse generator device (G2002 comes to mind)?
> >
> >Alan KM6VV
> >
Discussion Thread
ibewgypsie
2005-07-24 06:41:06 UTC
Windows timing subroutines, how do they work?
Jack Hudler
2005-07-24 12:59:51 UTC
RE: [CAD_CAM_EDM_DRO] Windows timing subroutines, how do they work?
Jon Elson
2005-07-24 13:00:59 UTC
Re: [CAD_CAM_EDM_DRO] Windows timing subroutines, how do they work?
KM6VV
2005-07-24 13:14:20 UTC
Re: [CAD_CAM_EDM_DRO] Windows timing subroutines, how do they work?
ibewgypsie
2005-07-24 13:30:22 UTC
Re: Windows timing subroutines, how do they work?
Jim Peck
2005-07-24 14:45:43 UTC
Re: [CAD_CAM_EDM_DRO] Windows timing subroutines, how do they work?
Les Newell
2005-07-24 15:04:21 UTC
Re: [CAD_CAM_EDM_DRO] Windows timing subroutines, how do they work?
KM6VV
2005-07-24 16:46:14 UTC
Re: [CAD_CAM_EDM_DRO] Windows timing subroutines, how do they work?
notoneleft
2005-07-24 17:20:45 UTC
Re: Windows timing subroutines, how do they work?
Jon Elson
2005-07-24 20:00:49 UTC
Re: [CAD_CAM_EDM_DRO] Windows timing subroutines, how do they work?
Jack Hudler
2005-07-24 21:17:33 UTC
RE: [CAD_CAM_EDM_DRO] Windows timing subroutines, how do they work?
ibewgypsie
2005-07-24 22:04:15 UTC
Re: Windows timing subroutines, how do they work?
Mariss Freimanis
2005-07-24 23:41:25 UTC
Re: Windows timing subroutines, how do they work?
Jack Hudler
2005-07-25 00:45:30 UTC
RE: [CAD_CAM_EDM_DRO] Re: Windows timing subroutines, how do they work?
caedave
2005-07-25 02:23:24 UTC
Re: [CAD_CAM_EDM_DRO] Re: Windows timing subroutines, how do they work?
Les Newell
2005-07-25 02:23:26 UTC
Re: [CAD_CAM_EDM_DRO] Windows timing subroutines, how do they work?
Les Newell
2005-07-25 02:34:10 UTC
Re: [CAD_CAM_EDM_DRO] Windows timing subroutines, how do they work?
Fred Smith
2005-07-25 07:47:13 UTC
Re: Windows timing subroutines, how do they work?
Alan Marconett
2005-07-25 08:44:15 UTC
RE: [CAD_CAM_EDM_DRO] Windows timing subroutines, how do they work?
Jon Elson
2005-07-25 09:30:49 UTC
Re: [CAD_CAM_EDM_DRO] Windows timing subroutines, how do they work?
ibewgypsie
2005-07-25 10:01:52 UTC
Re: Windows timing subroutines, how do they work?
Les Newell
2005-07-25 11:02:16 UTC
Re: [CAD_CAM_EDM_DRO] Windows timing subroutines, how do they work?
Alan Marconett
2005-07-25 13:22:42 UTC
RE: [CAD_CAM_EDM_DRO] Windows timing subroutines, how do they work?
Les Newell
2005-07-25 14:58:54 UTC
Re: [CAD_CAM_EDM_DRO] Windows timing subroutines, how do they work?
caudlet
2005-07-25 19:46:24 UTC
Re: Windows timing subroutines, how do they work?
ibewgypsie
2005-07-25 21:19:36 UTC
Re: Windows timing subroutines, how do they work?
Jymmm
2005-07-25 22:29:38 UTC
Re: Windows timing subroutines, how do they work?
yahoo@h...
2005-07-26 02:10:13 UTC
RE: [CAD_CAM_EDM_DRO] Re: Windows timing subroutines, how do they work?
Mariss Freimanis
2005-07-26 08:15:13 UTC
Re: Windows timing subroutines, how do they work?
Mariss Freimanis
2005-07-26 08:19:33 UTC
Re: Windows timing subroutines, how do they work?
ibewgypsie
2005-07-26 10:36:48 UTC
Re: Windows timing subroutines, how do they work? JitteryMonkey pic
ibewgypsie
2005-07-26 10:48:27 UTC
Re: Windows timing subroutines, how do they work? JitteryMonkey pic
ibewgypsie
2005-07-26 11:08:39 UTC
Re: Windows timing subroutines, how do they work?
Andrey Lipavsky
2005-07-27 06:05:52 UTC
Converting a rotary table
victorlorenzo
2005-07-27 07:02:24 UTC
Re: Converting a rotary table
David Micklethwaite
2005-07-27 16:36:34 UTC
Re: [CAD_CAM_EDM_DRO] Converting a rotary table
cutsgems
2005-07-27 18:38:06 UTC
Re: Converting a rotary table
Andrey Lipavsky
2005-07-27 20:24:07 UTC
RE: [CAD_CAM_EDM_DRO] Re: Converting a rotary table
cutsgems
2005-07-28 08:54:39 UTC
Re: Converting a rotary table
Les Newell
2005-07-28 09:23:43 UTC
Re: [CAD_CAM_EDM_DRO] Re: Converting a rotary table
Andrey Lipavsky
2005-07-31 16:43:28 UTC
RE: [CAD_CAM_EDM_DRO] Re: Converting a rotary table