Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

see it

dengjun
2007-10-07
2007-10-16
  • dengjun - 2007-10-07

    hello:

       I have a little question.please help.what's the meaning of "SEL"?
    

    thanks very much.

     
  • DaLorD - 2007-10-16

    It is a selection function.

    You change the state of the output with an boolean input.

    The Variables In1 and In2 can be of any kind

    example in ST

    IF YourBooleanVariable THEN

    YourOutPutVariable:=YourInputVariable1;

    ELSE

    YourOutPutVariable:=YourInputVariable2;

    END_IF

    Some call it a "Analog switch"

     

Log in to post a comment.