Machsupport Forum
Mach Discussion => Mach SDK plugin questions and answers. => Topic started by: TomKerekes 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