On Mon, Apr 14, 2008 at 05:44:53PM -0700, [EMAIL PROTECTED] wrote:
> 
> Sounds like you are facing many of the issues we encounter with
> larger retrofits.  Certainly your choice of M words to associate with
> various gears is one such set but I caution that these things are not
> standardized in any meaningful way among control vendors.

I keep seeing this come up - seems like we should do something.

Making some M codes that manipulate some HAL bits is not too hard.  As
Ray says, picking the M codes and figuring out how they should work is
the hard part.

For instance should they be a group so only one can be on at a time?
What turns them off?  Does M2/M30/% reset them?  My machine has 2
gears, Sam's has 16; maybe the next guy's has 64?  What happens if
you command a gear change while the spindle is running full speed?  In
what order are the M codes run if one of our new ones shares a line
with other M codes?  I bet there are other questions I haven't
thought of right away.

It would be great if you guys who have experience on a variety of
machines could come up with a design that has the possibility of being
flexible enough to run most gearboxes.  The wiki would be a great
place for this collaboration.

I see M codes 10-29, 31-47, 70-99 are currently unused.  There are
some others but those are the big blocks.

Chris


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to