Hello Guest it is April 19, 2024, 12:05:15 PM

Author Topic: Where should Plugin place a G31 probe result  (Read 2205 times)

0 Members and 1 Guest are viewing this topic.

Where should Plugin place a G31 probe result
« on: December 10, 2009, 03:50:17 AM »
My plugin successfully handles a myProbe command by starting the motion, captures the probe point (in hardware), decelerates to a stop, and does a PurgeMovements to flush the remainder of the motion.

That all seems correct, but where do I put the captured result?

My understanding is that it should end up in Vars 2000-2005.  But if I put it there using something like:

  _setup->parameters[2000] = ProbeResult / MainPlanner->StepsPerAxis[0];

Mach later overwrites it with the current position which is where I decellerated to a stop.

Any help appreciated!

TK