Select_Limit Instructions
364 Rockwell Automation Publication 1756-RM006K-EN-P - November 2018
Output Parameter Data Type Description
EnableOut BOOL Indicates if the instruction is enabled.
Cleared on overflow.
Out REAL The selected output of the algorithm. Math
status flags are set for this output.
Status DINT Status of the function block.
InstructFault (Status.0) BOOL The instruction detected one of the following
execution errors. This is not a minor or major
controller error. Check the remaining status
bits to determine what occurred.
SelectorInv (Status.1) BOOL Invalid Selector value.
Description
Based on the Selector value, the MUX instruction sets Out equal to one of eight
inputs.
Affects Math Status Flags
No
Major/Minor Faults
None specific to this instruction. See Common Attributes for operand-related
faults.
Execution
Function Block
Condition Action
Prescan EnableIn and EnableOut bits are cleared to false.
Tag.EnableIn is false EnableIn and EnableOut bits are cleared to false.
Tag.EnableIn is true EnableIn and EnableOut bits are set to true.
The instruction executes.
Instruction first run N/A
Instruction first scan Set internal value of Out to zero.
Postscan EnableIn and EnableOut bits are cleared to false.