CAD CAM EDM DRO - Yahoo Group Archive

Re: Keyboard Typematic rate, Plus some list comments.

on 2002-02-22 14:23:10 UTC
Hi Mike,

Thanks for that observation. Also thanks for the many responses on this
thread. While "Typematic" might at first seem like a programmer's list
topic, it is quite important to our controller program efforts, as it
effects the jog controls that we implement (we gotta learn how a pendent
or jog keys SHOULD work!). With the proper control of the Typematic
rate, better controller program operation results.

The actions of the keyboard, ways to interface panel shaft encoders (as
well as axis encoders), rate pots and the generation of the step pulses
themselves are an important part of the CNC controller. No CNC
controller, no CNC! This list is a tremendous asset to the development
of programs that will aid us all.

I'd also like to comment that the intent of this list is to help each
other in pursuit of "home shop CNC" (and CAD/CAM, EDM, and DRO).
In-depth discussions of 10,000+ CAD/CAM products is not going to be of
use to most of us in our home shops. Products that we CAN afford are.
Helping develop programs for us CNC'ers is also a great assist. Have an
idea on a program needed (how about a Timing belt pulley program or
drill/tap program)? We'd like to hear about it! Or where you've found
one that you like! More stuff on the actual CAD/CAM work to make a part
would be nice! It's a big jump from visualizing a part, and actually
getting a part program to cut it!

Tutorials on the various aspects of our CNC hobby are vital to one's
learning all the many things that are needed to get a home CNC machine
together and working. It's a daunting task otherwise! We've gotten
good info on steppers, drivers, servos, ball screws, encoders and timing
belt drives. More of this stuff! And I want to hear about and discuss
how even a simple unipolar drive is made, how it works, and who's built
even something as "little" as an eggbot (by the way, I just got a little
driver board from StepperControl.com. It's inexpensive, and has just 3
I.C.'s, and is made to drive the little #17 steppers. Anyone
interested?) Not all of us can or want to start off with a full servo
system, or even Gecko/Camtronics machines. Remember, although they have
low performance, a simple unipolar drive can be built for very little;
can drive cheap surplus "printer" steppers, and turn hardware store lead
screws into an entry level router or mill. Thinking back to software,
maybe a tutorial on how the controller program works is in order? Or on
how cutter compensation or "look ahead" contouring algorithms work! OK,
maybe we can/should take the FP (floating point) stuff over to Dave's
TurboCNC list, sometimes I get carried away! And all these ears help!
;>)

As a member of this list, I'm interested in how I might convert my RF-31
mill to CNC, or the Bridgeport class machines that we may acquire
later. I'd like to avoid wasting time on lengthy "politics" on big
companies, or their demise. I'm more interested in HOW you made your
CNC mill or router, and what went into it.

And DO please try to understand where Bill's comments are coming from!
This list is his baby! And he DOES have the "part program" for managing
the contributions from 2000+ members! There is a reason there are 2000+
members! The postings that have gotten us to this point have been on
topic, without flames, and GOOD USEABLE INFORMATION! I hope all this
continues! And please make comments on content to Bill off list, as he
as requested. This will greatly cut down the list traffic.

Hay, it's 2000+ members, I'd say it's time for a little more recognition
of the list's accomplishments, like we did when the list hit 1000
members! Please remember that Bill started this list to learn and share
home shop CNC (+C,E,D). While he has experience in machining, and
several mills and lathes, he's wanting to LEARN CAD/CAM, and get CNC
onto his own home shop machines, and get them up and running. THAT'S
THE GOAL!

Thanks for your help, and your ear. Lets make this the greatest list
ever!

Alan Marconett KM6VV
Hobbit Engineering


Mike Snodgrass wrote:
>
> Have been watching this thread and I don't know much
> about programing, but I just installed EMC along with red hat linux 6.2 and
> noticed in a input device window in the KDE desktop that lets you disable
> typmatic rate, You
> might want to see how they do it.
>
> ----- Original Message -----
> From: "Alan Marconett KM6VV" <KM6VV@...>
> To: <CAD_CAM_EDM_DRO@yahoogroups.com>
> Sent: Friday, February 22, 2002 12:19 PM
> Subject: [CAD_CAM_EDM_DRO] Re: Keyboard Typematic rate
>
> > Hi David,
> >
> > Thanks for the additional information! Yeah, this DOS info is getting
> > old! Geezer as one URL put it! Seems we need it again!
> >
> > Another thing I've been trying to get a better handle on is using the
> > Floating Point math instructions in inline assembly language. Seems
> > Microsoft 'C' doesn't fully support the same FP instructions as Borland
> > does. I've recently revised my timing code to use some FP calcs
> > (suggested by Dave's TurboCNC), and I have a few more areas that can
> > gain from converting from 'C' code to inline ASM. I have only minimal
> > documentation on the FP instructions, mainly in an old '386 ASM book.
> > Gotta be something better out there!
> >
> > Alan KM6VV
> >
> >
> > "David A. Forsyth" wrote:
> > >
> > > On 21 Feb 02 at 19:56, CAD_CAM_EDM_DRO@yahoogroups.c is alleged to have
> > > scribbled:
> > >
> > > > Message: 20
> > > > Date: Thu, 21 Feb 2002 10:55:47 -0800
> > > > From: Alan Marconett KM6VV <KM6VV@...>
> > > > Subject: Re: Keyboard Typematic rate
> > > >
> > > > Hi David,
> > > >
> > > > Nice find! My Phoenix book ('91) calls functions 6h - 0Fh "reserved".
> > > > Nice to know! There you go Jerry!
> > >
> > > Hiya Alan
> > >
> > > It's a long time since I did some low level DOS stuff (-:
> > >
> > > Just struck me to check my interrupt list for this and I find:
> > > 16 00 -- KEYBOARD - GET KEYSTROKE
> > > 16 01 -- KEYBOARD - CHECK FOR KEYSTROKE
> > > 16 02 -- KEYBOARD - GET SHIFT FLAGS
> > > 16 03 -- KEYBOARD - SET TYPEMATIC RATE AND DELAY
> > > 16 04 -- KEYBOARD - SET KEYCLICK (PCjr only)
> > > 16 05 -- KEYBOARD - STORE KEYSTROKE IN KEYBOARD BUFFER (AT/PS w enh
> keybd
> > > 16 05 -- KEYBOARD - SELECT KEYBOARD LAYOUT (PCjr only)
> > > 16 09 -- KEYBOARD - GET KEYBOARD FUNCTIONALITY
> > > 16 0A -- KEYBOARD - GET KEYBOARD ID
> > > 16 10 -- KEYBOARD - GET ENHANCED KEYSTROKE (enhanced kbd support only)
> > > 16 11 -- KEYBOARD - CHECK FOR ENHANCED KEYSTROKE (enh kbd support only)
> > > 16 12 -- KEYBOARD - GET EXTENDED SHIFT STATES (enh kbd support only)
> > >
> > > that 'get keyboard functionality' looks interesting
> > >
> > > Details are:
> > > INT 16 - KEYBOARD - SET TYPEMATIC RATE AND DELAY
> > > AH = 03h
> > > AL = subfunction
> > > 00h set default delay and rate (PCjr and some PS/2)
> > > 01h increase delay before repeat (PCjr)
> > > 02h decrease repeat rate by factor of 2 (PCjr)
> > > 03h increase delay and decrease repeat rate (PCjr)
> > > 04h turn off typematic repeat (PCjr and some PS/2)
> > > 05h set repeat rate and delay (AT,PS)
> > > BH = delay value (00h = 250ms to 03h = 1000ms)
> > > BL = repeat rate (00h=30/sec to 0Ch=10/sec [def] to
> > > 1Fh=2/sec)
> > > 06h get current typematic rate and delay (newer PS/2s)
> > > Return: BL = repeat rate (see above)
> > > BH = delay (see above)
> > > Note: use INT 16/AH=09h to determine whether some of the subfunctions
> are
> > > supported
> > >
> > > Now, my copy of the list is dated 1994. The list is the
> > > 'MSDOS Interrupt List issue 41' which I probably got off the archives at
> > > ftp.oak.oakland or similar. It's been a while.... it even has a DOS
> > > indexing program (-:
> >
> >
> > 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@...
> > Moderator: jmelson@... timg@... [Moderator]
> > URL to this page: http://groups.yahoo.com/group/CAD_CAM_EDM_DRO
> > bill,
> > List Manager
> >
> >
> >
> > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
> >
> >
> >
>
> 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@...
> Moderator: jmelson@... timg@... [Moderator]
> URL to this page: http://groups.yahoo.com/group/CAD_CAM_EDM_DRO
> bill,
> List Manager
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/

Discussion Thread

Alan Marconett KM6VV 2002-02-22 14:23:10 UTC Re: Keyboard Typematic rate, Plus some list comments.