1
G-Code, CAD, and CAM discussions / G-Code debugging printf? how can I see my parameters?
« on: January 29, 2010, 05:10:22 PM »
I want debugging printf() or something like it for G-Code.
I have a G-code program which is not doing what I expect it to. I would like to examine some parameters/variables after the program runs in order to see what's happening.
I don't care how: output to a text file, a MSG to the screen, whatever. I just want to see the value of "#130" after the program stops.
I tried using "MSG," but could not get it to evaluate expression- it just dumps the literal string "#130"
I am using the Tormach flavor of Mach3 (2.42)
Thanks!
I have a G-code program which is not doing what I expect it to. I would like to examine some parameters/variables after the program runs in order to see what's happening.
I don't care how: output to a text file, a MSG to the screen, whatever. I just want to see the value of "#130" after the program stops.
I tried using "MSG," but could not get it to evaluate expression- it just dumps the literal string "#130"
I am using the Tormach flavor of Mach3 (2.42)
Thanks!