Select_Limit Instructions
Rockwell Automation Publication 1756-RM006K-EN-P - November 2018 371
SELECT Structure
Input Parameter Data Type Description
EnableIn BOOL Enable input. If cleared, the
instruction does not execute and
outputs are not updated.
Default is set.
In1 REAL The first analog signal input to the
instruction.
Valid = any float
Default = 0.0
In2 REAL The second analog signal input to
the instruction.
Valid = any float
Default = 0.0
SelectorIn BOOL The input that selects between In1
and In2.
Default is cleared.
Output
Parameter
Data Type Description
EnableOut BOOL Indicates if instruction is enabled.
Cleared on overflow.
Out REAL The calculated output of the
algorithm.
Description
The SEL instruction operates as follows:
Condition Action
SelectorIn is set Out = In2
SelectorIn is cleared Out = In1
Affects Math Status Flags
No
Major/Minor Faults
None specific to this instruction. See Common Attributes for operand-related
faults.