I cannot find where I can DE-REF all axis upon RESET.
Is it possible ?
// ================================================================================================
// Automatic Unhome v1.0
// ================================================================================================
if (exec.GetLED(ResetLED))
{
if (NeedCheck)
{
NeedCheck = false;
for (int i = 0; i <= 5; i++)
{
if (exec.GetLED(XhomedLED + i))
exec.Setaxishomestate(i, false);
}
}
}
else
{
NeedCheck = true;
}
// ================================================================================================
#Events
// ================================================================================================
const int ResetLED = 25;
const int XhomedLED = 56;
static bool NeedCheck = true;
// ================================================================================================
Return to General discussion about the UCCNC software
Users browsing this forum: No registered users and 7 guests