4881
General Mach Discussion / Re: DRO for axis target value?
« on: April 03, 2018, 08:46:37 AM »
Hi,
as I said that is what the Gcode interpreter does. In order to formulate 'Distance To Go' Mach must have a destination in mind. To my knowledge it is not available for inspection.
I changed to Mach4 about 18 months ago and it has an API call:
Craig
as I said that is what the Gcode interpreter does. In order to formulate 'Distance To Go' Mach must have a destination in mind. To my knowledge it is not available for inspection.
I changed to Mach4 about 18 months ago and it has an API call:
Quote
LUA Syntax:Which returns exactly what you wish. Presumably internal to Mach3 there must be an equivalent but if there is I'm not familiar with it.
pos, rc = mc.mcCntlGcodeInterpGetPos(
number mInst,
number axisId)
Description:
Retrieves the current G code interpreter position for the given axis.
Craig