Riley Porter wrote:
> Thanks for the clarity.  So in tutorials that I have watched / read how to.
>   I see AXIS load a DXF file then it passes gcode to emc which spits out step
> dir?
>    
AXIS has the ability to run "filters" while loading files, so if someone 
has a DXF to G-code converter, that can be run as a filter.  AXIS will 
then load the G-code file produced by the filter.
> What "part" is creating the gcode from cad files?  Is this a function of
> AXIS?  Again sorry if this is a lame question.
>    
External programs only.  AXIS is just a GUI that controls and displays 
status of the interpreter and motion controller (and some other parts) 
of EMC2.

You might want to take a look at saicanon - the standalone interpreter.  
G-code is actually a lot more complex than you think.  An ATMEGA or 
XMega can generate steps as necessary (though even that isn't as simple 
as it sounds), but the G-code interpreter has to deal with loops, 
conditionals, variables, machine control (tool changes, coolant ...), 
machine state, etc.  The way EMC2 does all this is to have the high 
level interpreter translate to an intermediate state, called "canon" 
(the canonical machine commands or similar).  Those calls are the motion 
primitives needed after all variable and equation evaluation.  (G-code 
has many floating point math functions, in case you didn't know :) )

You might want to make a motion and IO controller rather than a g-code 
interpreter.  The motion commands should be sent from the task 
controller (which includes the interpreter) to the motion and IO 
controllers via NML.  NML can use a serial transport, but I'm not sure 
if that code has been maintained (or even included with EMC2 - it was 
part of the original rcslib).

- Steve



------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to