SEL
Function - Select one of the inputs - 2 inputs.
Inputs
|
Input |
Data type |
Description |
|
G |
BOOL |
Selection command. |
|
IN0 |
ANY |
First input. |
|
IN1 |
ANY |
Second input. |
Outputs
|
Output |
Data type |
Description |
|
Q |
ANY |
IN0 if G is FALSE; IN1 if G is TRUE |
Truth table
|
G |
Q |
|
0 |
IN0 |
|
1 |
IN1 |
Remarks
In LD language, the selector command is the input rung. The output rung keeps the same state as the input rung.
ST Language
Q := SEL (G, IN0, IN1);
FBD Language

LD Language
The input rung is the selector.
ENO has the same value as G.

Created with the Personal Edition of HelpNDoc: Free HTML Help documentation generator

