andy pugh wrote: > Many SSI encoders (and similar devices) have a means to indicate that > the data is invalid. > Should the system pass NaN as the feedback in that case? > > I don't think that should be done at the driver level, but would a > mux2 with a NaN input work? > I think the source would have to be a special NaN providing comp. (It > could have + and - inf pins too, I suppose) > If this is going to become a HAL component, I would suggest adding a HAL pin that gives the error status. This could be rigged into the E-stop logic if important, or just to be a no data available for any component that uses the info from the encoder if not a safety-critical situation.
Jon ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
