On 10/26/15 8:50 AM, andy pugh wrote: > Some systems have many indexes and a way to distinguish between them. > Sometimes the indices are different distances apart (some linear scales) or > there may be a secodary feedback system (robots with encoder + index and a > potentiometer). > > I don't think that LinuxCNC can work with these systems at the moment as > the home_offset is a static value read from the INI. > > I quick inspection seems to suggest that it would not be a huge change to > make an extra pin. > it requires an extra entry in hal_joint_t and extra code in control.c to > read the value (and in inihome.cc to set the new pin too)
On my machine, each joint has a rotary encoder with one index per revolution, and no way to distinguish between them. My homing configuration uses the joint's home switch to distinguish between the index pulses. I don't understand what problem you're solving, or what your solution entails. Can you give more details? -- Sebastian Kuzminsky ------------------------------------------------------------------------------ _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
