is shield of encoder cable connected at drive connector?
is it red cap motor?
what drives are your triac using?