dzrong Posted December 24, 2011 Share Posted December 24, 2011 I can get the "whole count" from "Gate1.Chan[j].ServoCapt/2", but how can i get the subcounts of ACC51E if i use SIN/COS Encoder?Because i want to get the absolute position from Distance-coded. So i have to get current position and write it to "motor[].pos". Merry Christmas Link to comment Share on other sites More sharing options...
curtwilson Posted December 29, 2011 Share Posted December 29, 2011 With the ACC-51E, the subcount data is computed in software in the encoder conversion table. The best place to get this information is in EncTable[n].PrevEnc. The low 10 bits will be "sub-count"; the low 12 bits will be "sub-line" (4096 per line). Link to comment Share on other sites More sharing options...
Recommended Posts