SEL
Inputs
SELECT : BOOL Selection command
IN1 : ANY First input
IN2 : ANY Second input
Outputs
Q : ANY IN1 if SELECT is FALSE; IN2 if SELECT is TRUE
Truth table
SELECT | Q |
---|---|
0 |
IN1 |
1 |
IN2 |
Remarks
In FFLD language, the selector command is the input rung. The output rung keeps the same state as the input rung. In IL"Instruction list" This is a low-level language and resembles assembly language, the first parameter (selector) must be loaded in the current result before calling the function. Other inputs are operands of the function, separated by comas.
ST Language
Q := SEL (SELECT, IN1, IN2);
FBD Language
FFLD Language
(* the input rung is the selector *)
(* ENO has the same value as SELECT *)
IL Language
See also