Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: adamchapman on July 08, 2012, 07:51:42 AM
-
Hi,
I'm trying to write a faster digitizing algorithm for a wizard. I've been reading the "Customising Mach2" pdf documentation and have opened Art Fenerty's wizard in machscreen to interrogate the code.
However, there are two main things that I can't manage to find:
1. Where is the input from the probe considered in the code?
2. Where is the code that writes coordinates to a file?
Any help is greatly appreciated.
Many Thanks
Adam
-
1. Where is the input from the probe considered in the code?
2. Where is the code that writes coordinates to a file?
Any help is greatly appreciated.
Many Thanks
Adam
The wizard creates a g-code file, and everything you're looking for is in the g-code.
M40 - opens the file
G31 - Probes and writes the coordinates to the file
M41 - closes the file