Hi,
yes that can be done. This post would best be on the Mach4 General Discussion board of the Mach4 forum to get max exposure to those who can program in Lua.
This is from the Mach4 API:
Code:
LUA Syntax:
rc = mc.mcSoftLimitSetState(
number mInst,
number axis,
number on)
Description:
Set softlimits to be on or off for an axis.
Using this API you can include it in your m6 macro, first to set the SoftLimits to off which would require three calls to the API, one for each axis, and then at the
end of the m6 three calls to the API turning SoftLimits back on, one for each axis.
Craig