Hi Eric,
Sounds like a good idea but the label ... MAN  OFF  AUTO    or   
MANUAL  OFF  AUTO    sounds
better to me. Just my simplistic brain I guess.

Dave

On Feb 20, 2008, at 9:01 AM, Eric H. Johnson wrote:

> Hi all,
>
> One thing I have never liked is having to edit the configuration  
> any time I
> wanted to do an I/O checkout or certain maintenance and testing  
> functions. I
> was thinking of adding an HOA (Hand Off Auto) component which could  
> be used
> for this purpose.
>
> Typically an HOA 3 position switch looks something like this  
> (pardon the
> poor character graphic):
>
>
>        HAND    OFF   AUTO
>                 |
>                 |
>      ________   |   _________
>             o   |   o
>             ____|____
>
>      _______o       o________
>
>
> The closest I have come up with has far as an implementation as a HAL
> component is either of the following configurations:
>
> 1>--------------------
>
> Pins:
> mode bit   // Low = Auto, High = Manual
> in0 bit    // Auto mode input
> in1 bit    // Value for out when mode = manual
> out bit    // Output representing value based on mode
>
> 2>-------------------
>
> Pins:
> in bit     // Auto mode input
> out bit    // Output representing value based on mode
>
> Parameter
> mode s32   // 0 = Auto, 1 = Off, 2 = Hand
>
> An analog equivalent to an HOA switch could be implemented for the  
> first
> option by making in0, in1 and out floats, while in the second  
> option in and
> out would become floats.
>
> Any thoughts on which would be the better implementation, or even a  
> better
> way of achieving the same thing?
>
> Regards,
> Eric
>
>
>
> ---------------------------------------------------------------------- 
> ---
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Emc-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-developers


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to