2 Standard Functions
2 - 72
NX-series Safety Control Unit Instructions Reference Manual (Z931)
SEL
This function selects one of two selections.
If you omit an input or output parameter, a building error will occur.
An error will not occur if the output terminal is not used or if it is connected to an input terminal on the
next instruction.
This function specifies one of two selections, In0 and In1.
Use gate G to specify which of In0 and In1 to select.
If G is FALSE, In0 is assigned to Out. If G is TRUE, In1 is assigned to Out.
Use the MUX instruction to select one of two or more selections.
Instruction Name FB/FUN Graphic expression
SEL Bit Selection FUN
Variables
Name I/O Description Valid range Default
G Gate Input FALSE:
Selects In0.
TRUE:
Selects In1.
Depends on data type. FALSE
In0 or In1 Selections Selections ---
Out Selection
result
Output Selection
result
Depends on data type. ---
Boolean Bit strings Integers Durations
BOOL
SAFEBOOL
BYTE
SAFEBYTE
WORD
SAFEWORD
DWORD
SAFEDWORD
INT
SAFEINT
DINT
SAFEDINT
TIME
SAFETIME
GOKOK
In0 or In1OKOKOKOKOKOKOKOKOKOKOKOKOKOK
Out OKOKOKOKOKOKOKOKOKOKOKOKOKOK
Function
Additional Information
SEL
G
IN0
IN1