CAD CAM EDM DRO - Yahoo Group Archive

Re: Keyboard Typematic rate

on 2002-02-21 16:11:40 UTC
Hi Jerry,

"define a set of integers (0..255)" sounds like C's enumeration. I
don't recognize "if Gcode in Group1 then...", I simply have a set of
variables for the groups. The enumeration would prevent constants
(#define G01) from being assigned to a group's enumerated variable
(compile time), but to my knowledge, does not stop me from assigning a
variable to the group's variable. Nice thing to have. I suppose one
could write a "group assignment function" that would complain if the
parm passed was not one of the "valid" members by using a case
statement, but it wouldn't be automatic.

By the way, I believe that G80, G81, G82, etc. are ALSO in group1, along
with G0, G1, G2, etc.


Carol & Jerry Jankura wrote:
>
> Hi, Alan:
>
> |I think I posted some Gcode "grouping" info in response to someone's
> |questions a little while ago on this list, or CCED. Might help,
> |although if you're reading NIST, you should have the info. It did take
> |me a few tries to get the groups right, 'tho.
>
> With Pascal, you simply define a set of integers (0..255) and then declare a
> constant for each of the groups. You set this constant to the G-Codes that
> reside in the group. Then it's a simple "if" statement (if GCode in Group1
> then....) to determine the membership. Where I think that I'll have a little
> problem is to implement the rule that says that you can't have an element of
> one group if you have a couple of other G-Codes of another group.
>
> I've also got to think about where I'll stick the extra G7x codes that
> Dave's defined. I'll probably put them in the same group as his G8x codes,
> since they seem to do similar actions.
>
> |And as to old DOS; well, I still use them at work for our embedded
> |product. And the website that was just posted, "Geezer"! Yeah, I guess
> |that says it!
>
> I liked Geezer as well. It describes us retired flatulants quite well! :)
>
> -- Carol & Jerry Jankura
> Strongsville, Ohio
> So many toys, so little time....

Discussion Thread

Alan Marconett KM6VV 2002-02-21 10:53:03 UTC Re: Keyboard Typematic rate Carol & Jerry Jankura 2002-02-21 13:32:08 UTC RE: [CAD_CAM_EDM_DRO] Re: Keyboard Typematic rate Alan Marconett KM6VV 2002-02-21 14:06:17 UTC Re: Keyboard Typematic rate Carol & Jerry Jankura 2002-02-21 14:43:46 UTC RE: [CAD_CAM_EDM_DRO] Re: Keyboard Typematic rate Alan Marconett KM6VV 2002-02-21 16:11:40 UTC Re: Keyboard Typematic rate Carol & Jerry Jankura 2002-02-21 18:16:03 UTC RE: [CAD_CAM_EDM_DRO] Re: Keyboard Typematic rate David A. Forsyth 2002-02-22 06:07:34 UTC Re: Keyboard Typematic rate Alan Marconett KM6VV 2002-02-22 11:22:19 UTC Re: Keyboard Typematic rate Mike Snodgrass 2002-02-22 13:06:32 UTC Re: [CAD_CAM_EDM_DRO] Re: Keyboard Typematic rate