Alex Joni wrote:
> Not quite correct.
> There are various parts that compose what we call EMC.
> We have : 1. interpreter (userlevel), 2. task controller (userlevel), 3. io 
> controller (userlevel, although using HAL), 4. GUI (userlevel), 5. motion 
> controller (realtime).
> 
> #1 and #2 are actually linked together, but that's a sideissue.
> What you want to do is look at emccanon.cc and canon.hh (located in 
> emc2/src/emc/task and emc2/src/emc/nml_intf if my memory serves me right).
> Those are the canonical calls that get called after the interpreter analyzed 
> the g-code.
> It is around there that you want to translate those calls into commands to 
> your USB device.
> So you'll send things like STRAIGHT_TRAVERSE or LINEAR_FEED to the 
> microcontroller.

I didn't think of that approach.  But it basically means discarding 
EMC's motion controller and writing a new one inside the USB device. 
The EMC motion controller (including trajectory planner) is the result 
of years of work, and would not be trivial to replicate.

Regards,

John Kasunich

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to