I have a gcode program. I loaded it into axis. It loads, but the backplot
doesn't look right.
How can I debug it?
Is there a way to get the gcode output from it? Can I run it through the
simulator? Is the simulator easy to set up?
Just to clarify this, it's a gcode program that uses functions, loops and
conditionals. What's the best way to debug this?
-Original Message-
From: Frank Tkalcevic [mailto:fr...@franksworkshop.com.au]
Sent: Friday, 3 July 2009 7:45 PM
To: 'Enhanced Machine Controller (EMC)'
I usually find that adding some debug statements can solve my problem.
(debug, variable1=#1 namedvar=#this_var)
The above will display values of variables.
(print, variable1=#1 namedvar=#this_var)
Will write the output to stdout. (or perhaps stderr -- I forget).
See the manual.
Ken
Frank