paulcox82, I notice that you don't wait for the motor to stop before you are telling it to go again.
if (PT1=1) and (PT2=1) and(PT3=1) and(PT4=0) and(PT5=0) and(PT6=0) Then
low CCWDRV 'stop motor at 111000 position
high CCWDRV 'start motor for last leg of travel
and in the statement,
if (PT1=1) and (PT2=1) and(PT3=1) and(PT4=0) and(PT5=0) and(PT6=0) Then
low CWDRV 'stop motor at 111000 position
high CWDRV 'start motor for last leg of travel
Why is that? In the time it takes to execute the low statement which is probably in the range of a few uS. the output port is being told to go high once again... Your code will probably overshoot the limit..
Dave Purola,
N8NTA
Bookmarks