Hi,
is that i use external potenziometr to control both G0 G1
i think there will be conflict between that 2 commands
I suspect that is the case, the rate overrides are looking to the potentiometer, even if you set them at zero
the potentiometer resets it to some minimum value almost immediately.
You can disable each axis with:
LUA Syntax:
rc = mc.mcAxisEnable(
number mInst,
number axisId,
number enabled);
Description:
Enable or disable the specified axis.
Parameters: Parameter Description
mInst The controller instance.
axisId The axis ID.
enabled Send true to enable or false to disable axis.
However I suspect that this would also prevent you from homing your machine, in fact I thin this would permanently
disable your machine. I'm reluctant to suggest you try it.
If your machine is not homed......then disable all axes
try to home your machine......can't home because axes are disabled
try to enable axes.......works for a little bit but THEN
if your machine is not homed......then disable all axes
IE you have created a loop which disables your axes continuously, not recommended.
Craig