Bug introduced with -r 19129; change made to eliminate call to maybeRetry() removed DMOV check. Restored DMOV check.

This commit is contained in:
Ron Sluiter
2015-07-30 16:56:08 +00:00
parent 3090983c31
commit 82eb77fa19
+2 -3
View File
@@ -1122,8 +1122,7 @@ LOGIC:
ENDIF
IF a limit switch is activated, OR, a load-position command is in progress (MIP = MIP_LOAD_P)
Set MIP to DONE and MARK it.
ELSE
Initialize delay ticks.
ELSE IF Done Moving (DMOV) is TRUE
IF process delay acknowledged is true, OR, ticks <= 0.
Clear process delay request and ack. indicators in MIP field.
Mark MIP as changed.
@@ -1313,7 +1312,7 @@ static long process(dbCommon *arg)
pmr->mip = MIP_DONE;
MARK(M_MIP);
}
else
else if (pmr->dmov == TRUE)
{
mmap_bits.All = pmr->mmap; /* Initialize for MARKED. */