cmcdonald Posted October 1, 2013 Share Posted October 1, 2013 I have an application that has a belt with a trigger that I capture the encoder position. This seems to work well until I have to preform a HOMEZ on the belt to ensure i don't rollover on the position counter. The problem is when i use HOMEZ the Encoder home capture position is not updated so i have NO reference from the Encoder Capture position to the actual position anymore. Does anybody have a solution? Thanks Chris Link to comment Share on other sites More sharing options...
cmcdonald Posted October 2, 2013 Author Share Posted October 2, 2013 Actually M101 (ENC1 24-bit counter position) rolls over so when I use the captured position there is no way that I know of to reference the current position. Anybody know of any tricks? Chris M I have an application that has a belt with a trigger that I capture the encoder position. This seems to work well until I have to preform a HOMEZ on the belt to ensure i don't rollover on the position counter. The problem is when i use HOMEZ the Encoder home capture position is not updated so i have NO reference from the Encoder Capture position to the actual position anymore. Does anybody have a solution? Thanks Chris Link to comment Share on other sites More sharing options...
Mr P Mac Posted October 2, 2013 Share Posted October 2, 2013 Hi Chris, does looking at Mxx62 help? (It is *32) It keeps counting but not sure if it rolls over eventually. P Link to comment Share on other sites More sharing options...
cmcdonald Posted October 2, 2013 Author Share Posted October 2, 2013 No, Mxx62 is my actual position. I need to compare the captured position from Mxx03 which rolls over sooner than Mxx62. I may have to come up with another approach to keep Mxx62 and Mxx01, Mxx03 in sync so i can do calculations. Is there a way to 'Zero' Mxx01? Chris Hi Chris, does looking at Mxx62 help? (It is *32) It keeps counting but not sure if it rolls over eventually. P Link to comment Share on other sites More sharing options...
Recommended Posts