2016-07-19 10:32 GMT-03:00 sam sokolik <[email protected]>: > we have used many encoders with index pulses and linuxcnc (mesa > hardware) So far no issues. I have checked a few just to make sure - I > set the index-enable true on the encoder and then turn the encoder. > When it goes false - it has detected the index. > > are these linear scales? usually those only have indexes at each end. >
Hello Sam. The one that I tested wich is installed on a working machine is a normal TTL encoder with index pulse. I had success activating the home with index but have some funny readings trying what you did. For example if I force the pin TRUE from HAL configuration with LinuxCNC running and I let it that way, in a matter of seconds the pin automatically goes to the FALSE state again and then I get a following error on that joint wich I assume is logical because the encoder counts are reseted to 0. If I try to move the axis before that happens to see if the index pulse is triggering I can't tell if it's going to FALSE because of the real index pulse, or because it happened the same as when I waited. I also tried to sense with HALSCOPE the pin hm2_5i25.0.encoder.00.input-index but I had no success. The only thing that's telling me the index pulse is working correctly on the installed encoder is that when I set the axis for homing with index only, I get a movement of about one turn of the screw everytime I push the home button. For the Mazak the encoders we bought are a little different (Heidenhain with two power sources, and they have a multiplicacion factor) but the logic output is TTL as well but differential. Those are the ones I was trying to test the index pulse on at first (Using a Fluke digital scope) , but I guess since all the other signals work good, the index should work good too. By the way on the Mazak we're going to use the home switch plus the index pulse. Sorry for the long explaination! -- *Leonardo Marsaglia*. ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports.http://sdm.link/zohodev2dev _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
