Chapter 4
Select_Limit Instructions
372
Execution
Function Block
Condition/State
Prescan
Tag.EnableIn is false
Tag.EnableIn is true
Instruction first run
Instruction first scan
Postscan
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
Rockwell Automation Publication 1756-RM006K-EN-P - November 2018
Action Taken
EnableIn and EnableOut bits are cleared to
false.
EnableIn and EnableOut bits are cleared to
false.
EnableIn and EnableOut bits are set to true.
The instruction executes.
N/A
Out n-1 is set to 0.
N/A
on
page 537