Select_Limit Instructions
372 Rockwell Automation Publication 1756-RM006K-EN-P - November 2018
Execution
Function Block
Condition/State Action Taken
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 Out n-1 is set to 0.
Postscan N/A
Example
The SEL instruction selects In1 or In2 based on SelectorIn. If SelectorIn is set, the
instruction sets Out = In2. If SelectorIn is cleared, the instruction sets Out = In1.
Out becomes an input parameter for function_block_C.
Function Block
See also
Common Attributes on page 537