Hello Guest it is May 23, 2019, 07:36:02 PM

Author Topic: Coding Digitiizing Wizard  (Read 1449 times)

0 Members and 1 Guest are viewing this topic.

Coding Digitiizing Wizard
« 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

Offline ger21

*
  • *
  •  6,233 6,233
    • View Profile
    • The CNC Woodworker
Re: Coding Digitiizing Wizard
« Reply #1 on: July 08, 2012, 08:37:40 AM »

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
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html